Investigation on the thermal behaviour of an ultra-high precision system used in dimensional metrology