Extended equipartition in a mechanical system subject to a heat flow: the case of localised dissipation