Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_LinearSystems2_dev_Modelica_LinearSystems2.Controller.Examples.DoublePendulum.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.Controller.Examples.DoublePendulum,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_LinearSystems2_dev_Modelica_LinearSystems2.Controller.Examples.DoublePendulum") translateModel(Modelica_LinearSystems2.Controller.Examples.DoublePendulum,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_LinearSystems2_dev_Modelica_LinearSystems2.Controller.Examples.DoublePendulum") [: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.004756/0.004756, allocations: 183.3 kB / 7.457 MB, free: 2.504 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.000452/0.0004519, allocations: 20.52 kB / 7.892 MB, free: 2.301 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.571/1.571, allocations: 221.4 MB / 229.7 MB, free: 2.988 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.001014/0.001014, allocations: 99.98 kB / 280.6 MB, free: 1.223 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_LinearSystems2 3.0.0-dev/package.mo): time 0.4447/0.4447, allocations: 44.4 MB / 375.8 MB, free: 41.55 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 2000 Notification: Performance of FrontEnd - loaded program: time 6.752e-06/6.782e-06, allocations: 0 / 441.9 MB, free: 14.76 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.12, allocations: 59.4 MB / 0.4895 GB, free: 3.312 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.437/0.557, allocations: 152.7 MB / 0.6387 GB, free: 1.883 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.006845/0.5639, allocations: 2.184 MB / 0.6408 GB, free: 15.76 MB / 474.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Utilities/Streams.mo:207:5-207:61:writable] Warning: Unused input variable nrow in function .Modelica.Utilities.Streams.readRealMatrix. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Utilities/Streams.mo:208:5-208:64:writable] Warning: Unused input variable ncol in function .Modelica.Utilities.Streams.readRealMatrix. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Utilities/Streams.mo:207:5-207:61:writable] Warning: Unused input variable nrow in function .Modelica.Utilities.Streams.readRealMatrix. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Utilities/Streams.mo:208:5-208:64:writable] Warning: Unused input variable ncol in function .Modelica.Utilities.Streams.readRealMatrix. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Utilities/Streams.mo:207:5-207:61:writable] Warning: Unused input variable nrow in function .Modelica.Utilities.Streams.readRealMatrix. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Utilities/Streams.mo:208:5-208:64:writable] Warning: Unused input variable ncol in function .Modelica.Utilities.Streams.readRealMatrix. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_LinearSystems2 3.0.0-dev/Controller/MatrixGain.mo:32:3-32:11:writable] Error: Incompatible argument types to operation matrix multiplication in component feedbackMatrix, left type: Real[nrow, ncol], right type: Real[0] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_LinearSystems2 3.0.0-dev/Controller/MatrixGain.mo:32:3-32:11:writable] Error: Cannot resolve type of expression K2 * u. The operands have types Real[nrow, ncol], Real[0] in component feedbackMatrix. Error: Error occurred while flattening model Modelica_LinearSystems2.Controller.Examples.DoublePendulum