Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.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.ParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow") [: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.04/2.04, allocations: 253.1 MB / 260.4 MB, free: 7.555 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.001691/0.001691, allocations: 197.1 kB / 319.6 MB, free: 3.301 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.797/1.797, allocations: 205.4 MB / 0.5704 GB, free: 15.04 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.001814/0.001814, allocations: 91.38 kB / 0.6746 GB, free: 4.398 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.019e-05/1.022e-05, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2407, allocations: 106.3 MB / 0.8881 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.529/5.77, allocations: 2.182 GB / 3.07 GB, free: 177.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002989/5.77, allocations: 90.25 kB / 3.07 GB, free: 177.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.28/10.05, allocations: 0.9275 GB / 3.997 GB, free: 236.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002851/10.05, allocations: 27.77 kB / 3.997 GB, free: 236.2 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.0114/10.06, allocations: 1.192 MB / 3.999 GB, free: 235.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.715e-05/10.06, allocations: 7.844 kB / 3.999 GB, free: 235.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00317/10.06, allocations: 188.9 kB / 3.999 GB, free: 235.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009427/10.07, allocations: 1.371 MB / 4 GB, free: 234.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.002e-05/10.07, allocations: 15.03 kB / 4 GB, free: 234.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000257/10.07, allocations: 45.61 kB / 4 GB, free: 234.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00186/10.08, allocations: 0.5011 MB / 4.001 GB, free: 234.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001954/10.08, allocations: 0.7084 MB / 4.001 GB, free: 234.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.339e-05/10.08, allocations: 5.656 kB / 4.001 GB, free: 234.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.459e-05/10.08, allocations: 3.094 kB / 4.001 GB, free: 234.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.318e-05/10.08, allocations: 13.28 kB / 4.001 GB, free: 234.4 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007714/10.09, allocations: 4.155 MB / 4.005 GB, free: 231.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001402/10.09, allocations: 481.4 kB / 4.006 GB, free: 231 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008246/10.09, allocations: 347.2 kB / 4.006 GB, free: 230.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004933/10.09, allocations: 196.4 kB / 4.006 GB, free: 230.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007523/10.09, allocations: 287.6 kB / 4.007 GB, free: 230.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=33): time 5.01e-06/10.09, allocations: 4.5 kB / 4.007 GB, free: 230.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33): time 0.003883/10.09, allocations: 0.8278 MB / 4.007 GB, free: 230.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.147e-05/10.09, allocations: 85.53 kB / 4.008 GB, free: 230.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002355/10.1, allocations: 0.8718 MB / 4.008 GB, free: 229.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001706/10.1, allocations: 29.53 kB / 4.008 GB, free: 229.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003961/10.1, allocations: 339.3 kB / 4.009 GB, free: 229.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001671/10.1, allocations: 116.3 kB / 4.009 GB, free: 229.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.811e-05/10.1, allocations: 0 / 4.009 GB, free: 229.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.709e-05/10.1, allocations: 326.3 kB / 4.009 GB, free: 229.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005746/10.1, allocations: 209.8 kB / 4.009 GB, free: 229.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008556/10.1, allocations: 0.5181 MB / 4.01 GB, free: 228.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008138/10.1, allocations: 297.7 kB / 4.01 GB, free: 228.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.664e-06/10.1, allocations: 2.125 kB / 4.01 GB, free: 228.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.003663/10.1, allocations: 0.9615 MB / 4.011 GB, free: 228.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004741/10.1, allocations: 2.101 MB / 4.013 GB, free: 226.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.297e-05/10.1, allocations: 7.047 kB / 4.013 GB, free: 226.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001116/10.11, allocations: 276.8 kB / 4.013 GB, free: 226.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005665/10.11, allocations: 77.08 kB / 4.013 GB, free: 226 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003559/10.11, allocations: 1.259 MB / 4.015 GB, free: 225.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002184/10.11, allocations: 102.9 kB / 4.015 GB, free: 225.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001741/10.11, allocations: 26.75 kB / 4.015 GB, free: 225.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/10.11, allocations: 7.938 kB / 4.015 GB, free: 225.3 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002418/10.11, allocations: 0.6469 MB / 4.015 GB, free: 225.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.035e-05/10.11, allocations: 8.781 kB / 4.015 GB, free: 225.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001159/10.12, allocations: 211.9 kB / 4.016 GB, free: 225.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005458/10.12, allocations: 72.8 kB / 4.016 GB, free: 225.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007961/10.12, allocations: 2.842 MB / 4.019 GB, free: 223.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001968/10.13, allocations: 89.25 kB / 4.019 GB, free: 223.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001122/10.13, allocations: 23.95 kB / 4.019 GB, free: 223.3 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_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 (35): * Single equations (assignments): 33 * 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 {10 11} Notification: Performance of prepare postOptimizeDAE: time 0.000282/10.13, allocations: 125.9 kB / 4.019 GB, free: 223.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002486/10.13, allocations: 96.19 kB / 4.019 GB, free: 223.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002344/10.13, allocations: 0.7173 MB / 4.02 GB, free: 222.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/10.13, allocations: 4 kB / 4.02 GB, free: 222.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/10.13, allocations: 0.6875 kB / 4.02 GB, free: 222.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/10.13, allocations: 3.75 kB / 4.02 GB, free: 222.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004741/10.13, allocations: 1.612 MB / 4.021 GB, free: 222.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.278e-06/10.13, allocations: 6 kB / 4.021 GB, free: 222 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002961/10.13, allocations: 32.39 kB / 4.021 GB, free: 222 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007876/10.14, allocations: 230.3 kB / 4.021 GB, free: 222 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.726e-05/10.14, allocations: 8.469 kB / 4.021 GB, free: 222 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002113/10.14, allocations: 1.104 MB / 4.022 GB, free: 221.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.067e-06/10.14, allocations: 2.469 kB / 4.022 GB, free: 221.3 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002301/10.14, allocations: 0.9214 MB / 4.023 GB, free: 220.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008596/10.14, allocations: 222 kB / 4.024 GB, free: 220.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002236/10.14, allocations: 3.984 kB / 4.024 GB, free: 220.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001333/10.14, allocations: 69.19 kB / 4.024 GB, free: 220.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/10.14, allocations: 27.81 kB / 4.024 GB, free: 220.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.668e-05/10.14, allocations: 13.56 kB / 4.024 GB, free: 220.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001632/10.14, allocations: 0.6846 MB / 4.024 GB, free: 220.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002801/10.15, allocations: 0.4943 MB / 4.025 GB, free: 220.3 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_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 (13): * Single equations (assignments): 10 * 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 {10 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.002156/10.15, allocations: 1.039 MB / 4.026 GB, free: 220 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.004404/10.15, allocations: 1.094 MB / 4.027 GB, free: 219.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/10.15, allocations: 0 / 4.027 GB, free: 219.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001052/10.15, allocations: 274 kB / 4.027 GB, free: 219.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00602/10.16, allocations: 0.5246 MB / 4.028 GB, free: 219.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004627/10.17, allocations: 1.417 MB / 4.029 GB, free: 218.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001321/10.17, allocations: 1.268 MB / 4.03 GB, free: 218 MB / 0.8698 GB Notification: Performance of SimCode: time 1.683e-06/10.17, allocations: 0 / 4.03 GB, free: 218 MB / 0.8698 GB Notification: Performance of Templates: time 0.06472/10.23, allocations: 24.28 MB / 4.054 GB, free: 197.4 MB / 0.8698 GB