Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.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.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test2",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.0009872/0.000987, allocations: 185.5 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.233/1.233, allocations: 205.2 MB / 213.4 MB, free: 13.93 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.0009392/0.0009389, allocations: 91.78 kB / 261.4 MB, free: 13.64 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.1785/0.1785, allocations: 43.48 MB / 352.8 MB, free: 2.059 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1961/0.3746, allocations: 64.97 MB / 417.8 MB, free: 40.5 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.642, allocations: 58.83 MB / 476.7 MB, free: 5.207 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1222/0.7643, allocations: 86.48 MB / 0.5499 GB, free: 12.46 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002265/0.7646, allocations: 75.45 kB / 0.55 GB, free: 12.39 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.01932/0.7839, allocations: 8.168 MB / 0.558 GB, free: 4.16 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.09e-05/0.784, allocations: 12 kB / 0.558 GB, free: 4.148 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/0.7841, allocations: 43.38 kB / 0.558 GB, free: 4.105 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005676/0.7847, allocations: 335.3 kB / 0.5584 GB, free: 3.734 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.7847, allocations: 0 / 0.5584 GB, free: 3.734 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/0.7848, allocations: 4 kB / 0.5584 GB, free: 3.73 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.876e-05/0.7849, allocations: 20 kB / 0.5584 GB, free: 3.711 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.618e-05/0.785, allocations: 41.69 kB / 0.5584 GB, free: 3.664 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.785, allocations: 3.906 kB / 0.5584 GB, free: 3.66 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.785, allocations: 3.938 kB / 0.5584 GB, free: 3.656 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.785, allocations: 4 kB / 0.5584 GB, free: 3.652 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006774/0.7857, allocations: 425.2 kB / 0.5588 GB, free: 3.199 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000173/0.7859, allocations: 29.7 kB / 0.5589 GB, free: 3.164 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.444e-05/0.7859, allocations: 12.86 kB / 0.5589 GB, free: 3.148 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.7859, allocations: 7.938 kB / 0.5589 GB, free: 3.141 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.832e-05/0.786, allocations: 30.66 kB / 0.5589 GB, free: 3.102 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.633e-06/0.786, allocations: 0 / 0.5589 GB, free: 3.102 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005202/0.7865, allocations: 192 kB / 0.5591 GB, free: 2.906 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.7866, allocations: 59.31 kB / 0.5591 GB, free: 2.836 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00122/0.7878, allocations: 0.7551 MB / 0.5599 GB, free: 2.07 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.7878, allocations: 25.7 kB / 0.5599 GB, free: 2.039 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.7879, allocations: 136 kB / 0.56 GB, free: 1.902 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.324e-05/0.788, allocations: 19.8 kB / 0.5601 GB, free: 1.883 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-06/0.788, allocations: 0 / 0.5601 GB, free: 1.883 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001847/0.7882, allocations: 362.7 kB / 0.5604 GB, free: 1.52 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.977e-05/0.7882, allocations: 12 kB / 0.5604 GB, free: 1.508 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.269e-05/0.7882, allocations: 12 kB / 0.5604 GB, free: 1.496 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.028e-05/0.7883, allocations: 20.17 kB / 0.5604 GB, free: 1.477 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.7883, allocations: 4 kB / 0.5605 GB, free: 1.473 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001582/0.7885, allocations: 97.16 kB / 0.5605 GB, free: 1.371 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.7885, allocations: 4 kB / 0.5605 GB, free: 1.367 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.7885, allocations: 3.906 kB / 0.5606 GB, free: 1.363 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.7885, allocations: 0 / 0.5606 GB, free: 1.363 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.291e-05/0.7886, allocations: 19.98 kB / 0.5606 GB, free: 1.344 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.7886, allocations: 4 kB / 0.5606 GB, free: 1.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8e-05/0.7887, allocations: 4 kB / 0.5606 GB, free: 1.336 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.7887, allocations: 0 / 0.5606 GB, free: 1.336 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 (5): * Single equations (assignments): 5 * 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 8.471e-05/0.7888, allocations: 110.4 kB / 0.5607 GB, free: 1.223 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.071e-05/0.7889, allocations: 39.44 kB / 0.5607 GB, free: 1.184 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000237/0.7892, allocations: 129.1 kB / 0.5608 GB, free: 1.047 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.7892, allocations: 0 / 0.5608 GB, free: 1.047 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.7892, allocations: 4 kB / 0.5608 GB, free: 1.043 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.7892, allocations: 0 / 0.5608 GB, free: 1.043 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006865/0.7899, allocations: 0.5497 MB / 0.5614 GB, free: 460 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.7899, allocations: 0 / 0.5614 GB, free: 460 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.289e-05/0.79, allocations: 19.98 kB / 0.5614 GB, free: 440 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.79, allocations: 144 / 0.5614 GB, free: 440 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.79, allocations: 0 / 0.5614 GB, free: 440 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.79, allocations: 4 kB / 0.5614 GB, free: 436 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/0.79, allocations: 7.891 kB / 0.5614 GB, free: 428 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002105/0.7902, allocations: 203 kB / 0.5616 GB, free: 208 kB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003345/0.7906, allocations: 0.5814 MB / 0.5622 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001809/0.7908, allocations: 164.5 kB / 0.5623 GB, free: 15.42 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.345e-05/0.7908, allocations: 0 / 0.5623 GB, free: 15.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.791, allocations: 4 kB / 0.5623 GB, free: 15.42 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.658e-05/0.791, allocations: 7.984 kB / 0.5623 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.791, allocations: 0 / 0.5623 GB, free: 15.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0007214/0.7917, allocations: 0.6121 MB / 0.5629 GB, free: 14.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009564/0.7927, allocations: 59.94 kB / 0.563 GB, free: 14.74 MB / 410.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 (5): * Single equations (assignments): 5 * 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.0006514/0.7934, allocations: 290.3 kB / 0.5633 GB, free: 14.49 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001215/0.7935, allocations: 28 kB / 0.5633 GB, free: 14.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.7935, allocations: 0 / 0.5633 GB, free: 14.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.867e-05/0.7936, allocations: 24.17 kB / 0.5633 GB, free: 14.44 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/0.7939, allocations: 37.66 kB / 0.5634 GB, free: 14.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.7951, allocations: 0.7075 MB / 0.5641 GB, free: 13.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000569/0.7957, allocations: 0.8567 MB / 0.5649 GB, free: 12.77 MB / 410.7 MB Notification: Performance of SimCode: time 3.31e-07/0.7957, allocations: 0 / 0.5649 GB, free: 12.77 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test2_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1)