Measure-valued solutions to compressible models of fluid mechanics