Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test10,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test10,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test10",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 3.2.3+maint.om/package.mo): time 0.001039/0.001039, allocations: 186.3 kB / 7.804 MB, free: 2.438 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.266/1.266, allocations: 205.2 MB / 213.4 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008339/0.0008338, allocations: 87.75 kB / 261.4 MB, free: 13.53 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1938/0.1938, allocations: 43.49 MB / 352.8 MB, free: 1.938 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2039/0.3978, allocations: 64.97 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.7077, allocations: 58.83 MB / 476.6 MB, free: 5.188 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1245/0.8322, allocations: 86.7 MB / 0.5501 GB, free: 12.24 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/0.8326, allocations: 75.47 kB / 0.5502 GB, free: 12.17 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0179/0.8505, allocations: 6.476 MB / 0.5565 GB, free: 5.641 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.8505, allocations: 8 kB / 0.5565 GB, free: 5.633 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.762e-05/0.8506, allocations: 15.8 kB / 0.5566 GB, free: 5.617 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002464/0.8508, allocations: 194.9 kB / 0.5567 GB, free: 5.387 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.8509, allocations: 0 / 0.5567 GB, free: 5.387 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.597e-05/0.8509, allocations: 15.98 kB / 0.5568 GB, free: 5.371 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.495e-05/0.851, allocations: 19.94 kB / 0.5568 GB, free: 5.352 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.8511, allocations: 59.41 kB / 0.5568 GB, free: 5.281 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.8511, allocations: 4 kB / 0.5568 GB, free: 5.277 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.8511, allocations: 0 / 0.5568 GB, free: 5.277 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.8511, allocations: 0 / 0.5568 GB, free: 5.277 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004444/0.8516, allocations: 289.3 kB / 0.5571 GB, free: 4.957 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.266e-05/0.8517, allocations: 38.42 kB / 0.5572 GB, free: 4.91 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.401e-05/0.8517, allocations: 16.86 kB / 0.5572 GB, free: 4.891 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/0.8518, allocations: 0 / 0.5572 GB, free: 4.891 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.8518, allocations: 34.56 kB / 0.5572 GB, free: 4.848 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.502e-06/0.8518, allocations: 0 / 0.5572 GB, free: 4.848 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.00052/0.8523, allocations: 157.5 kB / 0.5574 GB, free: 4.688 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.372e-05/0.8524, allocations: 81.11 kB / 0.5574 GB, free: 4.59 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.8525, allocations: 129.1 kB / 0.5576 GB, free: 4.453 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.8525, allocations: 25.7 kB / 0.5576 GB, free: 4.422 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.454e-05/0.8526, allocations: 103.9 kB / 0.5577 GB, free: 4.316 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.625e-05/0.8526, allocations: 15.72 kB / 0.5577 GB, free: 4.301 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-06/0.8526, allocations: 0 / 0.5577 GB, free: 4.301 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.8528, allocations: 318.8 kB / 0.558 GB, free: 3.98 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.104e-05/0.8528, allocations: 20 kB / 0.558 GB, free: 3.961 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.787e-05/0.8529, allocations: 41.7 kB / 0.5581 GB, free: 3.914 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.435e-05/0.8529, allocations: 23.98 kB / 0.5581 GB, free: 3.891 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.8529, allocations: 0 / 0.5581 GB, free: 3.891 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001385/0.8531, allocations: 81.59 kB / 0.5582 GB, free: 3.805 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.8531, allocations: 4 kB / 0.5582 GB, free: 3.801 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.8531, allocations: 0 / 0.5582 GB, free: 3.801 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.8531, allocations: 0 / 0.5582 GB, free: 3.801 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.8533, allocations: 35.94 kB / 0.5582 GB, free: 3.766 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.8533, allocations: 4 kB / 0.5582 GB, free: 3.762 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.085e-05/0.8534, allocations: 15.91 kB / 0.5582 GB, free: 3.746 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.8534, allocations: 7.984 kB / 0.5582 GB, free: 3.738 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 (7): * Single equations (assignments): 7 * 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.408e-05/0.8535, allocations: 110.3 kB / 0.5583 GB, free: 3.625 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.79e-05/0.8535, allocations: 7.906 kB / 0.5583 GB, free: 3.617 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002028/0.8537, allocations: 98.14 kB / 0.5584 GB, free: 3.512 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.8537, allocations: 3.938 kB / 0.5584 GB, free: 3.508 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.8538, allocations: 0 / 0.5584 GB, free: 3.508 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.8538, allocations: 0 / 0.5584 GB, free: 3.508 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003773/0.8541, allocations: 355.3 kB / 0.5588 GB, free: 3.117 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.8542, allocations: 0 / 0.5588 GB, free: 3.117 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.8543, allocations: 27.98 kB / 0.5588 GB, free: 3.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.8543, allocations: 0 / 0.5588 GB, free: 3.09 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.8543, allocations: 0 / 0.5588 GB, free: 3.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.8543, allocations: 0 / 0.5588 GB, free: 3.09 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.8543, allocations: 3.906 kB / 0.5588 GB, free: 3.086 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001893/0.8545, allocations: 195.4 kB / 0.559 GB, free: 2.879 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002908/0.8548, allocations: 0.5467 MB / 0.5595 GB, free: 2.312 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.161e-05/0.8549, allocations: 92.91 kB / 0.5596 GB, free: 2.203 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.342e-05/0.8549, allocations: 0 / 0.5596 GB, free: 2.203 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.855, allocations: 19.98 kB / 0.5596 GB, free: 2.184 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.265e-05/0.8551, allocations: 7.984 kB / 0.5596 GB, free: 2.176 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.8551, allocations: 7.938 kB / 0.5596 GB, free: 2.168 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.011e-05/0.8552, allocations: 102.7 kB / 0.5597 GB, free: 2.07 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009185/0.8561, allocations: 35.98 kB / 0.5598 GB, free: 2.035 MB / 394.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 (7): * Single equations (assignments): 7 * 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.00071/0.8568, allocations: 343.5 kB / 0.5601 GB, free: 1.734 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001433/0.857, allocations: 59.95 kB / 0.5602 GB, free: 1.676 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.857, allocations: 0 / 0.5602 GB, free: 1.676 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.909e-05/0.857, allocations: 27.94 kB / 0.5602 GB, free: 1.648 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.8573, allocations: 19.75 kB / 0.5602 GB, free: 1.629 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003724/0.8576, allocations: 127.5 kB / 0.5603 GB, free: 1.48 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003948/0.858, allocations: 0.727 MB / 0.561 GB, free: 0.7227 MB / 394.7 MB Notification: Performance of SimCode: time 4.11e-07/0.8581, allocations: 0 / 0.561 GB, free: 0.7227 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test10_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test10.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat does not exist to compare? outputFormat=mat