Things that does not work

OpenModelica v.1.2.1

 In simulation code:

In translation to flat Modelica: