Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.conf.json 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) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial") [: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/Buildings 7.0.1/package.mo): time 2.213/2.213, allocations: 253.1 MB / 260.4 MB, free: 7.512 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001613/0.001613, allocations: 185.2 kB / 319.6 MB, free: 3.297 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.895/1.895, allocations: 205.4 MB / 0.5704 GB, free: 14.93 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001294/0.001293, allocations: 93 kB / 0.6746 GB, free: 4.289 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.184e-05/1.202e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2027/0.2027, allocations: 106.2 MB / 0.8881 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6224/0.8251, allocations: 131 MB / 1.016 GB, free: 7.336 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000277/0.8255, allocations: 70.64 kB / 1.016 GB, free: 7.297 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.001321/0.8268, allocations: 177.8 kB / 1.016 GB, free: 7.152 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.8269, allocations: 0 / 1.016 GB, free: 7.152 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002738/0.8272, allocations: 302.5 kB / 1.016 GB, free: 6.812 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.8272, allocations: 8.031 kB / 1.016 GB, free: 6.801 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.983e-05/0.8272, allocations: 3.906 kB / 1.016 GB, free: 6.797 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.8274, allocations: 159.1 kB / 1.017 GB, free: 6.602 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.8274, allocations: 0 / 1.017 GB, free: 6.602 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.925e-06/0.8274, allocations: 0 / 1.017 GB, free: 6.602 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.166e-05/0.8275, allocations: 10.92 kB / 1.017 GB, free: 6.594 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.22e-05/0.8275, allocations: 28.39 kB / 1.017 GB, free: 6.562 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.8276, allocations: 0 / 1.017 GB, free: 6.562 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.8276, allocations: 0 / 1.017 GB, free: 6.562 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.8276, allocations: 1.312 kB / 1.017 GB, free: 6.562 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001596/0.8278, allocations: 134.1 kB / 1.017 GB, free: 6.395 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.889e-05/0.8278, allocations: 21.2 kB / 1.017 GB, free: 6.367 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.167e-05/0.8278, allocations: 4.859 kB / 1.017 GB, free: 6.359 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.746e-05/0.8279, allocations: 8.078 kB / 1.017 GB, free: 6.352 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.747e-05/0.8279, allocations: 37.36 kB / 1.017 GB, free: 6.309 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.472e-06/0.828, allocations: 0 / 1.017 GB, free: 6.309 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001915/0.8282, allocations: 29.7 kB / 1.017 GB, free: 6.273 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.8282, allocations: 51.41 kB / 1.017 GB, free: 6.211 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.887e-05/0.8283, allocations: 89.03 kB / 1.017 GB, free: 6.117 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.8283, allocations: 25.7 kB / 1.017 GB, free: 6.086 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.926e-05/0.8283, allocations: 80.14 kB / 1.017 GB, free: 6.004 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.132e-05/0.8284, allocations: 12.69 kB / 1.017 GB, free: 5.992 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-06/0.8284, allocations: 0 / 1.017 GB, free: 5.992 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.8286, allocations: 314.3 kB / 1.017 GB, free: 5.68 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.1e-05/0.8286, allocations: 0 / 1.017 GB, free: 5.68 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.394e-06/0.8286, allocations: 0 / 1.017 GB, free: 5.68 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.156e-05/0.8287, allocations: 12.05 kB / 1.017 GB, free: 5.668 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.8287, allocations: 0 / 1.017 GB, free: 5.668 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.677e-05/0.8288, allocations: 29.7 kB / 1.018 GB, free: 5.633 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.8288, allocations: 8 kB / 1.018 GB, free: 5.625 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.8288, allocations: 3.938 kB / 1.018 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.8289, allocations: 0 / 1.018 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.813e-05/0.8289, allocations: 0 / 1.018 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.8289, allocations: 0 / 1.018 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.081e-05/0.829, allocations: 15.83 kB / 1.018 GB, free: 5.605 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.399e-05/0.829, allocations: 3.938 kB / 1.018 GB, free: 5.602 MB / 0.6355 GB 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 (1): * Single equations (assignments): 1 * 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.224e-05/0.8291, allocations: 105 kB / 1.018 GB, free: 5.492 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.175e-05/0.8291, allocations: 0.875 kB / 1.018 GB, free: 5.492 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001803/0.8293, allocations: 52.2 kB / 1.018 GB, free: 5.441 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.8293, allocations: 0 / 1.018 GB, free: 5.441 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.8293, allocations: 4.906 kB / 1.018 GB, free: 5.438 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.8293, allocations: 0 / 1.018 GB, free: 5.438 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.8295, allocations: 130.2 kB / 1.018 GB, free: 5.273 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.8295, allocations: 0 / 1.018 GB, free: 5.273 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.394e-05/0.8295, allocations: 0 / 1.018 GB, free: 5.273 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.8295, allocations: 0 / 1.018 GB, free: 5.273 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.8295, allocations: 4 kB / 1.018 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.8295, allocations: 4 kB / 1.018 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.8295, allocations: 0 / 1.018 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000128/0.8297, allocations: 68.41 kB / 1.018 GB, free: 5.184 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.8298, allocations: 77.11 kB / 1.018 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.8298, allocations: 4 kB / 1.018 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.654e-05/0.8298, allocations: 0 / 1.018 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.74e-05/0.8299, allocations: 3.984 kB / 1.018 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.864e-06/0.8299, allocations: 3.984 kB / 1.018 GB, free: 5.078 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.285e-05/0.8299, allocations: 75.28 kB / 1.018 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002587/0.8302, allocations: 8.75 kB / 1.018 GB, free: 4.996 MB / 0.6355 GB 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 (1): * Single equations (assignments): 1 * 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.0002035/0.8304, allocations: 107.3 kB / 1.018 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.426e-05/0.8305, allocations: 0 / 1.018 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.8305, allocations: 4 kB / 1.018 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.468e-06/0.8305, allocations: 0 / 1.018 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001132/0.8306, allocations: 6.562 kB / 1.018 GB, free: 4.871 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001815/0.8308, allocations: 55.84 kB / 1.018 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003342/0.8312, allocations: 0.6876 MB / 1.019 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of SimCode: time 6.82e-07/0.8312, allocations: 0 / 1.019 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of Templates: time 0.002724/0.8339, allocations: 306.5 kB / 1.019 GB, free: 3.789 MB / 0.6355 GB