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/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.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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 4.0.0/package.mo): time 0.001834/0.001834, allocations: 89.42 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.001102/0.001102, 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 1.984/1.984, 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.3553/0.3553, allocations: 45.87 MB / 336 MB, free: 14.7 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.0008819/0.0008822, allocations: 11.94 kB / 402.8 MB, free: 27.25 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.119, allocations: 59.47 MB / 462.2 MB, free: 332 kB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5801/0.6992, allocations: 143.2 MB / 0.5912 GB, free: 14.91 MB / 442.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.0004654/0.6997, allocations: 90.06 kB / 0.5913 GB, free: 14.86 MB / 442.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/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/OpenModelica/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/OpenModelica/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/OpenModelica/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/OpenModelica/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/OpenModelica/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.031/0.7307, allocations: 7.536 MB / 0.5987 GB, free: 8.66 MB / 442.7 MB