This looks like a bug in OpenModelica as the Carnot chiller and Carnot heat pumps all work in JModelica and in Dymola.