Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.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.SeriesParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") [: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.046/2.046, allocations: 253.1 MB / 260.4 MB, free: 7.48 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.001631/0.00163, allocations: 185.2 kB / 319.6 MB, free: 3.312 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.836/1.836, 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.0018/0.0018, allocations: 83.41 kB / 0.6746 GB, free: 4.414 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.058e-05/1.074e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.2031, allocations: 106.2 MB / 0.8881 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.659/5.862, allocations: 2.182 GB / 3.07 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/5.862, allocations: 83.33 kB / 3.07 GB, free: 180.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.79/10.65, allocations: 1.035 GB / 4.105 GB, free: 146.9 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002063/10.65, allocations: 39.59 kB / 4.105 GB, free: 146.9 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.007553/10.66, allocations: 1.341 MB / 4.106 GB, free: 145.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/10.66, allocations: 8.031 kB / 4.106 GB, free: 145.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001773/10.66, allocations: 202.3 kB / 4.106 GB, free: 145.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006852/10.67, allocations: 1.429 MB / 4.108 GB, free: 143.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.141e-05/10.67, allocations: 23.98 kB / 4.108 GB, free: 143.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002163/10.67, allocations: 40 kB / 4.108 GB, free: 143.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001879/10.67, allocations: 0.7248 MB / 4.109 GB, free: 143.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001731/10.67, allocations: 0.8674 MB / 4.109 GB, free: 142.1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.57e-05/10.67, allocations: 7.938 kB / 4.109 GB, free: 142.1 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.881e-05/10.67, allocations: 4 kB / 4.109 GB, free: 142.1 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.81e-05/10.67, allocations: 16 kB / 4.109 GB, free: 142.1 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006538/10.68, allocations: 4.72 MB / 4.114 GB, free: 137.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/10.68, allocations: 0.5189 MB / 4.115 GB, free: 136.6 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007721/10.68, allocations: 460.1 kB / 4.115 GB, free: 136.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003863/10.68, allocations: 194.5 kB / 4.115 GB, free: 135.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005556/10.68, allocations: 305 kB / 4.115 GB, free: 135.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=35): time 2.645e-06/10.68, allocations: 4 kB / 4.115 GB, free: 135.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=35): time 0.003501/10.69, allocations: 0.957 MB / 4.116 GB, free: 134.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/10.69, allocations: 85.05 kB / 4.116 GB, free: 134.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00184/10.69, allocations: 0.9217 MB / 4.117 GB, free: 133.6 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001409/10.69, allocations: 25.7 kB / 4.117 GB, free: 133.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003104/10.69, allocations: 352.3 kB / 4.118 GB, free: 133.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001258/10.69, allocations: 126.2 kB / 4.118 GB, free: 133.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.93e-05/10.69, allocations: 4 kB / 4.118 GB, free: 133.1 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.443e-05/10.69, allocations: 326 kB / 4.118 GB, free: 132.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004933/10.69, allocations: 224.9 kB / 4.118 GB, free: 132.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007361/10.69, allocations: 0.5498 MB / 4.119 GB, free: 131.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006338/10.69, allocations: 321.5 kB / 4.119 GB, free: 131.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/10.69, allocations: 4 kB / 4.119 GB, free: 131.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.003398/10.69, allocations: 1.082 MB / 4.12 GB, free: 130.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003994/10.69, allocations: 2.097 MB / 4.122 GB, free: 128.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/10.69, allocations: 4 kB / 4.122 GB, free: 128.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001251/10.7, allocations: 373.3 kB / 4.123 GB, free: 127.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004423/10.7, allocations: 63.84 kB / 4.123 GB, free: 127.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003383/10.7, allocations: 1.426 MB / 4.124 GB, free: 126.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001976/10.7, allocations: 111.5 kB / 4.124 GB, free: 126.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.69e-05/10.7, allocations: 28 kB / 4.124 GB, free: 126.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/10.7, allocations: 4 kB / 4.124 GB, free: 126.1 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002279/10.7, allocations: 0.7611 MB / 4.125 GB, free: 125.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/10.7, allocations: 4.625 kB / 4.125 GB, free: 125.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001345/10.71, allocations: 316.7 kB / 4.125 GB, free: 125.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004247/10.71, allocations: 67.91 kB / 4.125 GB, free: 125 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007008/10.71, allocations: 3.461 MB / 4.129 GB, free: 121.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002189/10.72, allocations: 104.1 kB / 4.129 GB, free: 121.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001111/10.72, allocations: 35.89 kB / 4.129 GB, free: 121.3 MB / 0.8855 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_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 32 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {11 13} Notification: Performance of prepare postOptimizeDAE: time 0.0002579/10.72, allocations: 121 kB / 4.129 GB, free: 121.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001942/10.72, allocations: 98.78 kB / 4.129 GB, free: 121.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002364/10.72, allocations: 0.869 MB / 4.13 GB, free: 120.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/10.72, allocations: 4 kB / 4.13 GB, free: 120.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/10.72, allocations: 0 / 4.13 GB, free: 120.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.308e-06/10.72, allocations: 7.984 kB / 4.13 GB, free: 120.2 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004234/10.72, allocations: 1.786 MB / 4.132 GB, free: 118.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/10.72, allocations: 4 kB / 4.132 GB, free: 118.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002163/10.72, allocations: 27.98 kB / 4.132 GB, free: 118.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001012/10.72, allocations: 320.8 kB / 4.132 GB, free: 118 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.871e-05/10.72, allocations: 12 kB / 4.132 GB, free: 118 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002058/10.73, allocations: 1.255 MB / 4.133 GB, free: 116.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/10.73, allocations: 7.906 kB / 4.133 GB, free: 116.7 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002112/10.73, allocations: 1.048 MB / 4.134 GB, free: 115.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000628/10.73, allocations: 231.7 kB / 4.135 GB, free: 115.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002126/10.73, allocations: 4 kB / 4.135 GB, free: 115.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001369/10.73, allocations: 83.75 kB / 4.135 GB, free: 115.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/10.73, allocations: 31.86 kB / 4.135 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.144e-05/10.73, allocations: 12 kB / 4.135 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.001314/10.73, allocations: 0.7178 MB / 4.135 GB, free: 114.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002363/10.73, allocations: 0.5501 MB / 4.136 GB, free: 113.9 MB / 0.8855 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_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {11 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.002011/10.74, allocations: 1.213 MB / 4.137 GB, free: 112.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004044/10.74, allocations: 1.176 MB / 4.138 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/10.74, allocations: 0 / 4.138 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001056/10.74, allocations: 332.2 kB / 4.139 GB, free: 111.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005731/10.75, allocations: 0.5699 MB / 4.139 GB, free: 110.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003851/10.75, allocations: 1.485 MB / 4.141 GB, free: 109.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001096/10.75, allocations: 1.296 MB / 4.142 GB, free: 107.9 MB / 0.8855 GB Notification: Performance of SimCode: time 1.974e-06/10.75, allocations: 3.938 kB / 4.142 GB, free: 107.9 MB / 0.8855 GB Notification: Performance of Templates: time 0.06693/10.82, allocations: 26.94 MB / 4.168 GB, free: 81.24 MB / 0.8855 GB