Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.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.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test1",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.0009931/0.0009931, allocations: 206.2 kB / 8.538 MB, free: 1.723 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.098/1.098, allocations: 225.5 MB / 234.4 MB, free: 3.43 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008316/0.0008316, allocations: 93.22 kB / 286.3 MB, free: 5.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1548/0.1548, allocations: 45.15 MB / 383.4 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1818/0.3366, allocations: 69.36 MB / 452.7 MB, free: 76.13 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07715/0.4138, allocations: 63.24 MB / 0.5039 GB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2273/0.6412, allocations: 89.7 MB / 0.5915 GB, free: 13.14 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001951/0.6414, allocations: 71.52 kB / 0.5915 GB, free: 13.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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.01929/0.6607, allocations: 9.419 MB / 0.6007 GB, free: 4.82 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.6607, allocations: 8 kB / 0.6007 GB, free: 4.812 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.882e-05/0.6608, allocations: 47.44 kB / 0.6008 GB, free: 4.766 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004251/0.6612, allocations: 330 kB / 0.6011 GB, free: 4.414 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.228e-06/0.6613, allocations: 3.984 kB / 0.6011 GB, free: 4.41 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.6613, allocations: 4 kB / 0.6011 GB, free: 4.406 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.229e-05/0.6614, allocations: 18.56 kB / 0.6011 GB, free: 4.395 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.807e-05/0.6614, allocations: 53.12 kB / 0.6012 GB, free: 4.344 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.6615, allocations: 4 kB / 0.6012 GB, free: 4.34 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.6615, allocations: 0.6562 kB / 0.6012 GB, free: 4.34 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.6615, allocations: 0 / 0.6012 GB, free: 4.34 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005305/0.662, allocations: 440.5 kB / 0.6016 GB, free: 3.922 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.839e-05/0.6621, allocations: 41.11 kB / 0.6016 GB, free: 3.883 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.498e-05/0.6621, allocations: 12.48 kB / 0.6017 GB, free: 3.871 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.6622, allocations: 0 / 0.6017 GB, free: 3.871 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.696e-05/0.6622, allocations: 34.56 kB / 0.6017 GB, free: 3.828 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.6622, allocations: 3.938 kB / 0.6017 GB, free: 3.824 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005391/0.6627, allocations: 241.3 kB / 0.6019 GB, free: 3.605 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.144e-05/0.6628, allocations: 51.41 kB / 0.602 GB, free: 3.543 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009867/0.6638, allocations: 0.7616 MB / 0.6027 GB, free: 2.957 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.075e-05/0.6638, allocations: 29.7 kB / 0.6027 GB, free: 2.922 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.348e-05/0.6639, allocations: 143.5 kB / 0.6029 GB, free: 2.793 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.694e-05/0.6639, allocations: 30.8 kB / 0.6029 GB, free: 2.766 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-06/0.6639, allocations: 0 / 0.6029 GB, free: 2.766 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.664, allocations: 356.5 kB / 0.6032 GB, free: 2.426 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.464e-05/0.6641, allocations: 18.25 kB / 0.6033 GB, free: 2.414 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.34e-05/0.6641, allocations: 29.59 kB / 0.6033 GB, free: 2.395 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.364e-05/0.6642, allocations: 27.3 kB / 0.6033 GB, free: 2.375 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.6642, allocations: 0 / 0.6033 GB, free: 2.375 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001659/0.6643, allocations: 121.2 kB / 0.6034 GB, free: 2.266 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.6643, allocations: 8 kB / 0.6034 GB, free: 2.258 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.6644, allocations: 0 / 0.6034 GB, free: 2.258 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.6644, allocations: 0 / 0.6034 GB, free: 2.258 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.6645, allocations: 23.92 kB / 0.6035 GB, free: 2.234 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.6645, allocations: 0 / 0.6035 GB, free: 2.234 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.963e-05/0.6646, allocations: 15.98 kB / 0.6035 GB, free: 2.219 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.6646, allocations: 0 / 0.6035 GB, free: 2.219 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.786e-05/0.6647, allocations: 104.9 kB / 0.6036 GB, free: 2.109 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.799e-05/0.6647, allocations: 43.72 kB / 0.6036 GB, free: 2.066 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002413/0.665, allocations: 149.2 kB / 0.6038 GB, free: 1.934 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.665, allocations: 7.984 kB / 0.6038 GB, free: 1.926 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.665, allocations: 4 kB / 0.6038 GB, free: 1.922 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.665, allocations: 3.984 kB / 0.6038 GB, free: 1.918 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006812/0.6657, allocations: 0.5999 MB / 0.6044 GB, free: 1.359 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.6657, allocations: 0 / 0.6044 GB, free: 1.359 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.53e-05/0.6658, allocations: 27.3 kB / 0.6044 GB, free: 1.336 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.6658, allocations: 4 kB / 0.6044 GB, free: 1.332 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.6658, allocations: 7.938 kB / 0.6044 GB, free: 1.324 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.6658, allocations: 0 / 0.6044 GB, free: 1.324 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.6659, allocations: 0 / 0.6044 GB, free: 1.324 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002078/0.6661, allocations: 230.5 kB / 0.6046 GB, free: 1.09 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002921/0.6664, allocations: 0.6278 MB / 0.6052 GB, free: 464 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001588/0.6665, allocations: 163.1 kB / 0.6054 GB, free: 292 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.109e-05/0.6666, allocations: 0 / 0.6054 GB, free: 292 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.6667, allocations: 11.98 kB / 0.6054 GB, free: 280 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.354e-05/0.6668, allocations: 4 kB / 0.6054 GB, free: 276 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.6668, allocations: 7.938 kB / 0.6054 GB, free: 268 kB / 394.7 MB Notification: Performance of sort global known variables: time 0.0005659/0.6673, allocations: 0.6201 MB / 0.606 GB, free: 15.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009764/0.6683, allocations: 75.28 kB / 0.6061 GB, free: 15.75 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 (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.000586/0.6689, allocations: 328.3 kB / 0.6064 GB, free: 15.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000119/0.669, allocations: 57.61 kB / 0.6065 GB, free: 15.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.6691, allocations: 0 / 0.6065 GB, free: 15.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.602e-05/0.6691, allocations: 30.5 kB / 0.6065 GB, free: 15.44 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.6694, allocations: 24.77 kB / 0.6065 GB, free: 15.42 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.6704, allocations: 0.7446 MB / 0.6072 GB, free: 14.72 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004718/0.6709, allocations: 0.8741 MB / 0.6081 GB, free: 13.84 MB / 410.7 MB Notification: Performance of SimCode: time 2.7e-07/0.6709, allocations: 0 / 0.6081 GB, free: 13.84 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test1_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat does not exist to compare? outputFormat=mat