Advanced elasticity/Balance of energy for thermoelasticity