Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001625/0.001625, allocations: 171.8 kB / 8.149 MB, free: 2.223 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.742/1.742, allocations: 205.2 MB / 213.8 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001275/0.001274, allocations: 94.22 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.274/0.274, allocations: 43.51 MB / 353.2 MB, free: 2.031 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.037e-06/9.127e-06, allocations: 0 / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.3104, allocations: 58.84 MB / 476.5 MB, free: 5.082 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1558/0.4664, allocations: 86.7 MB / 0.55 GB, free: 12.38 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002592/0.4667, allocations: 67.97 kB / 0.5501 GB, free: 12.31 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02616/0.4928, allocations: 6.057 MB / 0.556 GB, free: 6.246 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.23e-05/0.4929, allocations: 3.938 kB / 0.556 GB, free: 6.242 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.0006028/0.4935, allocations: 410.2 kB / 0.5564 GB, free: 5.797 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.4936, allocations: 12.03 kB / 0.5564 GB, free: 5.785 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.117e-05/0.4936, allocations: 11.81 kB / 0.5564 GB, free: 5.773 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002916/0.4939, allocations: 198.8 kB / 0.5566 GB, free: 5.539 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.494, allocations: 0 / 0.5566 GB, free: 5.539 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.344e-05/0.494, allocations: 4 kB / 0.5566 GB, free: 5.535 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001103/0.4941, allocations: 20 kB / 0.5567 GB, free: 5.516 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.4943, allocations: 59.39 kB / 0.5567 GB, free: 5.445 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.4943, allocations: 7.984 kB / 0.5567 GB, free: 5.438 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.4944, allocations: 0 / 0.5567 GB, free: 5.438 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.4944, allocations: 4 kB / 0.5567 GB, free: 5.434 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005509/0.4949, allocations: 285.3 kB / 0.557 GB, free: 5.117 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.495, allocations: 42.48 kB / 0.557 GB, free: 5.066 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.913e-05/0.4951, allocations: 16.86 kB / 0.557 GB, free: 5.047 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.4951, allocations: 3.938 kB / 0.5571 GB, free: 5.043 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.4952, allocations: 38.64 kB / 0.5571 GB, free: 4.996 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.643e-06/0.4952, allocations: 0 / 0.5571 GB, free: 4.996 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006829/0.4959, allocations: 149.3 kB / 0.5572 GB, free: 4.844 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.399e-05/0.496, allocations: 85.05 kB / 0.5573 GB, free: 4.742 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/0.4961, allocations: 125.2 kB / 0.5574 GB, free: 4.609 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.4962, allocations: 25.7 kB / 0.5575 GB, free: 4.578 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.515e-05/0.4963, allocations: 162.4 kB / 0.5576 GB, free: 4.418 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.11e-05/0.4963, allocations: 15.7 kB / 0.5576 GB, free: 4.402 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.193e-06/0.4963, allocations: 4 kB / 0.5576 GB, free: 4.398 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.4965, allocations: 318.8 kB / 0.5579 GB, free: 4.078 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.108e-05/0.4965, allocations: 28.05 kB / 0.558 GB, free: 4.051 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.772e-05/0.4967, allocations: 29.72 kB / 0.558 GB, free: 4.016 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.4e-05/0.4968, allocations: 24.22 kB / 0.558 GB, free: 3.992 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.4968, allocations: 0 / 0.558 GB, free: 3.992 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002113/0.497, allocations: 85.59 kB / 0.5581 GB, free: 3.902 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.497, allocations: 4 kB / 0.5581 GB, free: 3.898 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.497, allocations: 4.031 kB / 0.5581 GB, free: 3.895 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.4971, allocations: 3.906 kB / 0.5581 GB, free: 3.891 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002144/0.4973, allocations: 23.98 kB / 0.5581 GB, free: 3.867 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.4973, allocations: 0 / 0.5581 GB, free: 3.867 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.4974, allocations: 19.98 kB / 0.5581 GB, free: 3.848 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.4974, allocations: 0 / 0.5581 GB, free: 3.848 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 5.915e-05/0.4975, allocations: 31.11 kB / 0.5582 GB, free: 3.812 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.027e-05/0.4976, allocations: 7.906 kB / 0.5582 GB, free: 3.805 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002937/0.4979, allocations: 102.1 kB / 0.5583 GB, free: 3.695 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.4979, allocations: 0 / 0.5583 GB, free: 3.695 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.4979, allocations: 3.906 kB / 0.5583 GB, free: 3.691 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.4979, allocations: 4 kB / 0.5583 GB, free: 3.688 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005428/0.4985, allocations: 347 kB / 0.5586 GB, free: 3.305 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.4985, allocations: 0 / 0.5586 GB, free: 3.305 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001854/0.4987, allocations: 23.98 kB / 0.5586 GB, free: 3.281 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.4987, allocations: 3.906 kB / 0.5586 GB, free: 3.277 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.4987, allocations: 7.984 kB / 0.5587 GB, free: 3.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.4987, allocations: 7.938 kB / 0.5587 GB, free: 3.262 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.4988, allocations: 0 / 0.5587 GB, free: 3.262 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002476/0.499, allocations: 175.7 kB / 0.5588 GB, free: 3.074 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.571e-05/0.4991, allocations: 89 kB / 0.5589 GB, free: 2.969 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.2e-05/0.4991, allocations: 0 / 0.5589 GB, free: 2.969 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001758/0.4993, allocations: 23.92 kB / 0.5589 GB, free: 2.945 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.694e-05/0.4994, allocations: 15.88 kB / 0.559 GB, free: 2.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.4994, allocations: 0 / 0.559 GB, free: 2.93 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001023/0.4995, allocations: 110 kB / 0.5591 GB, free: 2.824 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003331/0.4999, allocations: 28 kB / 0.5591 GB, free: 2.797 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.0009811/0.5009, allocations: 346.1 kB / 0.5594 GB, free: 2.492 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002187/0.5011, allocations: 51.98 kB / 0.5595 GB, free: 2.441 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.5011, allocations: 0 / 0.5595 GB, free: 2.441 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.689e-05/0.5012, allocations: 31.98 kB / 0.5595 GB, free: 2.41 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/0.5015, allocations: 11.94 kB / 0.5595 GB, free: 2.398 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005194/0.5021, allocations: 165.2 kB / 0.5597 GB, free: 2.207 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004321/0.5025, allocations: 0.7192 MB / 0.5604 GB, free: 1.461 MB / 394.7 MB Notification: Performance of SimCode: time 8.82e-07/0.5025, allocations: 0 / 0.5604 GB, free: 1.461 MB / 394.7 MB Notification: Performance of Templates: time 0.005217/0.5078, allocations: 1.882 MB / 0.5622 GB, free: 15.58 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1)