Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.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.Tables.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test9",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.001015/0.001015, allocations: 199.2 kB / 8.541 MB, free: 1.812 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.09/1.09, allocations: 225.5 MB / 234.4 MB, free: 3.402 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008144/0.0008145, allocations: 92.11 kB / 286.3 MB, free: 5.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1555/0.1555, allocations: 45.14 MB / 383.3 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1792/0.3347, allocations: 69.36 MB / 452.7 MB, free: 76.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07958/0.4143, allocations: 63.24 MB / 0.5039 GB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2402/0.6545, allocations: 89.39 MB / 0.5912 GB, free: 13.47 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001735/0.6547, allocations: 63.53 kB / 0.5912 GB, free: 13.44 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.01834/0.6731, allocations: 9.022 MB / 0.6 GB, free: 5.465 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.6731, allocations: 8 kB / 0.6 GB, free: 5.457 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.342e-05/0.6732, allocations: 43.44 kB / 0.6001 GB, free: 5.414 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004562/0.6737, allocations: 335.9 kB / 0.6004 GB, free: 5.055 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-06/0.6737, allocations: 4 kB / 0.6004 GB, free: 5.051 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.544e-06/0.6737, allocations: 0 / 0.6004 GB, free: 5.051 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.491e-05/0.6738, allocations: 21.73 kB / 0.6004 GB, free: 5.035 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.123e-05/0.6739, allocations: 49.45 kB / 0.6005 GB, free: 4.984 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.6739, allocations: 0 / 0.6005 GB, free: 4.984 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.6739, allocations: 3.984 kB / 0.6005 GB, free: 4.98 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.6739, allocations: 0 / 0.6005 GB, free: 4.98 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005261/0.6744, allocations: 426.4 kB / 0.6009 GB, free: 4.582 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.378e-05/0.6745, allocations: 34.25 kB / 0.6009 GB, free: 4.543 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.205e-05/0.6745, allocations: 16.44 kB / 0.6009 GB, free: 4.527 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.6746, allocations: 0 / 0.6009 GB, free: 4.527 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.6746, allocations: 38.44 kB / 0.601 GB, free: 4.484 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.6746, allocations: 0 / 0.601 GB, free: 4.484 MB / 394.7 MB Notification: Performance of matching and sorting (n=3): time 0.000193/0.6748, allocations: 88.91 kB / 0.6011 GB, free: 4.395 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.6749, allocations: 59.41 kB / 0.6011 GB, free: 4.324 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.6759, allocations: 0.7617 MB / 0.6019 GB, free: 3.742 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.6759, allocations: 25.7 kB / 0.6019 GB, free: 3.711 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.381e-05/0.676, allocations: 141.4 kB / 0.602 GB, free: 3.586 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/0.676, allocations: 11.66 kB / 0.602 GB, free: 3.578 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-06/0.676, allocations: 0 / 0.602 GB, free: 3.578 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.6761, allocations: 359.5 kB / 0.6024 GB, free: 3.234 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.186e-05/0.6762, allocations: 11.56 kB / 0.6024 GB, free: 3.227 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.694e-05/0.6762, allocations: 15.12 kB / 0.6024 GB, free: 3.215 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.596e-05/0.6762, allocations: 11.48 kB / 0.6024 GB, free: 3.207 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.6762, allocations: 4 kB / 0.6024 GB, free: 3.203 MB / 394.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000127/0.6763, allocations: 92.62 kB / 0.6025 GB, free: 3.109 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.6764, allocations: 4 kB / 0.6025 GB, free: 3.105 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.6764, allocations: 3.984 kB / 0.6025 GB, free: 3.102 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.237e-06/0.6764, allocations: 0 / 0.6025 GB, free: 3.102 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.273e-05/0.6765, allocations: 8 kB / 0.6025 GB, free: 3.094 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.6765, allocations: 0 / 0.6025 GB, free: 3.094 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.501e-05/0.6766, allocations: 19.89 kB / 0.6025 GB, free: 3.074 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.6766, allocations: 0 / 0.6025 GB, free: 3.074 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 (3): * Single equations (assignments): 3 * 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 5.133e-05/0.6766, allocations: 101 kB / 0.6026 GB, free: 2.969 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.143e-05/0.6767, allocations: 43.44 kB / 0.6027 GB, free: 2.926 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001764/0.6769, allocations: 106.6 kB / 0.6028 GB, free: 2.82 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.6769, allocations: 0 / 0.6028 GB, free: 2.82 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.6769, allocations: 0 / 0.6028 GB, free: 2.82 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.6769, allocations: 7.984 kB / 0.6028 GB, free: 2.812 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002538/0.6772, allocations: 309.8 kB / 0.6031 GB, free: 2.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.6772, allocations: 4 kB / 0.6031 GB, free: 2.516 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.963e-05/0.6773, allocations: 15.92 kB / 0.6031 GB, free: 2.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.6773, allocations: 0 / 0.6031 GB, free: 2.5 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.6773, allocations: 0 / 0.6031 GB, free: 2.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.6773, allocations: 0 / 0.6031 GB, free: 2.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.6773, allocations: 0 / 0.6031 GB, free: 2.5 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001644/0.6775, allocations: 189.9 kB / 0.6033 GB, free: 2.305 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002501/0.6777, allocations: 0.5604 MB / 0.6038 GB, free: 1.734 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001738/0.6779, allocations: 163.5 kB / 0.604 GB, free: 1.566 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.851e-05/0.678, allocations: 7.938 kB / 0.604 GB, free: 1.559 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.6781, allocations: 15.91 kB / 0.604 GB, free: 1.543 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.508e-05/0.6781, allocations: 3.984 kB / 0.604 GB, free: 1.539 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.6781, allocations: 7.984 kB / 0.604 GB, free: 1.531 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0005844/0.6787, allocations: 0.6207 MB / 0.6046 GB, free: 1.09 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008275/0.6796, allocations: 48 kB / 0.6047 GB, free: 1.043 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 (3): * Single equations (assignments): 3 * 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.0004739/0.68, allocations: 261 kB / 0.6049 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.86e-05/0.6801, allocations: 23.81 kB / 0.6049 GB, free: 0.8281 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.6801, allocations: 0 / 0.6049 GB, free: 0.8281 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.662e-05/0.6802, allocations: 14.88 kB / 0.6049 GB, free: 0.8164 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.6804, allocations: 32.64 kB / 0.605 GB, free: 0.793 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.6815, allocations: 0.697 MB / 0.6057 GB, free: 132 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004157/0.6819, allocations: 0.8542 MB / 0.6065 GB, free: 15.27 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6819, allocations: 0 / 0.6065 GB, free: 15.27 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test9_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test9.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat does not exist to compare? outputFormat=mat