Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_LinearSystems2_Modelica_LinearSystems2.Controller.Examples.InverseDoublePendulumWithObserver.conf.json Using package Modelica_LinearSystems2 with version 2.4.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica_LinearSystems2 2.4.0/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 4.0.0.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 4.0.0/package.mo) Running command: "" <> buildModelFMU(Modelica_LinearSystems2.Controller.Examples.InverseDoublePendulumWithObserver,fileNamePrefix="Modelica_LinearSystems2_Modelica_LinearSystems2_Controller_Examples_InverseDoublePendulumWithObserver",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 4.0.0/package.mo): time 0.002568/0.002572, allocations: 107.2 kB / 7.385 MB, free: 40 kB / 5.871 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 4.0.0.mo): time 0.001069/0.001069, allocations: 173.5 kB / 7.947 MB, free: 2.371 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/package.mo): time 1.788/1.788, allocations: 225.7 MB / 234.1 MB, free: 260 kB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica_LinearSystems2 2.4.0/package.mo): time 0.3822/0.3822, allocations: 45.99 MB / 330.9 MB, free: 3.234 MB / 266.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 2000 Notification: Performance of FrontEnd - loaded program: time 0.261/0.6433, allocations: 65.09 MB / 396 MB, free: 33.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.7555, allocations: 59.45 MB / 455.4 MB, free: 6.395 MB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica_LinearSystems2 2.4.0/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/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica_LinearSystems2 2.4.0/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 Error: Internal error SimCode: The model Modelica_LinearSystems2.Controller.Examples.InverseDoublePendulumWithObserver could not be translated to FMU