Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.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.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test29",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.001097/0.001097, allocations: 179 kB / 8.517 MB, free: 1.855 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.304/1.304, allocations: 221.4 MB / 230.3 MB, free: 7.695 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.001013, allocations: 91.73 kB / 281.2 MB, free: 5.461 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.2041/0.2041, allocations: 44.15 MB / 376.1 MB, free: 3.227 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2526/0.4567, allocations: 68.02 MB / 444.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.59, allocations: 61.91 MB / 0.4942 GB, free: 1.535 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3667/0.9567, allocations: 87.75 MB / 0.5799 GB, free: 8.973 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/0.957, allocations: 72.61 kB / 0.5799 GB, free: 8.902 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.01287/0.9699, allocations: 4.724 MB / 0.5846 GB, free: 4.137 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.97, allocations: 15.94 kB / 0.5846 GB, free: 4.121 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.263e-05/0.97, allocations: 11.81 kB / 0.5846 GB, free: 4.109 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002873/0.9703, allocations: 199.5 kB / 0.5848 GB, free: 3.871 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.998e-06/0.9704, allocations: 0 / 0.5848 GB, free: 3.871 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.512e-05/0.9704, allocations: 4 kB / 0.5848 GB, free: 3.867 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.938e-05/0.9705, allocations: 31.94 kB / 0.5848 GB, free: 3.836 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.812e-05/0.9706, allocations: 45.69 kB / 0.5848 GB, free: 3.785 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.9706, allocations: 3.906 kB / 0.5848 GB, free: 3.781 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.9706, allocations: 0 / 0.5848 GB, free: 3.781 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.9707, allocations: 0 / 0.5848 GB, free: 3.781 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005001/0.9712, allocations: 301 kB / 0.5851 GB, free: 3.453 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000197/0.9714, allocations: 37.72 kB / 0.5852 GB, free: 3.41 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.257e-05/0.9714, allocations: 16.98 kB / 0.5852 GB, free: 3.391 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.849e-05/0.9715, allocations: 3.984 kB / 0.5852 GB, free: 3.387 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.9715, allocations: 30.56 kB / 0.5852 GB, free: 3.348 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.273e-06/0.9715, allocations: 0 / 0.5852 GB, free: 3.348 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006976/0.9722, allocations: 197.1 kB / 0.5854 GB, free: 3.148 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.55e-05/0.9722, allocations: 55.41 kB / 0.5855 GB, free: 3.082 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001959/0.9724, allocations: 183.6 kB / 0.5856 GB, free: 2.895 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.9725, allocations: 25.7 kB / 0.5857 GB, free: 2.863 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.028e-05/0.9725, allocations: 108.1 kB / 0.5858 GB, free: 2.754 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.736e-05/0.9726, allocations: 35.45 kB / 0.5858 GB, free: 2.719 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.951e-06/0.9726, allocations: 0 / 0.5858 GB, free: 2.719 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.9727, allocations: 322.8 kB / 0.5861 GB, free: 2.395 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.086e-05/0.9727, allocations: 20 kB / 0.5861 GB, free: 2.375 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.005e-05/0.9728, allocations: 25.25 kB / 0.5861 GB, free: 2.352 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.865e-05/0.9728, allocations: 27.92 kB / 0.5862 GB, free: 2.324 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/0.9728, allocations: 0 / 0.5862 GB, free: 2.324 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001605/0.973, allocations: 101.4 kB / 0.5863 GB, free: 2.219 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.973, allocations: 8 kB / 0.5863 GB, free: 2.211 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.973, allocations: 4 kB / 0.5863 GB, free: 2.207 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.9731, allocations: 0 / 0.5863 GB, free: 2.207 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.9732, allocations: 31.98 kB / 0.5863 GB, free: 2.176 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.9732, allocations: 3.984 kB / 0.5863 GB, free: 2.172 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.778e-05/0.9733, allocations: 19.91 kB / 0.5863 GB, free: 2.152 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.9733, allocations: 4 kB / 0.5863 GB, free: 2.148 MB / 394.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 (11): * Single equations (assignments): 11 * 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 7.575e-05/0.9734, allocations: 105 kB / 0.5864 GB, free: 2.039 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.064e-05/0.9735, allocations: 11.81 kB / 0.5865 GB, free: 2.027 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002513/0.9737, allocations: 119 kB / 0.5866 GB, free: 1.906 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.9737, allocations: 0 / 0.5866 GB, free: 1.906 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.9737, allocations: 11.92 kB / 0.5866 GB, free: 1.895 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.9738, allocations: 4 kB / 0.5866 GB, free: 1.891 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005245/0.9743, allocations: 412.6 kB / 0.587 GB, free: 1.438 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.9743, allocations: 0 / 0.587 GB, free: 1.438 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/0.9744, allocations: 39.98 kB / 0.587 GB, free: 1.398 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.9744, allocations: 0 / 0.587 GB, free: 1.398 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.9744, allocations: 7.906 kB / 0.587 GB, free: 1.391 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.9745, allocations: 4 kB / 0.587 GB, free: 1.387 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.9745, allocations: 384 / 0.587 GB, free: 1.387 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002726/0.9747, allocations: 236.4 kB / 0.5872 GB, free: 1.117 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003349/0.9751, allocations: 0.6006 MB / 0.5878 GB, free: 492 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.688e-05/0.9752, allocations: 96.92 kB / 0.5879 GB, free: 376 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.795e-05/0.9752, allocations: 7.984 kB / 0.5879 GB, free: 368 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.9753, allocations: 8 kB / 0.5879 GB, free: 360 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.399e-05/0.9754, allocations: 15.89 kB / 0.588 GB, free: 344 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/0.9754, allocations: 4 kB / 0.588 GB, free: 340 kB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001133/0.9755, allocations: 155.9 kB / 0.5881 GB, free: 184 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008413/0.9763, allocations: 35.94 kB / 0.5881 GB, free: 148 kB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0008964/0.9772, allocations: 349.1 kB / 0.5885 GB, free: 15.88 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000186/0.9774, allocations: 67.88 kB / 0.5885 GB, free: 15.81 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.9774, allocations: 0 / 0.5885 GB, free: 15.81 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.928e-05/0.9775, allocations: 43.92 kB / 0.5886 GB, free: 15.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.9778, allocations: 8 kB / 0.5886 GB, free: 15.76 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005962/0.9784, allocations: 205.1 kB / 0.5888 GB, free: 15.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003623/0.9788, allocations: 0.7388 MB / 0.5895 GB, free: 14.77 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.9788, allocations: 0 / 0.5895 GB, free: 14.77 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test29.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat does not exist to compare? outputFormat=mat