Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.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.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test2",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.0009995/0.0009995, allocations: 201.4 kB / 8.542 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.079/1.079, allocations: 225.5 MB / 234.4 MB, free: 3.527 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008534/0.0008534, allocations: 84.12 kB / 286.3 MB, free: 5.176 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1524/0.1524, allocations: 45.14 MB / 383.3 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1825/0.3349, allocations: 69.37 MB / 452.7 MB, free: 76.17 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07696/0.4119, allocations: 63.25 MB / 0.5039 GB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2336/0.6455, allocations: 89.7 MB / 0.5915 GB, free: 13.48 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001832/0.6457, allocations: 73.77 kB / 0.5915 GB, free: 13.45 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.01968/0.6654, allocations: 9.419 MB / 0.6007 GB, free: 5.164 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.6654, allocations: 8 kB / 0.6007 GB, free: 5.156 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.711e-05/0.6655, allocations: 43.44 kB / 0.6008 GB, free: 5.113 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000446/0.6659, allocations: 340.3 kB / 0.6011 GB, free: 4.754 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.904e-06/0.666, allocations: 0 / 0.6011 GB, free: 4.754 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.774e-05/0.666, allocations: 4 kB / 0.6011 GB, free: 4.75 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.97e-05/0.6661, allocations: 23.38 kB / 0.6011 GB, free: 4.73 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.755e-05/0.6661, allocations: 52.95 kB / 0.6012 GB, free: 4.68 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.6662, allocations: 0 / 0.6012 GB, free: 4.68 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.6662, allocations: 4 kB / 0.6012 GB, free: 4.676 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.6662, allocations: 0 / 0.6012 GB, free: 4.676 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005493/0.6667, allocations: 442.8 kB / 0.6016 GB, free: 4.262 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.921e-05/0.6668, allocations: 28.84 kB / 0.6016 GB, free: 4.234 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.564e-05/0.6668, allocations: 20.5 kB / 0.6017 GB, free: 4.215 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.6669, allocations: 0 / 0.6017 GB, free: 4.215 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.6669, allocations: 34.5 kB / 0.6017 GB, free: 4.172 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.6669, allocations: 0 / 0.6017 GB, free: 4.172 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005407/0.6675, allocations: 238.7 kB / 0.6019 GB, free: 3.953 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.358e-05/0.6675, allocations: 51.41 kB / 0.602 GB, free: 3.891 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.6685, allocations: 0.7696 MB / 0.6027 GB, free: 3.301 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.6685, allocations: 25.7 kB / 0.6027 GB, free: 3.27 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.943e-05/0.6686, allocations: 135.8 kB / 0.6029 GB, free: 3.145 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.698e-05/0.6686, allocations: 30.98 kB / 0.6029 GB, free: 3.117 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-06/0.6686, allocations: 4 kB / 0.6029 GB, free: 3.113 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.6688, allocations: 364 kB / 0.6033 GB, free: 2.77 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.642e-05/0.6688, allocations: 18.06 kB / 0.6033 GB, free: 2.758 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.059e-05/0.6688, allocations: 18.88 kB / 0.6033 GB, free: 2.746 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.466e-05/0.6689, allocations: 31.34 kB / 0.6033 GB, free: 2.723 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.6689, allocations: 4 kB / 0.6033 GB, free: 2.719 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001707/0.6691, allocations: 122 kB / 0.6034 GB, free: 2.609 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.6691, allocations: 8 kB / 0.6034 GB, free: 2.602 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.6691, allocations: 0 / 0.6034 GB, free: 2.602 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.166e-06/0.6691, allocations: 4 kB / 0.6034 GB, free: 2.598 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.6692, allocations: 19.98 kB / 0.6035 GB, free: 2.578 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.556e-06/0.6692, allocations: 0 / 0.6035 GB, free: 2.578 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.483e-05/0.6693, allocations: 4 kB / 0.6035 GB, free: 2.574 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-06/0.6693, allocations: 4 kB / 0.6035 GB, free: 2.57 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 (8): * Single equations (assignments): 8 * 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.668e-05/0.6694, allocations: 104.9 kB / 0.6036 GB, free: 2.461 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.717e-05/0.6695, allocations: 51.38 kB / 0.6036 GB, free: 2.41 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000242/0.6697, allocations: 155 kB / 0.6038 GB, free: 2.273 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.6697, allocations: 4 kB / 0.6038 GB, free: 2.27 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.6698, allocations: 0 / 0.6038 GB, free: 2.27 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.6698, allocations: 0 / 0.6038 GB, free: 2.27 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007126/0.6705, allocations: 0.6074 MB / 0.6044 GB, free: 1.699 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.6705, allocations: 0 / 0.6044 GB, free: 1.699 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.806e-05/0.6706, allocations: 16 kB / 0.6044 GB, free: 1.684 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.6706, allocations: 4 kB / 0.6044 GB, free: 1.68 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.6706, allocations: 7.891 kB / 0.6044 GB, free: 1.672 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.6706, allocations: 0 / 0.6044 GB, free: 1.672 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.6706, allocations: 3.984 kB / 0.6044 GB, free: 1.668 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002108/0.6708, allocations: 241.4 kB / 0.6046 GB, free: 1.426 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003162/0.6712, allocations: 0.6203 MB / 0.6052 GB, free: 0.7969 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001629/0.6713, allocations: 162.5 kB / 0.6054 GB, free: 0.6289 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.047e-05/0.6714, allocations: 0 / 0.6054 GB, free: 0.6289 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.6715, allocations: 8 kB / 0.6054 GB, free: 0.6211 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.722e-05/0.6715, allocations: 7.984 kB / 0.6054 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-06/0.6716, allocations: 7.938 kB / 0.6054 GB, free: 0.6055 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0005528/0.6721, allocations: 0.6188 MB / 0.606 GB, free: 168 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009253/0.6731, allocations: 71.41 kB / 0.6061 GB, free: 100 kB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0006115/0.6737, allocations: 333.5 kB / 0.6064 GB, free: 15.85 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001171/0.6738, allocations: 57.98 kB / 0.6065 GB, free: 15.81 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.6738, allocations: 4 kB / 0.6065 GB, free: 15.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.757e-05/0.6739, allocations: 34.48 kB / 0.6065 GB, free: 15.78 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.6741, allocations: 20.66 kB / 0.6065 GB, free: 15.76 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.6752, allocations: 0.7398 MB / 0.6072 GB, free: 15.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004297/0.6756, allocations: 0.8706 MB / 0.6081 GB, free: 14.19 MB / 410.7 MB Notification: Performance of SimCode: time 3.4e-07/0.6756, allocations: 0 / 0.6081 GB, free: 14.19 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test2_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test2.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat does not exist to compare? outputFormat=mat