A Spanish engineer stayed on the payroll at his water waste job despite not setting foot in the office for six years.