Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_LinearSystems2_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 2.5.0-master/package.mo", uses=false) Using package Modelica_LinearSystems2 with version 2.5.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_LinearSystems2 2.5.0-master/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_Modelica_LinearSystems2.WorkInProgress.Controller.Examples.TestComponents") translateModel(Modelica_LinearSystems2.WorkInProgress.Controller.Examples.TestComponents,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_LinearSystems2_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.001113/0.001113, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 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.0003099/0.00031, allocations: 28.06 kB / 13.29 MB, free: 2.031 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 221.3 MB / 235.2 MB, free: 14.4 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008569/0.0008568, allocations: 88.98 kB / 286.1 MB, free: 12.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_LinearSystems2 2.5.0-master/package.mo): time 0.5321/0.5321, allocations: 44.28 MB / 381.4 MB, free: 38.89 MB / 298.7 MB Warning: Requested package DymolaCommands of version 1.11, but this package was already loaded with version 0.0.0. You might experience problems if these versions are incompatible. Notification: Performance of FrontEnd - loaded program: time 4.89e-05/4.893e-05, allocations: 4.219 kB / 449.6 MB, free: 8.445 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4642/0.4643, allocations: 59.35 MB / 0.497 GB, free: 34.99 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2285/0.6928, allocations: 143.4 MB / 0.637 GB, free: 5.488 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.002262/0.6952, allocations: 0.6812 MB / 0.6377 GB, free: 4.812 MB / 458.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_LinearSystems2 2.5.0-master/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 2.5.0-master/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 2.5.0-master/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 2.5.0-master/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 2.5.0-master/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 2.5.0-master/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.01988/0.7151, allocations: 7.616 MB / 0.6451 GB, free: 13.25 MB / 474.7 MB