Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.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.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test31",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.002578/0.002578, allocations: 188.5 kB / 7.808 MB, free: 2.488 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.348/1.348, 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.0008738/0.0008738, allocations: 85.42 kB / 261.4 MB, free: 13.54 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.1939/0.1939, allocations: 43.49 MB / 352.8 MB, free: 1.941 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2055/0.3995, allocations: 64.96 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.7122, allocations: 58.84 MB / 476.7 MB, free: 5.191 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1285/0.8407, allocations: 86.7 MB / 0.5501 GB, free: 12.23 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002538/0.8411, allocations: 71.97 kB / 0.5502 GB, free: 12.16 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.01834/0.8594, allocations: 6.469 MB / 0.5565 GB, free: 5.637 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.8595, allocations: 8 kB / 0.5565 GB, free: 5.629 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.633e-05/0.8595, allocations: 11.81 kB / 0.5565 GB, free: 5.617 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003145/0.8599, allocations: 190.9 kB / 0.5567 GB, free: 5.391 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.8599, allocations: 0 / 0.5567 GB, free: 5.391 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.434e-05/0.8599, allocations: 8 kB / 0.5567 GB, free: 5.383 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.903e-05/0.86, allocations: 27.92 kB / 0.5568 GB, free: 5.355 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/0.8601, allocations: 67.38 kB / 0.5568 GB, free: 5.277 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.8602, allocations: 0 / 0.5568 GB, free: 5.277 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.8602, allocations: 0 / 0.5568 GB, free: 5.277 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.8602, allocations: 4 kB / 0.5568 GB, free: 5.273 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004937/0.8607, allocations: 285.3 kB / 0.5571 GB, free: 4.957 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.6e-05/0.8608, allocations: 42.41 kB / 0.5571 GB, free: 4.906 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.664e-05/0.8608, allocations: 16.86 kB / 0.5572 GB, free: 4.887 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.724e-05/0.8609, allocations: 0 / 0.5572 GB, free: 4.887 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.8609, allocations: 34.56 kB / 0.5572 GB, free: 4.844 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.8609, allocations: 0 / 0.5572 GB, free: 4.844 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.000525/0.8614, allocations: 145.5 kB / 0.5573 GB, free: 4.695 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.18e-05/0.8615, allocations: 89.03 kB / 0.5574 GB, free: 4.59 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.8616, allocations: 125.2 kB / 0.5575 GB, free: 4.457 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.8617, allocations: 25.7 kB / 0.5576 GB, free: 4.426 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.791e-05/0.8617, allocations: 95.98 kB / 0.5577 GB, free: 4.328 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.812e-05/0.8618, allocations: 19.64 kB / 0.5577 GB, free: 4.309 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.219e-06/0.8618, allocations: 0 / 0.5577 GB, free: 4.309 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.8619, allocations: 322.8 kB / 0.558 GB, free: 3.984 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.19e-05/0.8619, allocations: 24.06 kB / 0.558 GB, free: 3.961 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.832e-05/0.862, allocations: 37.7 kB / 0.558 GB, free: 3.918 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.281e-05/0.862, allocations: 20 kB / 0.5581 GB, free: 3.898 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-07/0.8621, allocations: 0 / 0.5581 GB, free: 3.898 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001358/0.8622, allocations: 89.8 kB / 0.5581 GB, free: 3.805 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.8622, allocations: 4 kB / 0.5581 GB, free: 3.801 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.8622, allocations: 0 / 0.5581 GB, free: 3.801 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.8622, allocations: 3.938 kB / 0.5582 GB, free: 3.797 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.8624, allocations: 35.95 kB / 0.5582 GB, free: 3.762 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.8624, allocations: 0 / 0.5582 GB, free: 3.762 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.65e-05/0.8625, allocations: 19.89 kB / 0.5582 GB, free: 3.742 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.8625, allocations: 0 / 0.5582 GB, free: 3.742 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 8.611e-05/0.8626, allocations: 114.3 kB / 0.5583 GB, free: 3.625 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.676e-05/0.8626, allocations: 7.906 kB / 0.5583 GB, free: 3.617 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001954/0.8628, allocations: 94.16 kB / 0.5584 GB, free: 3.516 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.8628, allocations: 0 / 0.5584 GB, free: 3.516 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.8629, allocations: 0 / 0.5584 GB, free: 3.516 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.8629, allocations: 0 / 0.5584 GB, free: 3.516 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003526/0.8632, allocations: 354.9 kB / 0.5588 GB, free: 3.125 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.8632, allocations: 0 / 0.5588 GB, free: 3.125 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/0.8633, allocations: 27.98 kB / 0.5588 GB, free: 3.098 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.8634, allocations: 0 / 0.5588 GB, free: 3.098 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.8634, allocations: 4 kB / 0.5588 GB, free: 3.094 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.8634, allocations: 0 / 0.5588 GB, free: 3.094 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.8634, allocations: 3.906 kB / 0.5588 GB, free: 3.09 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001627/0.8635, allocations: 191.4 kB / 0.559 GB, free: 2.887 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002838/0.8638, allocations: 0.5587 MB / 0.5595 GB, free: 2.309 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.859e-05/0.8639, allocations: 88.91 kB / 0.5596 GB, free: 2.203 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.377e-05/0.8639, allocations: 4 kB / 0.5596 GB, free: 2.199 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.864, allocations: 12 kB / 0.5596 GB, free: 2.188 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.89e-05/0.8641, allocations: 7.984 kB / 0.5596 GB, free: 2.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-06/0.8641, allocations: 4 kB / 0.5596 GB, free: 2.176 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.186e-05/0.8642, allocations: 114.6 kB / 0.5597 GB, free: 2.066 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008738/0.8651, allocations: 35.98 kB / 0.5598 GB, free: 2.031 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.0007335/0.8658, allocations: 335.7 kB / 0.5601 GB, free: 1.738 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001447/0.866, allocations: 51.98 kB / 0.5601 GB, free: 1.688 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.866, allocations: 0 / 0.5601 GB, free: 1.688 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.5e-05/0.866, allocations: 31.94 kB / 0.5602 GB, free: 1.656 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000237/0.8663, allocations: 19.75 kB / 0.5602 GB, free: 1.637 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004411/0.8667, allocations: 127.5 kB / 0.5603 GB, free: 1.488 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003773/0.8671, allocations: 0.7231 MB / 0.561 GB, free: 0.7383 MB / 394.7 MB Notification: Performance of SimCode: time 3.91e-07/0.8671, allocations: 0 / 0.561 GB, free: 0.7383 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test31_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test31.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat does not exist to compare? outputFormat=mat