Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_LinearSystems2_dev_Modelica_LinearSystems2.WorkInProgress.Controller.Examples.TestComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/DymolaCommands master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_LinearSystems2 3.0.0-dev/package.mo", uses=false) Using package Modelica_LinearSystems2 with version 3.0.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_LinearSystems2 3.0.0-dev/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package DymolaCommands with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/DymolaCommands master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica_LinearSystems2.WorkInProgress.Controller.Examples.TestComponents,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_LinearSystems2_dev_Modelica_LinearSystems2.WorkInProgress.Controller.Examples.TestComponents") translateModel(Modelica_LinearSystems2.WorkInProgress.Controller.Examples.TestComponents,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_LinearSystems2_dev_Modelica_LinearSystems2.WorkInProgress.Controller.Examples.TestComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001412/0.001413, allocations: 174.5 kB / 7.644 MB, free: 1.41 MB / 5.871 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/DymolaCommands master/package.mo:17:42-17:258:writable] Notification: This is an open source dummy package of a commercial library. If you want it to be supported, you will need to add an implemention on our github repository: https://github.com/Modelica-OpenVendorSpecificLibraries. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DymolaCommands master/package.mo): time 0.0003367/0.000337, allocations: 24.78 kB / 8.096 MB, free: 0.9648 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 221.5 MB / 230.1 MB, free: 3.262 MB / 186.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009415/0.0009415, allocations: 87.3 kB / 280.9 MB, free: 1.238 MB / 218.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_LinearSystems2 3.0.0-dev/package.mo): time 0.4489/0.4489, allocations: 44.42 MB / 376.2 MB, free: 41.52 MB / 298.8 MB Notification: Performance of FrontEnd - loaded program: time 1.259e-05/1.26e-05, allocations: 0 / 442.5 MB, free: 14.4 MB / 330.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1315, allocations: 59.41 MB / 0.4902 GB, free: 2.945 MB / 378.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4687/0.6002, allocations: 142.5 MB / 0.6294 GB, free: 11.84 MB / 458.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.001527/0.6018, allocations: 0.5698 MB / 0.6299 GB, free: 11.28 MB / 458.8 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_LinearSystems2 3.0.0-dev/TransferFunction.mo:2408:9-2408:28:writable] Error: Type mismatch in assignment in A := fill(0, 0, nx) of Real[nx, nx] := Integer[0, nx] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_LinearSystems2 3.0.0-dev/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]]. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_LinearSystems2 3.0.0-dev/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)]. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_LinearSystems2 3.0.0-dev/DiscreteStateSpace.mo:5:3-5:106:writable] Error: Variable dtf not found in scope Modelica_LinearSystems2.DiscreteStateSpace. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_LinearSystems2 3.0.0-dev/Controller/Internal/DiscreteStateSpace2.mo:58:3-62:14:writable] Error: Internal error 'constructor'.fromDiscreteTransferFunction not found in scope: Modelica_LinearSystems2.DiscreteStateSpace [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_LinearSystems2 3.0.0-dev/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.01844/0.6202, allocations: 7.476 MB / 0.6372 GB, free: 3.867 MB / 458.8 MB