Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_LinearSystems2_Modelica_LinearSystems2.Controller.Examples.SimpleControlledDrive.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.SimpleControlledDrive,fileNamePrefix="Modelica_LinearSystems2_Modelica_LinearSystems2_Controller_Examples_SimpleControlledDrive",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.002521/0.002521, allocations: 107.2 kB / 7.384 MB, free: 36 kB / 5.871 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 4.0.0.mo): time 0.001057/0.001057, allocations: 178.7 kB / 7.949 MB, free: 2.359 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.77/1.77, allocations: 225.7 MB / 234.1 MB, free: 196 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.361/0.361, allocations: 45.98 MB / 330.9 MB, free: 3.195 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2775/0.6385, allocations: 65.08 MB / 395.9 MB, free: 33.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.7532, allocations: 59.46 MB / 455.4 MB, free: 6.363 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4932/1.247, allocations: 132.5 MB / 0.5741 GB, free: 2.84 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.000476/1.247, allocations: 96.64 kB / 0.5742 GB, free: 2.797 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/ZerosAndPoles.mo:7:3-8:145:writable] Warning: Failed to deduce dimensions of n1 due to unknown dimensions of modifier filter.system2.n1. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica_LinearSystems2 2.4.0/ZerosAndPoles.mo:9:3-10:145:writable] Warning: Failed to deduce dimensions of n2 due to unknown dimensions of modifier filter.system2.n2. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica_LinearSystems2 2.4.0/ZerosAndPoles.mo:11:3-12:145:writable] Warning: Failed to deduce dimensions of d1 due to unknown dimensions of modifier filter.system2.d1. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica_LinearSystems2 2.4.0/ZerosAndPoles.mo:13:3-14:145:writable] Warning: Failed to deduce dimensions of d2 due to unknown dimensions of modifier filter.system2.d2. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica_LinearSystems2 2.4.0/Controller/ZerosAndPoles.mo:15:3-15:74:writable] Error: Array equation has unknown size in filter.system.n1=filter.system3.n1. Error: Internal error - InstUtil.moveBindings: Mismatched number of equations and variables. Error: Error occurred while flattening model Modelica_LinearSystems2.Controller.Examples.SimpleControlledDrive Error: Internal error SimCode: The model Modelica_LinearSystems2.Controller.Examples.SimpleControlledDrive could not be translated to FMU