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/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.FirstExample,fileNamePrefix="Modelica_LinearSystems2_Modelica_LinearSystems2_Controller_Examples_FirstExample",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.001878/0.001878, allocations: 90.83 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.001203/0.001203, 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.062/2.062, allocations: 225.3 MB / 239.2 MB, free: 11.07 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.3871/0.3871, allocations: 45.87 MB / 336 MB, free: 14.71 MB / 282.7 MB 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.001104/0.001104, allocations: 11.08 kB / 402.8 MB, free: 27.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1586, allocations: 59.47 MB / 462.2 MB, free: 344 kB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6443/0.803, allocations: 129.5 MB / 0.5779 GB, free: 12.52 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.0005341/0.8036, allocations: 86.5 kB / 0.578 GB, free: 12.48 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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/OpenModelica/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/OpenModelica/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 Notification: Performance of FrontEnd: time 0.04915/0.8527, allocations: 9.868 MB / 0.5876 GB, free: 4.129 MB / 426.7 MB