Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.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.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") [: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.262/2.262, allocations: 253.1 MB / 260.4 MB, free: 7.527 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.0017/0.0017, 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.912/1.912, 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.001781/0.001781, allocations: 95.33 kB / 0.6746 GB, free: 4.41 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.451e-05/1.489e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2415, allocations: 106.2 MB / 0.888 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.679/5.92, allocations: 2.185 GB / 3.073 GB, free: 178.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003758/5.921, allocations: 84.77 kB / 3.073 GB, free: 178 MB / 0.8698 GB Notification: Performance of FrontEnd: time 9.121/15.04, allocations: 1.923 GB / 4.996 GB, free: 210.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002235/15.04, allocations: 26.67 kB / 4.996 GB, free: 210.9 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.007811/15.05, allocations: 1.339 MB / 4.997 GB, free: 210.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/15.05, allocations: 7.062 kB / 4.997 GB, free: 210.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001903/15.05, allocations: 221.2 kB / 4.997 GB, free: 210.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007268/15.06, allocations: 1.449 MB / 4.999 GB, free: 209.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.55e-05/15.06, allocations: 23.38 kB / 4.999 GB, free: 209.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002323/15.06, allocations: 38.38 kB / 4.999 GB, free: 209.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001969/15.06, allocations: 0.7302 MB / 5 GB, free: 209.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001872/15.06, allocations: 0.8671 MB / 5 GB, free: 209.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.826e-05/15.06, allocations: 0 / 5 GB, free: 209.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.504e-05/15.06, allocations: 3.938 kB / 5 GB, free: 209.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.005e-05/15.06, allocations: 14.88 kB / 5 GB, free: 209.7 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007233/15.07, allocations: 4.691 MB / 5.005 GB, free: 206.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001229/15.07, allocations: 0.5072 MB / 5.006 GB, free: 206.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007934/15.07, allocations: 438.2 kB / 5.006 GB, free: 206.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004539/15.07, allocations: 192.7 kB / 5.006 GB, free: 206.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006289/15.07, allocations: 298.6 kB / 5.006 GB, free: 206.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=35): time 3.426e-06/15.07, allocations: 0 / 5.006 GB, free: 206.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=35): time 0.003492/15.08, allocations: 0.881 MB / 5.007 GB, free: 206.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/15.08, allocations: 81.08 kB / 5.007 GB, free: 206 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002138/15.08, allocations: 0.9151 MB / 5.008 GB, free: 205.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.000172/15.08, allocations: 32.98 kB / 5.008 GB, free: 205.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003739/15.08, allocations: 362.2 kB / 5.009 GB, free: 205.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001669/15.08, allocations: 114.4 kB / 5.009 GB, free: 205.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.152e-05/15.08, allocations: 0 / 5.009 GB, free: 205.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.957e-05/15.08, allocations: 330.8 kB / 5.009 GB, free: 205.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005243/15.08, allocations: 218.4 kB / 5.009 GB, free: 205.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008141/15.08, allocations: 0.5446 MB / 5.01 GB, free: 204.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006846/15.08, allocations: 305 kB / 5.01 GB, free: 204.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/15.08, allocations: 3.75 kB / 5.01 GB, free: 204.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.003433/15.09, allocations: 1.004 MB / 5.011 GB, free: 204.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005312/15.09, allocations: 2.098 MB / 5.013 GB, free: 202.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.04e-05/15.09, allocations: 3.969 kB / 5.013 GB, free: 202.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001094/15.09, allocations: 278.1 kB / 5.013 GB, free: 202.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006835/15.09, allocations: 73.56 kB / 5.013 GB, free: 202.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002171/15.09, allocations: 1.211 MB / 5.015 GB, free: 202 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002168/15.09, allocations: 112.7 kB / 5.015 GB, free: 202 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001709/15.09, allocations: 30.66 kB / 5.015 GB, free: 202 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/15.09, allocations: 3.688 kB / 5.015 GB, free: 202 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002129/15.1, allocations: 0.6829 MB / 5.015 GB, free: 202 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/15.1, allocations: 3.906 kB / 5.015 GB, free: 202 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001207/15.1, allocations: 253.7 kB / 5.016 GB, free: 202 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006335/15.1, allocations: 71.88 kB / 5.016 GB, free: 202 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005916/15.1, allocations: 2.917 MB / 5.019 GB, free: 200.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002051/15.11, allocations: 102.1 kB / 5.019 GB, free: 200.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001332/15.11, allocations: 26.34 kB / 5.019 GB, free: 200.7 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 {1 22} Notification: Performance of prepare postOptimizeDAE: time 0.000268/15.11, allocations: 120.4 kB / 5.019 GB, free: 200.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002846/15.11, allocations: 103 kB / 5.019 GB, free: 200.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002759/15.11, allocations: 0.7816 MB / 5.02 GB, free: 200.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-05/15.11, allocations: 3.781 kB / 5.02 GB, free: 200.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/15.11, allocations: 0.5312 kB / 5.02 GB, free: 200.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/15.11, allocations: 4.938 kB / 5.02 GB, free: 200.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005057/15.11, allocations: 1.708 MB / 5.021 GB, free: 199.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/15.11, allocations: 5.938 kB / 5.021 GB, free: 199.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004206/15.11, allocations: 30.58 kB / 5.021 GB, free: 199.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007865/15.12, allocations: 228.7 kB / 5.022 GB, free: 199.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.434e-05/15.12, allocations: 6.219 kB / 5.022 GB, free: 199.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001664/15.12, allocations: 1.068 MB / 5.023 GB, free: 198.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.476e-05/15.12, allocations: 9.562 kB / 5.023 GB, free: 198.9 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002446/15.12, allocations: 0.9706 MB / 5.024 GB, free: 198.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009127/15.12, allocations: 229.1 kB / 5.024 GB, free: 198.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002847/15.12, allocations: 2.781 kB / 5.024 GB, free: 198.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001696/15.12, allocations: 79.27 kB / 5.024 GB, free: 198.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001707/15.12, allocations: 41.11 kB / 5.024 GB, free: 198.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-05/15.12, allocations: 9.031 kB / 5.024 GB, free: 198.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001774/15.12, allocations: 0.7193 MB / 5.025 GB, free: 197.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003436/15.13, allocations: 0.5441 MB / 5.025 GB, free: 197.9 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 {1 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.002599/15.13, allocations: 1.282 MB / 5.026 GB, free: 197.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003141/15.13, allocations: 1.02 MB / 5.027 GB, free: 197.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.667e-06/15.13, allocations: 5.375 kB / 5.027 GB, free: 197.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000802/15.14, allocations: 242.7 kB / 5.028 GB, free: 197 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006289/15.14, allocations: 0.5779 MB / 5.028 GB, free: 197 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005082/15.15, allocations: 1.468 MB / 5.03 GB, free: 196.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001563/15.15, allocations: 1.3 MB / 5.031 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of SimCode: time 1.132e-06/15.15, allocations: 0 / 5.031 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of Templates: time 0.08577/15.23, allocations: 27.28 MB / 5.058 GB, free: 187.4 MB / 0.8698 GB