Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatrices2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatrices2",fmuType="me",version="2.0",platforms={"static"}) [: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 trunk/package.mo): time 0.001125/0.001125, allocations: 199.4 kB / 8.543 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.18/1.18, allocations: 225.5 MB / 234.4 MB, free: 3.457 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008955/0.0008956, allocations: 89.89 kB / 286.3 MB, free: 5.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.171/0.171, allocations: 45.15 MB / 383.4 MB, free: 0.625 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2018/0.3729, allocations: 69.36 MB / 452.7 MB, free: 76.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08503/0.4579, allocations: 63.24 MB / 0.5039 GB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2828/0.7407, allocations: 108.1 MB / 0.6095 GB, free: 10.94 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001895/0.741, allocations: 63.84 kB / 0.6095 GB, free: 10.91 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Math/package.mo:3587:7-3590:15:writable] Error: Type mismatch in assignment in X := {} of Real[size(A, 1), size(A, 2)] := Integer[0, 0] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:315:5-315:43:writable] Error: No matching function found for .Modelica.Math.Matrices.continuousLyapunov({}, {}) of type .Modelica.Math.Matrices.continuousLyapunov(Real[0, 0] A, Real[0, 0] C, Boolean ATisSchur := false, Real eps := 1e-14 * Modelica.Math.Matrices.norm(A, 1.0)) => Real[size(A, 1), size(A, 2)] in component candidates are .Modelica.Math.Matrices.continuousLyapunov(Real[:, size(A, 1)] A, Real[size(A, 1), size(A, 2)] C, Boolean ATisSchur := false, Real eps := 1e-14 * Modelica.Math.Matrices.norm(A, 1.0)) => Real[size(A, 1), size(A, 2)] Error: Error occurred while flattening model ModelicaTest.Math.TestMatrices2 Error: Internal error SimCode: The model ModelicaTest.Math.TestMatrices2 could not be translated to FMU