Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_LinearSystems2_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 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.Controller.Examples.DoublePendulum,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_LinearSystems2_Modelica_LinearSystems2.Controller.Examples.DoublePendulum") translateModel(Modelica_LinearSystems2.Controller.Examples.DoublePendulum,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_LinearSystems2_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.002895/0.002895, allocations: 179.5 kB / 7.454 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.0002989/0.0002989, allocations: 22.62 kB / 7.891 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.311/1.311, allocations: 221.4 MB / 229.7 MB, free: 3.027 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.001083/0.001083, allocations: 92.33 kB / 280.6 MB, free: 1.242 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.4492/0.4492, allocations: 44.32 MB / 375.7 MB, free: 41.77 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 2000 Notification: Performance of FrontEnd - loaded program: time 1.09e-05/1.091e-05, allocations: 4 kB / 441.8 MB, free: 14.96 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1671, allocations: 59.35 MB / 0.4894 GB, free: 3.551 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4939/0.6611, allocations: 152.9 MB / 0.6388 GB, free: 2.039 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0074/0.6686, allocations: 2.18 MB / 0.6409 GB, free: 15.91 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 2.5.0-master/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 2.5.0-master/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