Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_LinearSystems2_Modelica_LinearSystems2.WorkInProgress.Controller.Examples.ZerosAndPolesBlock.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.ZerosAndPolesBlock,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_LinearSystems2_Modelica_LinearSystems2.WorkInProgress.Controller.Examples.ZerosAndPolesBlock") translateModel(Modelica_LinearSystems2.WorkInProgress.Controller.Examples.ZerosAndPolesBlock,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_LinearSystems2_Modelica_LinearSystems2.WorkInProgress.Controller.Examples.ZerosAndPolesBlock") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002957/0.002957, allocations: 180.8 kB / 7.456 MB, free: 2.508 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.0003014/0.0003014, allocations: 18.95 kB / 7.887 MB, free: 2.312 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.398/1.398, allocations: 221.4 MB / 229.7 MB, free: 3.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 90.77 kB / 280.6 MB, free: 1.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_LinearSystems2 2.5.0-master/package.mo): time 0.539/0.539, allocations: 44.31 MB / 375.7 MB, free: 41.78 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.067e-06/9.088e-06, allocations: 0 / 441.8 MB, free: 14.94 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.182, allocations: 59.37 MB / 0.4894 GB, free: 3.527 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.437/0.6191, allocations: 126.1 MB / 0.6126 GB, free: 12.87 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.007863/0.627, allocations: 2.182 MB / 0.6147 GB, free: 10.75 MB / 442.7 MB [/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 zerosAndPoles.discretePart.ABCD[size(zerosAndPoles.discretePart.ABCD, 1):size(zerosAndPoles.discretePart.ABCD, 1),1:-1 + size(zerosAndPoles.discretePart.ABCD, 2)]. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_LinearSystems2 2.5.0-master/Controller/Internal/DiscreteStateSpace2.mo:58:3-62:14:writable] Error: Type mismatch for positional argument 6 in Modelica_LinearSystems2.DiscreteStateSpace(B2=method). The argument has type: enumeration(ExplicitEuler, ImplicitEuler, Trapezoidal, ImpulseExact, StepExact, RampExact) expected type: Real[size(B, 1), size(B, 2)] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_LinearSystems2 2.5.0-master/DiscreteTransferFunction.mo:1280:9-1280:31:writable] Error: Type mismatch in assignment in dss.B := {} of Real[size(A, 1), :] := Integer[0, 1] [/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.ZerosAndPolesBlock