Non-Markovian equilibrium dynamics and fluctuation-dissipation theorem