Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.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.CombiTable2Ds.Test10,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test10,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test10",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.001064/0.001064, allocations: 203.6 kB / 8.541 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.326/1.326, allocations: 225.5 MB / 234.4 MB, free: 3.336 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009121/0.0009121, allocations: 99.69 kB / 286.3 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1859/0.1859, allocations: 45.14 MB / 383.3 MB, free: 0.543 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2471/0.433, allocations: 69.37 MB / 452.7 MB, free: 76.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.5424, allocations: 63.25 MB / 0.5039 GB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.306/0.8485, allocations: 89.41 MB / 0.5912 GB, free: 13.33 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001778/0.8487, allocations: 71.03 kB / 0.5913 GB, free: 13.3 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.02675/0.8755, allocations: 12.15 MB / 0.6031 GB, free: 3.742 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.8755, allocations: 16 kB / 0.6031 GB, free: 3.727 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.782e-05/0.8756, allocations: 7.906 kB / 0.6031 GB, free: 3.719 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002783/0.8759, allocations: 201.2 kB / 0.6033 GB, free: 3.488 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.8759, allocations: 7.938 kB / 0.6033 GB, free: 3.48 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.8759, allocations: 4 kB / 0.6033 GB, free: 3.477 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.82e-05/0.876, allocations: 15.19 kB / 0.6034 GB, free: 3.469 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.8761, allocations: 59.06 kB / 0.6034 GB, free: 3.402 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.8761, allocations: 0 / 0.6034 GB, free: 3.402 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.8761, allocations: 0 / 0.6034 GB, free: 3.402 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.8762, allocations: 4 kB / 0.6034 GB, free: 3.398 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003516/0.8765, allocations: 274.4 kB / 0.6037 GB, free: 3.113 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.041e-05/0.8766, allocations: 29.45 kB / 0.6037 GB, free: 3.082 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.012e-05/0.8766, allocations: 16.45 kB / 0.6037 GB, free: 3.066 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.856e-05/0.8767, allocations: 3.984 kB / 0.6037 GB, free: 3.062 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.8767, allocations: 38.56 kB / 0.6038 GB, free: 3.016 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.453e-06/0.8767, allocations: 0 / 0.6038 GB, free: 3.016 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005247/0.8772, allocations: 138.9 kB / 0.6039 GB, free: 2.891 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.8773, allocations: 85.11 kB / 0.604 GB, free: 2.789 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/0.8775, allocations: 138.7 kB / 0.6041 GB, free: 2.664 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.8775, allocations: 25.7 kB / 0.6041 GB, free: 2.633 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.363e-05/0.8775, allocations: 92 kB / 0.6042 GB, free: 2.543 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/0.8775, allocations: 19.66 kB / 0.6042 GB, free: 2.523 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-06/0.8776, allocations: 0 / 0.6042 GB, free: 2.523 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.349e-05/0.8776, allocations: 322.3 kB / 0.6045 GB, free: 2.203 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.14e-05/0.8777, allocations: 15.19 kB / 0.6046 GB, free: 2.195 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.449e-05/0.8777, allocations: 28.47 kB / 0.6046 GB, free: 2.168 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.587e-05/0.8778, allocations: 19.83 kB / 0.6046 GB, free: 2.152 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.8778, allocations: 0 / 0.6046 GB, free: 2.152 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001187/0.8779, allocations: 71.92 kB / 0.6047 GB, free: 2.086 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.8779, allocations: 7.438 kB / 0.6047 GB, free: 2.082 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.8779, allocations: 4.297 kB / 0.6047 GB, free: 2.078 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.047e-06/0.8779, allocations: 0 / 0.6047 GB, free: 2.078 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.8781, allocations: 28.02 kB / 0.6047 GB, free: 2.051 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.8781, allocations: 0 / 0.6047 GB, free: 2.051 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.221e-05/0.8782, allocations: 15.98 kB / 0.6047 GB, free: 2.035 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/0.8782, allocations: 3.984 kB / 0.6047 GB, free: 2.031 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 (7): * Single equations (assignments): 7 * 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.337e-05/0.8783, allocations: 112.2 kB / 0.6048 GB, free: 1.918 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.885e-05/0.8783, allocations: 11.81 kB / 0.6049 GB, free: 1.906 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001723/0.8785, allocations: 87.72 kB / 0.6049 GB, free: 1.82 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.8785, allocations: 3.938 kB / 0.6049 GB, free: 1.816 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.8785, allocations: 0 / 0.6049 GB, free: 1.816 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.8785, allocations: 0 / 0.6049 GB, free: 1.816 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003588/0.8789, allocations: 331.3 kB / 0.6053 GB, free: 1.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.8789, allocations: 0 / 0.6053 GB, free: 1.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.879, allocations: 27.98 kB / 0.6053 GB, free: 1.453 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.879, allocations: 0 / 0.6053 GB, free: 1.453 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.879, allocations: 0 / 0.6053 GB, free: 1.453 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.879, allocations: 0 / 0.6053 GB, free: 1.453 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.879, allocations: 3.938 kB / 0.6053 GB, free: 1.449 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001509/0.8792, allocations: 176.5 kB / 0.6055 GB, free: 1.273 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002777/0.8795, allocations: 0.5405 MB / 0.606 GB, free: 0.7305 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.078e-05/0.8796, allocations: 92.84 kB / 0.6061 GB, free: 0.625 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.443e-05/0.8796, allocations: 4 kB / 0.6061 GB, free: 0.6211 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.8797, allocations: 16 kB / 0.6061 GB, free: 0.6055 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.09e-05/0.8798, allocations: 7.984 kB / 0.6061 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.8798, allocations: 0 / 0.6061 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.943e-05/0.8799, allocations: 117 kB / 0.6062 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001105/0.881, allocations: 62.42 kB / 0.6063 GB, free: 456 kB / 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 (7): * Single equations (assignments): 7 * 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.0008092/0.8818, allocations: 392.5 kB / 0.6066 GB, free: 144 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001263/0.8819, allocations: 46.62 kB / 0.6067 GB, free: 112 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.8819, allocations: 3.938 kB / 0.6067 GB, free: 108 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.064e-05/0.882, allocations: 23.19 kB / 0.6067 GB, free: 92 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/0.8822, allocations: 8.297 kB / 0.6067 GB, free: 84 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003572/0.8826, allocations: 121.4 kB / 0.6068 GB, free: 15.95 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003201/0.8829, allocations: 0.7192 MB / 0.6075 GB, free: 15.21 MB / 410.7 MB Notification: Performance of SimCode: time 2.7e-07/0.8829, allocations: 0 / 0.6075 GB, free: 15.21 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test10_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test10.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10_res.mat does not exist to compare? outputFormat=mat