Fluctuation-dissipation theorem for a class of stationary open systems