Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test33.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.CombiTable1D.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test33") translateModel(ModelicaTest.Tables.CombiTable1D.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test33") [: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.002419/0.002419, allocations: 178.2 kB / 8.154 MB, free: 2.199 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.701/1.701, allocations: 205.2 MB / 213.8 MB, free: 13.91 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.001274/0.001274, allocations: 87.48 kB / 261.8 MB, free: 13.59 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.3139/0.3139, allocations: 43.5 MB / 353.2 MB, free: 2.004 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.999e-06/1.03e-05, allocations: 4 kB / 417.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2783, allocations: 58.84 MB / 476.5 MB, free: 5.082 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1736/0.4519, allocations: 85.97 MB / 0.5493 GB, free: 13.09 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/0.4522, allocations: 71.97 kB / 0.5494 GB, free: 13.02 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02559/0.4778, allocations: 5.784 MB / 0.555 GB, free: 7.246 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.4779, allocations: 0 / 0.555 GB, free: 7.246 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.0005393/0.4784, allocations: 394.3 kB / 0.5554 GB, free: 6.816 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.4785, allocations: 8.031 kB / 0.5554 GB, free: 6.809 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.502e-05/0.4785, allocations: 7.906 kB / 0.5554 GB, free: 6.801 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002856/0.4788, allocations: 190.9 kB / 0.5556 GB, free: 6.574 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.4788, allocations: 0 / 0.5556 GB, free: 6.574 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.181e-05/0.4789, allocations: 0 / 0.5556 GB, free: 6.574 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.433e-05/0.479, allocations: 19.91 kB / 0.5556 GB, free: 6.555 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.4791, allocations: 59.41 kB / 0.5557 GB, free: 6.484 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.4791, allocations: 3.938 kB / 0.5557 GB, free: 6.48 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.4792, allocations: 0 / 0.5557 GB, free: 6.48 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.4792, allocations: 0 / 0.5557 GB, free: 6.48 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004772/0.4797, allocations: 261.4 kB / 0.5559 GB, free: 6.188 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001972/0.4799, allocations: 33.7 kB / 0.556 GB, free: 6.148 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.815e-05/0.4799, allocations: 12.86 kB / 0.556 GB, free: 6.133 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.48, allocations: 0 / 0.556 GB, free: 6.133 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.48, allocations: 34.56 kB / 0.556 GB, free: 6.09 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.603e-06/0.48, allocations: 0 / 0.556 GB, free: 6.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005114/0.4805, allocations: 113.4 kB / 0.5561 GB, free: 5.973 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.39e-05/0.4806, allocations: 77.11 kB / 0.5562 GB, free: 5.879 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.4808, allocations: 121.6 kB / 0.5563 GB, free: 5.754 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.4808, allocations: 25.7 kB / 0.5563 GB, free: 5.723 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.361e-05/0.4809, allocations: 150.6 kB / 0.5565 GB, free: 5.574 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.201e-05/0.4809, allocations: 23.73 kB / 0.5565 GB, free: 5.551 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-06/0.4809, allocations: 4 kB / 0.5565 GB, free: 5.547 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.4811, allocations: 310.8 kB / 0.5568 GB, free: 5.234 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.887e-05/0.4811, allocations: 8 kB / 0.5568 GB, free: 5.227 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.314e-05/0.4812, allocations: 25.72 kB / 0.5568 GB, free: 5.195 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.328e-05/0.4812, allocations: 15.98 kB / 0.5569 GB, free: 5.18 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.4813, allocations: 7.844 kB / 0.5569 GB, free: 5.172 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001553/0.4814, allocations: 65.62 kB / 0.5569 GB, free: 5.102 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.4814, allocations: 4 kB / 0.5569 GB, free: 5.098 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.4815, allocations: 7.969 kB / 0.5569 GB, free: 5.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.4815, allocations: 144 / 0.5569 GB, free: 5.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.4816, allocations: 15.98 kB / 0.557 GB, free: 5.074 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.4816, allocations: 0 / 0.557 GB, free: 5.074 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.815e-05/0.4817, allocations: 8 kB / 0.557 GB, free: 5.066 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.4817, allocations: 3.984 kB / 0.557 GB, free: 5.062 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 5.206e-05/0.4818, allocations: 31.11 kB / 0.557 GB, free: 5.027 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.625e-05/0.4819, allocations: 11.89 kB / 0.557 GB, free: 5.016 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002381/0.4821, allocations: 81.58 kB / 0.5571 GB, free: 4.926 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.4821, allocations: 0 / 0.5571 GB, free: 4.926 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/0.4821, allocations: 4 kB / 0.5571 GB, free: 4.922 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.4822, allocations: 0 / 0.5571 GB, free: 4.922 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004984/0.4827, allocations: 307.1 kB / 0.5574 GB, free: 4.578 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.4827, allocations: 0 / 0.5574 GB, free: 4.578 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/0.4828, allocations: 19.98 kB / 0.5574 GB, free: 4.559 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.4828, allocations: 4.312 kB / 0.5574 GB, free: 4.555 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.4829, allocations: 0 / 0.5574 GB, free: 4.555 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.4829, allocations: 4 kB / 0.5574 GB, free: 4.551 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.4829, allocations: 0 / 0.5574 GB, free: 4.551 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000193/0.4831, allocations: 159.5 kB / 0.5576 GB, free: 4.379 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.283e-05/0.4832, allocations: 89 kB / 0.5576 GB, free: 4.273 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.546e-05/0.4832, allocations: 4 kB / 0.5576 GB, free: 4.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.4833, allocations: 4 kB / 0.5577 GB, free: 4.266 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.018e-05/0.4834, allocations: 11.98 kB / 0.5577 GB, free: 4.254 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.4834, allocations: 0 / 0.5577 GB, free: 4.254 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001031/0.4835, allocations: 111.7 kB / 0.5578 GB, free: 4.145 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003211/0.4839, allocations: 23.98 kB / 0.5578 GB, free: 4.121 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 (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.0009531/0.4848, allocations: 345 kB / 0.5581 GB, free: 3.816 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001513/0.485, allocations: 35.98 kB / 0.5582 GB, free: 3.781 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.485, allocations: 0 / 0.5582 GB, free: 3.781 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.424e-05/0.4851, allocations: 16 kB / 0.5582 GB, free: 3.766 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.4854, allocations: 19.84 kB / 0.5582 GB, free: 3.746 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003938/0.4858, allocations: 129.5 kB / 0.5583 GB, free: 3.586 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003899/0.4862, allocations: 0.7192 MB / 0.559 GB, free: 2.84 MB / 394.7 MB Notification: Performance of SimCode: time 7.62e-07/0.4862, allocations: 0 / 0.559 GB, free: 2.84 MB / 394.7 MB Notification: Performance of Templates: time 0.004565/0.4908, allocations: 1.614 MB / 0.5606 GB, free: 1.227 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test33.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test33.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test33.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test33.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test33 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test33.pipe 2>&1)