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.00155/0.00155, allocations: 176.2 kB / 7.643 MB, free: 1.414 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.0003198/0.0003198, allocations: 24.78 kB / 8.097 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.315/1.315, allocations: 221.5 MB / 230.1 MB, free: 3.211 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.001005/0.001005, allocations: 89.95 kB / 280.9 MB, free: 1.227 MB / 218.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_LinearSystems2 2.5.0-master/package.mo): time 0.4118/0.4118, allocations: 44.33 MB / 376.1 MB, free: 41.65 MB / 298.8 MB Notification: Performance of FrontEnd - loaded program: time 1.56e-05/1.561e-05, allocations: 4 kB / 442.4 MB, free: 14.62 MB / 330.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1252, allocations: 59.37 MB / 0.49 GB, free: 3.207 MB / 378.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4342/0.5594, allocations: 142.7 MB / 0.6294 GB, free: 11.99 MB / 458.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.001822/0.5613, allocations: 0.5758 MB / 0.63 GB, free: 11.43 MB / 458.8 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.01985/0.5811, allocations: 7.547 MB / 0.6373 GB, free: 3.941 MB / 458.8 MB