Statistical Mechanics of Thermally Driven Systems.