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/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_LinearSystems2 2.4.0/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 4.0.0.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 4.0.0/package.mo): time 0.001959/0.001959, allocations: 89.58 kB / 12.65 MB, free: 2.668 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 4.0.0.mo): time 0.001973/0.001972, allocations: 180.4 kB / 13.34 MB, free: 1.977 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/package.mo): time 2.25/2.25, allocations: 225.3 MB / 239.2 MB, free: 11.06 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_LinearSystems2 2.4.0/package.mo): time 0.3819/0.3819, allocations: 45.87 MB / 336 MB, free: 14.7 MB / 282.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 2000 Notification: Skipped loading package DymolaCommands (1.8,default) using MODELICAPATH /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ (uses-annotation may be wrong). Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 9.344 kB / 402.8 MB, free: 27.25 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1212, allocations: 59.46 MB / 462.2 MB, free: 324 kB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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/OpenModelica/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 Notification: Performance of FrontEnd: time 0.5931/0.7144, allocations: 139.8 MB / 0.5879 GB, free: 2.043 MB / 426.7 MB