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"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 4.0.0/package.mo): time 0.001809/0.001809, allocations: 96.28 kB / 7.568 MB, free: 1.496 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 4.0.0.mo): time 0.001082/0.001082, allocations: 168.6 kB / 8.15 MB, free: 0.918 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.997/1.997, allocations: 225.3 MB / 233.9 MB, free: 5.25 MB / 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.3905/0.3905, allocations: 45.88 MB / 330.6 MB, free: 5.777 MB / 266.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 2000 Notification: Performance of FrontEnd - loaded program: time 2.689e-05/2.696e-05, allocations: 11.92 kB / 395.8 MB, free: 4.367 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3598/0.3598, allocations: 59.44 MB / 455.3 MB, free: 15.79 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 Notification: Performance of FrontEnd: time 0.5884/0.9483, allocations: 139.1 MB / 0.5804 GB, free: 43.05 MB / 426.7 MB