Minimum free energy in the frequency domain for a heat conductor with memory