Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.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/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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test7",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 4.0.0+maint.om/package.mo): time 0.001896/0.001896, allocations: 176.5 kB / 8.521 MB, free: 1.832 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.325/1.325, allocations: 221.4 MB / 230.3 MB, free: 7.609 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.000856/0.000856, allocations: 97.91 kB / 281.2 MB, free: 5.41 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2121/0.2121, allocations: 44.15 MB / 376.1 MB, free: 3.184 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2622/0.4744, allocations: 68.03 MB / 444.1 MB, free: 15.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.6122, allocations: 61.91 MB / 0.4942 GB, free: 1.496 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3373/0.9495, allocations: 87.54 MB / 0.5797 GB, free: 9.145 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002893/0.9499, allocations: 68.62 kB / 0.5797 GB, free: 9.078 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.01965/0.9696, allocations: 8.016 MB / 0.5876 GB, free: 1.016 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.895e-05/0.9696, allocations: 15.94 kB / 0.5876 GB, free: 1 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/0.9698, allocations: 39.44 kB / 0.5876 GB, free: 0.9609 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005457/0.9703, allocations: 323.3 kB / 0.5879 GB, free: 0.6055 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.9704, allocations: 4 kB / 0.5879 GB, free: 0.6016 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.9704, allocations: 0 / 0.5879 GB, free: 0.6016 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.828e-05/0.9704, allocations: 11.94 kB / 0.5879 GB, free: 0.5898 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.152e-05/0.9705, allocations: 37.69 kB / 0.588 GB, free: 0.5469 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/0.9705, allocations: 0 / 0.588 GB, free: 0.5469 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.9706, allocations: 3.984 kB / 0.588 GB, free: 0.543 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.9706, allocations: 8 kB / 0.588 GB, free: 0.5352 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005412/0.9711, allocations: 397.3 kB / 0.5884 GB, free: 112 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.781e-05/0.9712, allocations: 30.52 kB / 0.5884 GB, free: 72 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.379e-05/0.9712, allocations: 8.922 kB / 0.5884 GB, free: 60 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.9712, allocations: 0 / 0.5884 GB, free: 60 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.9713, allocations: 42.56 kB / 0.5884 GB, free: 8 kB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.9713, allocations: 0 / 0.5884 GB, free: 8 kB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002464/0.9715, allocations: 73.19 kB / 0.5885 GB, free: 15.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.9716, allocations: 51.41 kB / 0.5886 GB, free: 15.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001203/0.9728, allocations: 0.755 MB / 0.5893 GB, free: 15.11 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.9728, allocations: 25.7 kB / 0.5893 GB, free: 15.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.54e-05/0.9729, allocations: 136 kB / 0.5894 GB, free: 14.94 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.632e-05/0.9729, allocations: 3.906 kB / 0.5895 GB, free: 14.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.836e-06/0.9729, allocations: 4.031 kB / 0.5895 GB, free: 14.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.9731, allocations: 362.8 kB / 0.5898 GB, free: 14.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.933e-05/0.9731, allocations: 4 kB / 0.5898 GB, free: 14.56 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.117e-05/0.9731, allocations: 7.766 kB / 0.5898 GB, free: 14.56 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.764e-05/0.9731, allocations: 8 kB / 0.5898 GB, free: 14.55 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.9732, allocations: 0 / 0.5898 GB, free: 14.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001252/0.9733, allocations: 69.23 kB / 0.5899 GB, free: 14.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.9733, allocations: 11.91 kB / 0.5899 GB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.9733, allocations: 4.094 kB / 0.5899 GB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.9733, allocations: 0 / 0.5899 GB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.562e-05/0.9734, allocations: 7.984 kB / 0.5899 GB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.916e-06/0.9734, allocations: 3.984 kB / 0.5899 GB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.02e-05/0.9735, allocations: 7.938 kB / 0.5899 GB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.9735, allocations: 0 / 0.5899 GB, free: 14.44 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.696e-05/0.9736, allocations: 105 kB / 0.59 GB, free: 14.33 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.139e-05/0.9737, allocations: 39.44 kB / 0.5901 GB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001758/0.9739, allocations: 108.6 kB / 0.5902 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.9739, allocations: 0 / 0.5902 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.9739, allocations: 4 kB / 0.5902 GB, free: 14.17 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.9739, allocations: 0 / 0.5902 GB, free: 14.17 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002959/0.9742, allocations: 305.9 kB / 0.5905 GB, free: 13.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.9742, allocations: 0 / 0.5905 GB, free: 13.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.292e-05/0.9743, allocations: 4 kB / 0.5905 GB, free: 13.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.9743, allocations: 0 / 0.5905 GB, free: 13.83 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.9743, allocations: 8.031 kB / 0.5905 GB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.9743, allocations: 0 / 0.5905 GB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.9743, allocations: 0 / 0.5905 GB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001824/0.9745, allocations: 171 kB / 0.5906 GB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002829/0.9748, allocations: 0.558 MB / 0.5912 GB, free: 13.06 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001712/0.975, allocations: 160.5 kB / 0.5913 GB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.097e-05/0.9751, allocations: 0 / 0.5913 GB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.752e-05/0.9752, allocations: 4 kB / 0.5913 GB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.022e-05/0.9752, allocations: 4 kB / 0.5913 GB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.9752, allocations: 0 / 0.5913 GB, free: 12.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0007155/0.9759, allocations: 0.6082 MB / 0.5919 GB, free: 12.27 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001145/0.9771, allocations: 44 kB / 0.592 GB, free: 12.23 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005303/0.9776, allocations: 268.7 kB / 0.5922 GB, free: 12.03 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.042e-05/0.9777, allocations: 19.94 kB / 0.5923 GB, free: 12.01 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.9777, allocations: 3.938 kB / 0.5923 GB, free: 12.01 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.689e-05/0.9777, allocations: 8 kB / 0.5923 GB, free: 12 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.978, allocations: 19.92 kB / 0.5923 GB, free: 11.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.9792, allocations: 0.6799 MB / 0.5929 GB, free: 11.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005689/0.9798, allocations: 0.845 MB / 0.5938 GB, free: 10.4 MB / 410.7 MB Notification: Performance of SimCode: time 6.61e-07/0.9798, allocations: 0 / 0.5938 GB, free: 10.4 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test7_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1)