Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test14,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test14,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test14",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 3.2.3+maint.om/package.mo): time 0.001681/0.001681, allocations: 193 kB / 7.806 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.448/1.448, allocations: 205.2 MB / 213.4 MB, free: 13.91 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009058/0.0009057, allocations: 96.86 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1882/0.1882, allocations: 43.48 MB / 352.8 MB, free: 1.969 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.187/0.3752, allocations: 64.97 MB / 417.8 MB, free: 40.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.6683, allocations: 58.83 MB / 476.6 MB, free: 5.188 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1225/0.7908, allocations: 86.31 MB / 0.5498 GB, free: 12.6 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002898/0.7912, allocations: 71.97 kB / 0.5498 GB, free: 12.53 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.01809/0.8093, allocations: 6.351 MB / 0.556 GB, free: 6.137 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.8093, allocations: 12 kB / 0.5561 GB, free: 6.125 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.122e-05/0.8094, allocations: 15.75 kB / 0.5561 GB, free: 6.109 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002559/0.8097, allocations: 198.8 kB / 0.5563 GB, free: 5.875 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.226e-06/0.8097, allocations: 0 / 0.5563 GB, free: 5.875 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.571e-05/0.8097, allocations: 7.938 kB / 0.5563 GB, free: 5.867 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.667e-05/0.8098, allocations: 12 kB / 0.5563 GB, free: 5.855 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.8099, allocations: 63.41 kB / 0.5563 GB, free: 5.781 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.8099, allocations: 3.984 kB / 0.5563 GB, free: 5.777 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.81, allocations: 0 / 0.5563 GB, free: 5.777 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.81, allocations: 4 kB / 0.5563 GB, free: 5.773 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003531/0.8103, allocations: 265.3 kB / 0.5566 GB, free: 5.477 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.184e-05/0.8104, allocations: 34.58 kB / 0.5566 GB, free: 5.434 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.008e-05/0.8105, allocations: 12.86 kB / 0.5566 GB, free: 5.418 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.435e-05/0.8105, allocations: 0 / 0.5566 GB, free: 5.418 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.8105, allocations: 38.47 kB / 0.5567 GB, free: 5.371 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.8105, allocations: 0 / 0.5567 GB, free: 5.371 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005075/0.811, allocations: 137.5 kB / 0.5568 GB, free: 5.23 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.694e-05/0.8111, allocations: 77.11 kB / 0.5569 GB, free: 5.137 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.8112, allocations: 129.2 kB / 0.557 GB, free: 5 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.8113, allocations: 25.7 kB / 0.557 GB, free: 4.969 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.087e-05/0.8113, allocations: 92.12 kB / 0.5571 GB, free: 4.875 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.208e-05/0.8113, allocations: 15.72 kB / 0.5571 GB, free: 4.859 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.668e-06/0.8114, allocations: 4 kB / 0.5571 GB, free: 4.855 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.8115, allocations: 322.7 kB / 0.5574 GB, free: 4.531 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.223e-05/0.8115, allocations: 16 kB / 0.5575 GB, free: 4.516 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.444e-05/0.8115, allocations: 21.72 kB / 0.5575 GB, free: 4.488 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.051e-05/0.8116, allocations: 16 kB / 0.5575 GB, free: 4.473 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.8116, allocations: 0 / 0.5575 GB, free: 4.473 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001568/0.8118, allocations: 73.53 kB / 0.5576 GB, free: 4.395 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.8118, allocations: 4.031 kB / 0.5576 GB, free: 4.391 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.8118, allocations: 4 kB / 0.5576 GB, free: 4.387 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.8118, allocations: 0 / 0.5576 GB, free: 4.387 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.812, allocations: 27.97 kB / 0.5576 GB, free: 4.359 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.812, allocations: 320 / 0.5576 GB, free: 4.359 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.679e-05/0.8121, allocations: 19.94 kB / 0.5576 GB, free: 4.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.8121, allocations: 7.984 kB / 0.5576 GB, free: 4.332 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 7.69e-05/0.8121, allocations: 106.4 kB / 0.5577 GB, free: 4.223 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.665e-05/0.8122, allocations: 15.75 kB / 0.5577 GB, free: 4.207 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001759/0.8124, allocations: 90.08 kB / 0.5578 GB, free: 4.109 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.8124, allocations: 0 / 0.5578 GB, free: 4.109 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.8124, allocations: 0 / 0.5578 GB, free: 4.109 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.8124, allocations: 4 kB / 0.5578 GB, free: 4.105 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003554/0.8128, allocations: 323 kB / 0.5581 GB, free: 3.746 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.8128, allocations: 0 / 0.5581 GB, free: 3.746 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.8129, allocations: 27.92 kB / 0.5582 GB, free: 3.719 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.8129, allocations: 0 / 0.5582 GB, free: 3.719 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.8129, allocations: 7.938 kB / 0.5582 GB, free: 3.711 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.8129, allocations: 4 kB / 0.5582 GB, free: 3.707 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.8129, allocations: 0 / 0.5582 GB, free: 3.707 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001584/0.8131, allocations: 171.4 kB / 0.5583 GB, free: 3.523 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002367/0.8133, allocations: 0.5349 MB / 0.5589 GB, free: 2.969 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.489e-05/0.8134, allocations: 97 kB / 0.559 GB, free: 2.855 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.8134, allocations: 0 / 0.559 GB, free: 2.855 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.8135, allocations: 15.94 kB / 0.559 GB, free: 2.84 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.682e-05/0.8136, allocations: 3.984 kB / 0.559 GB, free: 2.836 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.8136, allocations: 4 kB / 0.559 GB, free: 2.832 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.002e-05/0.8137, allocations: 107.3 kB / 0.5591 GB, free: 2.727 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000845/0.8145, allocations: 39.89 kB / 0.5591 GB, free: 2.688 MB / 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.000738/0.8153, allocations: 333.2 kB / 0.5594 GB, free: 2.406 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001412/0.8154, allocations: 43.92 kB / 0.5595 GB, free: 2.363 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.8154, allocations: 8 kB / 0.5595 GB, free: 2.355 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.519e-05/0.8155, allocations: 20 kB / 0.5595 GB, free: 2.336 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000229/0.8157, allocations: 27.72 kB / 0.5595 GB, free: 2.309 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003596/0.8161, allocations: 107.5 kB / 0.5596 GB, free: 2.18 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003139/0.8164, allocations: 0.7153 MB / 0.5603 GB, free: 1.438 MB / 394.7 MB Notification: Performance of SimCode: time 1.743e-06/0.8164, allocations: 4 kB / 0.5603 GB, free: 1.434 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test14_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test14.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14_res.mat does not exist to compare? outputFormat=mat