Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") [: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.034/2.034, allocations: 253.1 MB / 260.4 MB, free: 7.562 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.001634/0.001633, allocations: 181.2 kB / 319.6 MB, free: 3.305 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.792/1.792, allocations: 205.4 MB / 0.5704 GB, free: 15.05 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.001351/0.00135, allocations: 91.39 kB / 0.6746 GB, free: 4.418 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.296e-05/1.309e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2057/0.2058, allocations: 106.2 MB / 0.888 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.371/5.577, allocations: 2.182 GB / 3.07 GB, free: 177.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003354/5.577, allocations: 91.23 kB / 3.07 GB, free: 177.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 8.036/13.61, allocations: 1.725 GB / 4.795 GB, free: 119.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001586/13.61, allocations: 31.98 kB / 4.795 GB, free: 119.8 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.003203/13.62, allocations: 1.126 MB / 4.796 GB, free: 118.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/13.62, allocations: 8.031 kB / 4.796 GB, free: 118.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001446/13.62, allocations: 186.5 kB / 4.797 GB, free: 118.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004062/13.62, allocations: 1.096 MB / 4.798 GB, free: 117.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.963e-05/13.62, allocations: 16 kB / 4.798 GB, free: 117.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000174/13.62, allocations: 36 kB / 4.798 GB, free: 117.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001405/13.62, allocations: 493.7 kB / 4.798 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001451/13.63, allocations: 0.6811 MB / 4.799 GB, free: 116 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.384e-05/13.63, allocations: 11.88 kB / 4.799 GB, free: 116 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.742e-05/13.63, allocations: 0 / 4.799 GB, free: 116 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.937e-05/13.63, allocations: 20 kB / 4.799 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006644/13.63, allocations: 4.66 MB / 4.804 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/13.63, allocations: 450.5 kB / 4.804 GB, free: 110.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005167/13.63, allocations: 254.6 kB / 4.804 GB, free: 110.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004415/13.63, allocations: 198.2 kB / 4.804 GB, free: 110 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005312/13.63, allocations: 261.1 kB / 4.805 GB, free: 109.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=31): time 3.787e-06/13.63, allocations: 0 / 4.805 GB, free: 109.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=31): time 0.0018/13.64, allocations: 0.4938 MB / 4.805 GB, free: 109.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.851e-05/13.64, allocations: 89.03 kB / 4.805 GB, free: 109.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001919/13.64, allocations: 0.8713 MB / 4.806 GB, free: 108.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001535/13.64, allocations: 29.92 kB / 4.806 GB, free: 108.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003298/13.64, allocations: 336.1 kB / 4.806 GB, free: 107.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000122/13.64, allocations: 110.5 kB / 4.806 GB, free: 107.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.359e-05/13.64, allocations: 0 / 4.806 GB, free: 107.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.182e-05/13.64, allocations: 329.9 kB / 4.807 GB, free: 107.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004375/13.64, allocations: 192.8 kB / 4.807 GB, free: 107.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006394/13.64, allocations: 0.4997 MB / 4.807 GB, free: 106.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005676/13.64, allocations: 277.5 kB / 4.808 GB, free: 106.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.593e-06/13.64, allocations: 3.984 kB / 4.808 GB, free: 106.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001609/13.64, allocations: 0.6209 MB / 4.808 GB, free: 105.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004316/13.64, allocations: 2.101 MB / 4.81 GB, free: 103.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/13.64, allocations: 4 kB / 4.81 GB, free: 103.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.638e-05/13.64, allocations: 8 kB / 4.81 GB, free: 103.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/13.64, allocations: 127.8 kB / 4.811 GB, free: 103.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.5e-05/13.64, allocations: 11.94 kB / 4.811 GB, free: 103.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001547/13.65, allocations: 83.53 kB / 4.811 GB, free: 103.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001445/13.65, allocations: 24 kB / 4.811 GB, free: 103.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/13.65, allocations: 4 kB / 4.811 GB, free: 103.2 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009917/13.65, allocations: 419.8 kB / 4.811 GB, free: 102.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/13.65, allocations: 4 kB / 4.811 GB, free: 102.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/13.65, allocations: 8 kB / 4.811 GB, free: 102.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008431/13.65, allocations: 115.8 kB / 4.811 GB, free: 102.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/13.65, allocations: 8.188 kB / 4.811 GB, free: 102.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001441/13.65, allocations: 83.53 kB / 4.811 GB, free: 102.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.291e-05/13.65, allocations: 20 kB / 4.811 GB, free: 102.5 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0002189/13.65, allocations: 128.7 kB / 4.811 GB, free: 102.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001841/13.65, allocations: 98.86 kB / 4.811 GB, free: 102.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001247/13.65, allocations: 458.5 kB / 4.812 GB, free: 101.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/13.65, allocations: 4 kB / 4.812 GB, free: 101.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/13.65, allocations: 4 kB / 4.812 GB, free: 101.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/13.65, allocations: 15.86 kB / 4.812 GB, free: 101.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002912/13.65, allocations: 1.27 MB / 4.813 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/13.65, allocations: 4 kB / 4.813 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006211/13.66, allocations: 75.88 kB / 4.813 GB, free: 100.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.199e-05/13.66, allocations: 8.219 kB / 4.813 GB, free: 100.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.392e-05/13.66, allocations: 4 kB / 4.813 GB, free: 100.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.483e-06/13.66, allocations: 3.938 kB / 4.813 GB, free: 100.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/13.66, allocations: 7.984 kB / 4.813 GB, free: 100.4 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001085/13.66, allocations: 0.6406 MB / 4.814 GB, free: 99.64 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005433/13.66, allocations: 203.9 kB / 4.814 GB, free: 99.42 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000197/13.66, allocations: 4 kB / 4.814 GB, free: 99.42 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009731/13.66, allocations: 51.8 kB / 4.814 GB, free: 99.37 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/13.66, allocations: 35.8 kB / 4.814 GB, free: 99.33 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.379e-05/13.66, allocations: 12 kB / 4.814 GB, free: 99.32 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001269/13.66, allocations: 0.6806 MB / 4.815 GB, free: 98.63 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002123/13.66, allocations: 451.4 kB / 4.815 GB, free: 98.19 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00172/13.66, allocations: 1.048 MB / 4.816 GB, free: 97.14 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001756/13.67, allocations: 0.7337 MB / 4.817 GB, free: 96.39 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.854e-06/13.67, allocations: 4.062 kB / 4.817 GB, free: 96.39 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004675/13.67, allocations: 195.6 kB / 4.817 GB, free: 96.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003418/13.67, allocations: 369.5 kB / 4.818 GB, free: 95.84 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003742/13.67, allocations: 1.375 MB / 4.819 GB, free: 94.41 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001172/13.67, allocations: 1.271 MB / 4.82 GB, free: 93.11 MB / 0.8698 GB Notification: Performance of SimCode: time 2.184e-06/13.67, allocations: 0 / 4.82 GB, free: 93.11 MB / 0.8698 GB Notification: Performance of Templates: time 0.05588/13.73, allocations: 21.21 MB / 4.841 GB, free: 72.05 MB / 0.8698 GB