test heatCoff and thermalIteration