Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_LinearSystems2_Modelica_LinearSystems2.Controller.Examples.InverseDoublePendulumWithObserver.conf.json Using package Modelica_LinearSystems2 with version 2.4.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_LinearSystems2 2.4.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package DymolaCommands with version 0.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/DymolaCommands master/package.mo) Using package Complex with version 4.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica_LinearSystems2.Controller.Examples.InverseDoublePendulumWithObserver,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_LinearSystems2_Modelica_LinearSystems2.Controller.Examples.InverseDoublePendulumWithObserver") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003944/0.00395, allocations: 354.5 kB / 15.94 MB, free: 6.211 MB / 13.93 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/DymolaCommands master/package.mo:17:42-17:258:writable] Notification: This is an open source dummy package of a commercial library. If you want it to be supported, you will need to add an implemention on our github repository: https://github.com/Modelica-OpenVendorSpecificLibraries. Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/DymolaCommands master/package.mo): time 0.0009486/0.0009481, allocations: 47.97 kB / 16.72 MB, free: 5.438 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 4.336/4.336, allocations: 446.5 MB / 464 MB, free: 15.2 MB / 378.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001979/0.001979, allocations: 192 kB / 0.5032 GB, free: 11.84 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_LinearSystems2 2.4.0-master/package.mo): time 0.836/0.836, allocations: 90.6 MB / 0.6415 GB, free: 113.4 MB / 426.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 2000 Notification: Performance of FrontEnd - loaded program: time 0.0007395/0.0007398, allocations: 16.22 kB / 0.7111 GB, free: 42.04 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4256/0.4264, allocations: 59.46 MB / 0.7692 GB, free: 88.36 MB / 426.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_LinearSystems2 2.4.0-master/Internal/StateSpace2.mo:16:3-148:20:writable] Error: Only classes of type 'operator record' may contain elements of type 'operator function'; 'constructor' was found in a class that has restriction 'record'. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_LinearSystems2 2.4.0-master/Controller/Templates/Internal/ObserverTemplate.mo:55:3-64:71:writable] Error: Class Controller.StateSpace not found in scope Modelica_LinearSystems2.Controller.Templates.Internal.ObserverTemplate. Error: Error occurred while flattening model Modelica_LinearSystems2.Controller.Examples.InverseDoublePendulumWithObserver Notification: Performance of FrontEnd: time 0.2818/0.7082, allocations: 139.9 MB / 0.9057 GB, free: 1.922 MB / 458.7 MB