Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.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.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test23",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.001033/0.001033, allocations: 205.6 kB / 8.54 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.082/1.082, allocations: 225.5 MB / 234.4 MB, free: 3.312 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008281/0.0008281, allocations: 96.3 kB / 286.3 MB, free: 5.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1544/0.1544, allocations: 45.14 MB / 383.3 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1781/0.3325, allocations: 69.37 MB / 452.7 MB, free: 76.06 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07687/0.4094, allocations: 63.25 MB / 0.5039 GB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2368/0.6462, allocations: 90.63 MB / 0.5924 GB, free: 12.14 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001739/0.6464, allocations: 68.66 kB / 0.5924 GB, free: 12.11 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.02615/0.6726, allocations: 10.93 MB / 0.6031 GB, free: 2.832 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.6726, allocations: 8 kB / 0.6031 GB, free: 2.824 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004174/0.6731, allocations: 115.2 kB / 0.6032 GB, free: 2.711 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007136/0.6738, allocations: 0.5059 MB / 0.6037 GB, free: 2.207 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.6738, allocations: 4 kB / 0.6037 GB, free: 2.203 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.774e-05/0.6738, allocations: 15.94 kB / 0.6037 GB, free: 2.188 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001586/0.674, allocations: 76.59 kB / 0.6038 GB, free: 2.137 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.6742, allocations: 135.4 kB / 0.6039 GB, free: 2.016 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.6742, allocations: 3.984 kB / 0.604 GB, free: 2.012 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.6742, allocations: 7.906 kB / 0.604 GB, free: 2.004 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.6743, allocations: 11.92 kB / 0.604 GB, free: 1.992 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.6753, allocations: 0.7258 MB / 0.6047 GB, free: 1.32 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001732/0.6755, allocations: 116.6 kB / 0.6048 GB, free: 1.211 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.01e-05/0.6755, allocations: 44 kB / 0.6048 GB, free: 1.176 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.921e-05/0.6756, allocations: 7.984 kB / 0.6048 GB, free: 1.168 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.896e-05/0.6756, allocations: 34.5 kB / 0.6049 GB, free: 1.125 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.6756, allocations: 0 / 0.6049 GB, free: 1.125 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.001402/0.677, allocations: 0.5982 MB / 0.6055 GB, free: 0.6016 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/0.6771, allocations: 89.03 kB / 0.6055 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008797/0.678, allocations: 0.7903 MB / 0.6063 GB, free: 15.86 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.678, allocations: 25.7 kB / 0.6063 GB, free: 15.83 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.367e-05/0.6781, allocations: 159.5 kB / 0.6065 GB, free: 15.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.838e-05/0.6781, allocations: 61.83 kB / 0.6065 GB, free: 15.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.208e-05/0.6782, allocations: 4 kB / 0.6066 GB, free: 15.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.064e-05/0.6783, allocations: 317.6 kB / 0.6069 GB, free: 15.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.6784, allocations: 75.16 kB / 0.6069 GB, free: 15.28 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.6785, allocations: 89.62 kB / 0.607 GB, free: 15.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.6786, allocations: 79.7 kB / 0.6071 GB, free: 15.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.6787, allocations: 0 / 0.6071 GB, free: 15.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000407/0.6791, allocations: 277.4 kB / 0.6074 GB, free: 14.94 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.6791, allocations: 4 kB / 0.6074 GB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.6791, allocations: 7.938 kB / 0.6074 GB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.6791, allocations: 4 kB / 0.6074 GB, free: 14.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003199/0.6794, allocations: 63.94 kB / 0.6074 GB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.6795, allocations: 4 kB / 0.6074 GB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002211/0.6797, allocations: 23.98 kB / 0.6075 GB, free: 14.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.478e-05/0.6797, allocations: 19.48 kB / 0.6075 GB, free: 14.82 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (20): * Single equations (assignments): 20 * 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.76e-05/0.6798, allocations: 104.9 kB / 0.6076 GB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.6799, allocations: 63.16 kB / 0.6076 GB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005895/0.6805, allocations: 325.3 kB / 0.6079 GB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.6805, allocations: 0 / 0.6079 GB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.6805, allocations: 7.938 kB / 0.608 GB, free: 14.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.6805, allocations: 7.969 kB / 0.608 GB, free: 14.37 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001137/0.6817, allocations: 0.9314 MB / 0.6089 GB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.6817, allocations: 0 / 0.6089 GB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002844/0.682, allocations: 64.05 kB / 0.6089 GB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.682, allocations: 3.938 kB / 0.6089 GB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.143e-05/0.682, allocations: 8.359 kB / 0.6089 GB, free: 13.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.682, allocations: 0 / 0.6089 GB, free: 13.49 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.682, allocations: 4 kB / 0.6089 GB, free: 13.49 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004623/0.6825, allocations: 468.5 kB / 0.6094 GB, free: 13.07 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00059/0.6831, allocations: 0.8333 MB / 0.6102 GB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002058/0.6833, allocations: 183.2 kB / 0.6104 GB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.83e-05/0.6834, allocations: 4 kB / 0.6104 GB, free: 12.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002925/0.6837, allocations: 31.97 kB / 0.6104 GB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.118e-05/0.6838, allocations: 19.97 kB / 0.6104 GB, free: 12.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.012e-05/0.6838, allocations: 7.125 kB / 0.6104 GB, free: 12.03 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0006382/0.6844, allocations: 0.6259 MB / 0.6111 GB, free: 11.55 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009925/0.6854, allocations: 91.66 kB / 0.6111 GB, free: 11.46 MB / 410.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 (20): * Single equations (assignments): 20 * 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.0005848/0.686, allocations: 294.8 kB / 0.6114 GB, free: 11.24 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003105/0.6864, allocations: 186.9 kB / 0.6116 GB, free: 11.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.6864, allocations: 4 kB / 0.6116 GB, free: 11.11 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001542/0.6865, allocations: 108.1 kB / 0.6117 GB, free: 11.04 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004565/0.687, allocations: 69.5 kB / 0.6118 GB, free: 10.99 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.6884, allocations: 0.7953 MB / 0.6125 GB, free: 10.24 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005953/0.689, allocations: 0.9476 MB / 0.6135 GB, free: 9.285 MB / 410.7 MB Notification: Performance of SimCode: time 3.01e-07/0.689, allocations: 0 / 0.6135 GB, free: 9.285 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test23_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test23.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat does not exist to compare? outputFormat=mat