Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.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.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test3",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.0009442/0.0009442, allocations: 200.4 kB / 8.539 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.091/1.091, allocations: 225.5 MB / 234.4 MB, free: 3.426 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008532/0.0008532, allocations: 95.09 kB / 286.3 MB, free: 5.238 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1543/0.1543, allocations: 45.15 MB / 383.3 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1771/0.3314, allocations: 69.37 MB / 452.7 MB, free: 76.15 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07924/0.4107, allocations: 63.24 MB / 0.5039 GB, free: 12.97 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2365/0.6472, allocations: 89.64 MB / 0.5914 GB, free: 13.23 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001754/0.6474, allocations: 74.52 kB / 0.5915 GB, free: 13.19 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.01911/0.6665, allocations: 9.478 MB / 0.6007 GB, free: 4.848 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.835e-05/0.6666, allocations: 8 kB / 0.6007 GB, free: 4.84 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.546e-05/0.6666, allocations: 47.42 kB / 0.6008 GB, free: 4.793 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004056/0.6671, allocations: 333.2 kB / 0.6011 GB, free: 4.438 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-06/0.6671, allocations: 4 kB / 0.6011 GB, free: 4.434 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/0.6671, allocations: 3.562 kB / 0.6011 GB, free: 4.434 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.206e-05/0.6672, allocations: 26.31 kB / 0.6011 GB, free: 4.414 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.954e-05/0.6673, allocations: 57.05 kB / 0.6012 GB, free: 4.355 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.6673, allocations: 0 / 0.6012 GB, free: 4.355 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.6673, allocations: 3.906 kB / 0.6012 GB, free: 4.352 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.798e-06/0.6673, allocations: 4 kB / 0.6012 GB, free: 4.348 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005494/0.6679, allocations: 452.1 kB / 0.6016 GB, free: 3.93 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001338/0.668, allocations: 33.31 kB / 0.6017 GB, free: 3.895 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.306e-05/0.668, allocations: 16.3 kB / 0.6017 GB, free: 3.879 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.6681, allocations: 7.422 kB / 0.6017 GB, free: 3.875 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/0.6681, allocations: 30.56 kB / 0.6017 GB, free: 3.836 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.6681, allocations: 4 kB / 0.6017 GB, free: 3.832 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006544/0.6688, allocations: 305.7 kB / 0.602 GB, free: 3.566 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/0.6688, allocations: 63.33 kB / 0.6021 GB, free: 3.492 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/0.6698, allocations: 0.7608 MB / 0.6028 GB, free: 2.906 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.6699, allocations: 25.7 kB / 0.6028 GB, free: 2.875 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.159e-05/0.6699, allocations: 137.1 kB / 0.603 GB, free: 2.754 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.893e-05/0.67, allocations: 31.44 kB / 0.603 GB, free: 2.727 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.49e-06/0.67, allocations: 0 / 0.603 GB, free: 2.727 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.6701, allocations: 367.9 kB / 0.6034 GB, free: 2.379 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.8e-05/0.6702, allocations: 34.48 kB / 0.6034 GB, free: 2.355 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.634e-05/0.6702, allocations: 37.88 kB / 0.6034 GB, free: 2.332 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.468e-05/0.6703, allocations: 45.28 kB / 0.6035 GB, free: 2.305 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.6703, allocations: 0 / 0.6035 GB, free: 2.305 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001992/0.6705, allocations: 152.7 kB / 0.6036 GB, free: 2.172 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.6705, allocations: 7.984 kB / 0.6036 GB, free: 2.164 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.6705, allocations: 0 / 0.6036 GB, free: 2.164 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.917e-06/0.6705, allocations: 0 / 0.6036 GB, free: 2.164 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.6707, allocations: 38.61 kB / 0.6037 GB, free: 2.129 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.6707, allocations: 4 kB / 0.6037 GB, free: 2.125 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.672e-05/0.6708, allocations: 11.98 kB / 0.6037 GB, free: 2.113 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.6708, allocations: 4 kB / 0.6037 GB, free: 2.109 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 (11): * Single equations (assignments): 11 * 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 6.094e-05/0.6709, allocations: 104.9 kB / 0.6038 GB, free: 2 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.541e-05/0.6709, allocations: 47.44 kB / 0.6038 GB, free: 1.953 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000281/0.6712, allocations: 197.2 kB / 0.604 GB, free: 1.789 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.6712, allocations: 0 / 0.604 GB, free: 1.789 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.6713, allocations: 3.938 kB / 0.604 GB, free: 1.785 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.6713, allocations: 7.938 kB / 0.604 GB, free: 1.777 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007569/0.672, allocations: 0.6636 MB / 0.6047 GB, free: 1.168 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.672, allocations: 0 / 0.6047 GB, free: 1.168 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/0.6722, allocations: 34.98 kB / 0.6047 GB, free: 1.137 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.6722, allocations: 3.938 kB / 0.6047 GB, free: 1.133 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.6722, allocations: 3.984 kB / 0.6047 GB, free: 1.129 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.6722, allocations: 4 kB / 0.6047 GB, free: 1.125 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.6722, allocations: 384 / 0.6047 GB, free: 1.125 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002412/0.6725, allocations: 281.2 kB / 0.605 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003242/0.6728, allocations: 0.6726 MB / 0.6056 GB, free: 168 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001655/0.673, allocations: 162.5 kB / 0.6058 GB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.44e-05/0.673, allocations: 7.984 kB / 0.6058 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.6732, allocations: 16 kB / 0.6058 GB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.491e-05/0.6732, allocations: 7.984 kB / 0.6058 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.6732, allocations: 4 kB / 0.6058 GB, free: 15.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0005451/0.6738, allocations: 0.6159 MB / 0.6064 GB, free: 15.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009006/0.6747, allocations: 78.89 kB / 0.6065 GB, free: 15.45 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0005646/0.6753, allocations: 334 kB / 0.6068 GB, free: 15.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001436/0.6754, allocations: 84.92 kB / 0.6069 GB, free: 15.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.6754, allocations: 0 / 0.6069 GB, free: 15.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.703e-05/0.6755, allocations: 53.86 kB / 0.607 GB, free: 15.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.6757, allocations: 21.08 kB / 0.607 GB, free: 15.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.6768, allocations: 0.7937 MB / 0.6077 GB, free: 14.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004167/0.6772, allocations: 0.8732 MB / 0.6086 GB, free: 13.46 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.6772, allocations: 4 kB / 0.6086 GB, free: 13.45 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test3_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test3.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat does not exist to compare? outputFormat=mat