The energy from the combustion process in an internal combustion engine not converted into useful work, e.g. energy in the exhaust gas or cooling water.