Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_LinearSystems2_Modelica_LinearSystems2.WorkInProgress.Controller.Examples.TestComponents.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.WorkInProgress.Controller.Examples.TestComponents,fileNamePrefix="Modelica_LinearSystems2_Modelica_LinearSystems2_WorkInProgress_Controller_Examples_TestComponents",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.001843/0.001843, allocations: 95.06 kB / 7.571 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.001064/0.001063, allocations: 174.9 kB / 8.149 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.948/1.948, allocations: 225.3 MB / 233.9 MB, free: 5.246 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.3545/0.3545, allocations: 45.88 MB / 330.6 MB, free: 5.781 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.816e-05/2.815e-05, allocations: 4 kB / 395.8 MB, free: 4.379 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.34, allocations: 59.45 MB / 455.3 MB, free: 15.82 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5674/0.9074, allocations: 142.5 MB / 0.5838 GB, free: 44.21 MB / 426.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.000404/0.9079, allocations: 92.89 kB / 0.5839 GB, free: 44.2 MB / 426.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/TransferFunction.mo:2409:9-2409:28:writable] Error: Type mismatch in assignment in A := fill(0, 0, nx) of Real[nx, nx] := Integer[0, nx] [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica_LinearSystems2 2.4.0/Controller/Internal/DiscreteStateSpace2.mo:14:3-14:48:writable] Warning: Failed to deduce dimensions of B due to unknown dimensions of modifier transferFunction.discretePart.ABCD[1:-1 + size(transferFunction.discretePart.ABCD, 1),(size(transferFunction.discretePart.ABCD, 2):size(transferFunction.discretePart.ABCD, 2))[1]]. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica_LinearSystems2 2.4.0/Controller/Internal/DiscreteStateSpace2.mo:15:3-15:48:writable] Warning: Failed to deduce dimensions of C due to unknown dimensions of modifier transferFunction.discretePart.ABCD[size(transferFunction.discretePart.ABCD, 1):size(transferFunction.discretePart.ABCD, 1),1:-1 + size(transferFunction.discretePart.ABCD, 2)]. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica_LinearSystems2 2.4.0/DiscreteStateSpace.mo:5:3-5:106:writable] Error: Variable dtf not found in scope Modelica_LinearSystems2.DiscreteStateSpace. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica_LinearSystems2 2.4.0/Controller/Internal/DiscreteStateSpace2.mo:58:3-62:14:writable] Error: Internal error 'constructor'.fromDiscreteTransferFunction not found in scope: Modelica_LinearSystems2.DiscreteStateSpace [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica_LinearSystems2 2.4.0/Controller/Internal/DiscreteStateSpace2.mo:58:3-62:14:writable] Error: Looking for a function Modelica_LinearSystems2.DiscreteStateSpace but found a operator record. Error: Error occurred while flattening model Modelica_LinearSystems2.WorkInProgress.Controller.Examples.TestComponents Notification: Performance of FrontEnd: time 0.02551/0.9334, allocations: 7.478 MB / 0.5912 GB, free: 41.22 MB / 426.7 MB