An excavator operator became exhausted by heat when the air conditioning was not working properly in the cab. The operator was told several times during the shift by supervision that EE could park the machine if it became too hot to operate but failed to do so.