Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_LinearSystems2_Modelica_LinearSystems2.Controller.Examples.FirstExample.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.FirstExample,fileNamePrefix="Modelica_LinearSystems2_Modelica_LinearSystems2_Controller_Examples_FirstExample",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.002649/0.002649, allocations: 107.2 kB / 7.385 MB, free: 44 kB / 5.871 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 4.0.0.mo): time 0.00157/0.00157, allocations: 172.6 kB / 7.945 MB, free: 2.379 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.815/1.815, allocations: 225.7 MB / 234.1 MB, free: 232 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.3603/0.3603, allocations: 45.99 MB / 330.9 MB, free: 3.211 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2781/0.6385, allocations: 65.09 MB / 396 MB, free: 33.28 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.7492, allocations: 59.46 MB / 455.4 MB, free: 6.34 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4372/1.186, allocations: 128.8 MB / 0.5705 GB, free: 6.258 MB / 410.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica_LinearSystems2 2.4.0/package.mo:6:3-7:74:writable] Warning: classDirectory() is a non-standard operator that was replaced by Modelica.Utilities.Files.loadResource(uri) before it was added to the language specification. Notification: Performance of FrontEnd - mkProgramGraph: time 0.0006266/1.187, allocations: 94.05 kB / 0.5706 GB, free: 6.215 MB / 410.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica_LinearSystems2 2.4.0/package.mo:6:3-7:74:writable] Warning: classDirectory() is a non-standard operator that was replaced by Modelica.Utilities.Files.loadResource(uri) before it was added to the language specification. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica_LinearSystems2 2.4.0/Controller/Examples/FirstExample.mo:18:5-22:13:writable] Error: Internal error 'constructor'.fromReal not found in scope: Modelica_LinearSystems2.StateSpace [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica_LinearSystems2 2.4.0/Controller/Examples/FirstExample.mo:18:5-22:13:writable] Error: Internal error 'constructor'.fromABCDMatrices not found in scope: Modelica_LinearSystems2.StateSpace [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica_LinearSystems2 2.4.0/Controller/Examples/FirstExample.mo:18:5-22:13:writable] Error: Looking for a function .Modelica_LinearSystems2.StateSpace but found a operator record. Error: Error occurred while flattening model Modelica_LinearSystems2.Controller.Examples.FirstExample Error: Internal error SimCode: The model Modelica_LinearSystems2.Controller.Examples.FirstExample could not be translated to FMU