Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.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.Test9,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test9,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test9",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.001153/0.001153, allocations: 192.1 kB / 7.804 MB, free: 2.5 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.397/1.397, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.001001/0.001001, allocations: 86.28 kB / 261.4 MB, free: 13.62 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.1951/0.1951, allocations: 43.48 MB / 352.8 MB, free: 2.051 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.217/0.4121, allocations: 64.99 MB / 417.8 MB, free: 40.49 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.7064, allocations: 58.83 MB / 476.6 MB, free: 5.18 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1469/0.8533, allocations: 85.86 MB / 0.5493 GB, free: 13.09 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003186/0.8537, allocations: 67.95 kB / 0.5494 GB, free: 13.02 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.03117/0.8849, allocations: 7.897 MB / 0.5571 GB, free: 5.066 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.5e-05/0.885, allocations: 8 kB / 0.5571 GB, free: 5.059 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001468/0.8851, allocations: 43.44 kB / 0.5571 GB, free: 5.016 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008629/0.886, allocations: 326.6 kB / 0.5575 GB, free: 4.656 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.8861, allocations: 4 kB / 0.5575 GB, free: 4.652 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/0.8861, allocations: 0 / 0.5575 GB, free: 4.652 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001064/0.8862, allocations: 12 kB / 0.5575 GB, free: 4.641 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.8863, allocations: 41.64 kB / 0.5575 GB, free: 4.594 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.8864, allocations: 4 kB / 0.5575 GB, free: 4.59 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.8864, allocations: 0 / 0.5575 GB, free: 4.59 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.8864, allocations: 0 / 0.5575 GB, free: 4.59 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009794/0.8874, allocations: 401.3 kB / 0.5579 GB, free: 4.16 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.8875, allocations: 30.56 kB / 0.5579 GB, free: 4.121 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.877e-05/0.8876, allocations: 16.8 kB / 0.5579 GB, free: 4.102 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.512e-05/0.8876, allocations: 4 kB / 0.5579 GB, free: 4.098 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.8877, allocations: 38.41 kB / 0.558 GB, free: 4.051 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 2.064e-06/0.8877, allocations: 0 / 0.558 GB, free: 4.051 MB / 394.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003359/0.888, allocations: 77.33 kB / 0.5581 GB, free: 3.969 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.424e-05/0.8881, allocations: 55.39 kB / 0.5581 GB, free: 3.902 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002142/0.8902, allocations: 0.7512 MB / 0.5588 GB, free: 3.145 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.8903, allocations: 29.7 kB / 0.5589 GB, free: 3.109 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.8904, allocations: 132 kB / 0.559 GB, free: 2.977 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.19e-05/0.8905, allocations: 15.83 kB / 0.559 GB, free: 2.961 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.19e-06/0.8905, allocations: 0 / 0.559 GB, free: 2.961 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002401/0.8907, allocations: 366.8 kB / 0.5594 GB, free: 2.594 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.963e-05/0.8908, allocations: 0 / 0.5594 GB, free: 2.594 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.858e-05/0.8908, allocations: 8 kB / 0.5594 GB, free: 2.586 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.552e-05/0.8909, allocations: 4 kB / 0.5594 GB, free: 2.582 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.8909, allocations: 0 / 0.5594 GB, free: 2.582 MB / 394.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002263/0.8911, allocations: 89.06 kB / 0.5595 GB, free: 2.488 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.8911, allocations: 10.81 kB / 0.5595 GB, free: 2.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.8912, allocations: 4 kB / 0.5595 GB, free: 2.477 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/0.8912, allocations: 0 / 0.5595 GB, free: 2.477 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.8914, allocations: 19.92 kB / 0.5595 GB, free: 2.457 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.8914, allocations: 0 / 0.5595 GB, free: 2.457 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/0.8915, allocations: 11.91 kB / 0.5595 GB, free: 2.445 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.8916, allocations: 0 / 0.5595 GB, free: 2.445 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 (3): * Single equations (assignments): 3 * 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 9.521e-05/0.8917, allocations: 106.4 kB / 0.5596 GB, free: 2.336 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001561/0.8918, allocations: 43.44 kB / 0.5596 GB, free: 2.293 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002856/0.8921, allocations: 105.2 kB / 0.5597 GB, free: 2.176 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.8921, allocations: 4 kB / 0.5598 GB, free: 2.172 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.8922, allocations: 0 / 0.5598 GB, free: 2.172 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.8922, allocations: 0 / 0.5598 GB, free: 2.172 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005084/0.8927, allocations: 302 kB / 0.56 GB, free: 1.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.8927, allocations: 4 kB / 0.56 GB, free: 1.836 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.922e-05/0.8928, allocations: 19.89 kB / 0.5601 GB, free: 1.816 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.8928, allocations: 4 kB / 0.5601 GB, free: 1.812 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.958e-06/0.8929, allocations: 0 / 0.5601 GB, free: 1.812 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.8929, allocations: 0 / 0.5601 GB, free: 1.812 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.8929, allocations: 0 / 0.5601 GB, free: 1.812 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00028/0.8932, allocations: 175 kB / 0.5602 GB, free: 1.625 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004435/0.8936, allocations: 0.5618 MB / 0.5608 GB, free: 1.043 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003497/0.894, allocations: 164.5 kB / 0.5609 GB, free: 0.8633 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.68e-05/0.8941, allocations: 0 / 0.5609 GB, free: 0.8633 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002019/0.8943, allocations: 11.98 kB / 0.561 GB, free: 0.8516 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.431e-05/0.8944, allocations: 3.938 kB / 0.561 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.491e-06/0.8944, allocations: 0 / 0.561 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.001149/0.8955, allocations: 0.6121 MB / 0.5616 GB, free: 244 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.001691/0.8972, allocations: 52 kB / 0.5616 GB, free: 192 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 (3): * Single equations (assignments): 3 * 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.0008546/0.8981, allocations: 257.2 kB / 0.5618 GB, free: 15.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000126/0.8983, allocations: 16 kB / 0.5619 GB, free: 15.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.8983, allocations: 0 / 0.5619 GB, free: 15.95 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.772e-05/0.8983, allocations: 11.94 kB / 0.5619 GB, free: 15.94 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000442/0.8988, allocations: 37.66 kB / 0.5619 GB, free: 15.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002025/0.9008, allocations: 0.6761 MB / 0.5626 GB, free: 15.19 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008006/0.9016, allocations: 0.8563 MB / 0.5634 GB, free: 14.3 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.9016, allocations: 4 kB / 0.5634 GB, free: 14.3 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test9_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test9.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe 2>&1)