Theory of compressible irrotational flows including heat conductivity and longitudinal viscosity