Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow") [: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 8.0.0/package.mo): time 2.252/2.252, allocations: 284.9 MB / 292.2 MB, free: 10.75 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00165/0.00165, allocations: 177.3 kB / 360.4 MB, free: 7.539 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.793/1.793, allocations: 205.1 MB / 0.6188 GB, free: 13.21 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001289/0.001289, allocations: 87.78 kB / 0.7318 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.134e-05/1.146e-05, allocations: 4 kB / 0.8503 GB, free: 4.004 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6741/0.6741, allocations: 115.2 MB / 0.9628 GB, free: 78.58 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.511/5.185, allocations: 2.063 GB / 3.025 GB, free: 57.67 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003206/5.186, allocations: 91.69 kB / 3.025 GB, free: 57.62 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.384/9.57, allocations: 0.9613 GB / 3.987 GB, free: 215.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001334/9.57, allocations: 31.98 kB / 3.987 GB, free: 215.2 MB / 0.948 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.00268/9.573, allocations: 1.128 MB / 3.988 GB, free: 214 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/9.573, allocations: 12.03 kB / 3.988 GB, free: 214 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001359/9.574, allocations: 186.5 kB / 3.988 GB, free: 213.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003838/9.578, allocations: 1.088 MB / 3.989 GB, free: 212.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.595e-05/9.578, allocations: 20 kB / 3.989 GB, free: 212.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/9.578, allocations: 40 kB / 3.989 GB, free: 212.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00126/9.579, allocations: 493.7 kB / 3.99 GB, free: 212.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001268/9.581, allocations: 0.6778 MB / 3.99 GB, free: 211.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.714e-05/9.581, allocations: 19.83 kB / 3.99 GB, free: 211.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.379e-05/9.581, allocations: 0 / 3.99 GB, free: 211.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.812e-05/9.581, allocations: 16 kB / 3.99 GB, free: 211.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005743/9.587, allocations: 4.666 MB / 3.995 GB, free: 206.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009128/9.588, allocations: 453.4 kB / 3.995 GB, free: 205.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005165/9.588, allocations: 246.5 kB / 3.995 GB, free: 205.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003847/9.589, allocations: 202.2 kB / 3.996 GB, free: 205.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004818/9.589, allocations: 258.5 kB / 3.996 GB, free: 205.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 3.085e-06/9.589, allocations: 0 / 3.996 GB, free: 205.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.001597/9.591, allocations: 0.4942 MB / 3.996 GB, free: 204.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/9.591, allocations: 97.02 kB / 3.996 GB, free: 204.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001584/9.592, allocations: 0.8713 MB / 3.997 GB, free: 203.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.684e-05/9.592, allocations: 29.7 kB / 3.997 GB, free: 203.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002816/9.593, allocations: 337.1 kB / 3.998 GB, free: 203.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/9.593, allocations: 106.4 kB / 3.998 GB, free: 203.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.441e-05/9.593, allocations: 0 / 3.998 GB, free: 203.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.255e-05/9.593, allocations: 334 kB / 3.998 GB, free: 202.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004514/9.593, allocations: 188.8 kB / 3.998 GB, free: 202.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006646/9.594, allocations: 0.5038 MB / 3.999 GB, free: 202 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005471/9.595, allocations: 270.1 kB / 3.999 GB, free: 201.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-06/9.595, allocations: 3.938 kB / 3.999 GB, free: 201.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001485/9.596, allocations: 0.6209 MB / 4 GB, free: 201.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004075/9.597, allocations: 2.102 MB / 4.002 GB, free: 198.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/9.597, allocations: 4 kB / 4.002 GB, free: 198.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.482e-05/9.597, allocations: 11.98 kB / 4.002 GB, free: 198.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003503/9.6, allocations: 279.6 kB / 4.002 GB, free: 198.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004045/9.604, allocations: 6.243 MB / 4.008 GB, free: 192.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001597/9.606, allocations: 79.62 kB / 4.008 GB, free: 192 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.079e-05/9.606, allocations: 27.98 kB / 4.008 GB, free: 191.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/9.606, allocations: 4 kB / 4.008 GB, free: 191.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009288/9.607, allocations: 427.3 kB / 4.009 GB, free: 191.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/9.607, allocations: 4 kB / 4.009 GB, free: 191.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/9.607, allocations: 15.94 kB / 4.009 GB, free: 191.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/9.608, allocations: 148.3 kB / 4.009 GB, free: 191.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/9.608, allocations: 8 kB / 4.009 GB, free: 191.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/9.61, allocations: 83.53 kB / 4.009 GB, free: 191.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-05/9.61, allocations: 23.98 kB / 4.009 GB, free: 191.2 MB / 0.948 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): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002137/9.61, allocations: 128.8 kB / 4.009 GB, free: 191.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001567/9.61, allocations: 90.88 kB / 4.009 GB, free: 191 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00117/9.611, allocations: 462.5 kB / 4.01 GB, free: 190.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/9.611, allocations: 7.984 kB / 4.01 GB, free: 190.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/9.611, allocations: 0 / 4.01 GB, free: 190.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/9.611, allocations: 0 / 4.01 GB, free: 190.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002724/9.614, allocations: 1.285 MB / 4.011 GB, free: 189.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/9.614, allocations: 3.984 kB / 4.011 GB, free: 189.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001343/9.615, allocations: 156 kB / 4.011 GB, free: 189 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.759e-06/9.615, allocations: 4 kB / 4.011 GB, free: 189 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.344e-05/9.615, allocations: 8 kB / 4.011 GB, free: 189 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002766/9.618, allocations: 6.075 MB / 4.017 GB, free: 182.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.546e-06/9.618, allocations: 3.906 kB / 4.017 GB, free: 182.7 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001081/9.619, allocations: 0.6484 MB / 4.018 GB, free: 182 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005172/9.62, allocations: 207.8 kB / 4.018 GB, free: 181.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000196/9.62, allocations: 4 kB / 4.018 GB, free: 181.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009231/9.621, allocations: 51.8 kB / 4.018 GB, free: 181.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/9.621, allocations: 31.89 kB / 4.018 GB, free: 181.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.219e-05/9.621, allocations: 8 kB / 4.018 GB, free: 181.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001239/9.622, allocations: 0.6884 MB / 4.018 GB, free: 181 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001988/9.624, allocations: 463.3 kB / 4.019 GB, free: 180.5 MB / 0.948 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): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002213/9.627, allocations: 1.038 MB / 4.02 GB, free: 179.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.006812/9.634, allocations: 0.951 MB / 4.021 GB, free: 178.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/9.634, allocations: 1.375 kB / 4.021 GB, free: 178.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002032/9.636, allocations: 290.5 kB / 4.021 GB, free: 178.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004747/9.64, allocations: 369.7 kB / 4.021 GB, free: 177.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00596/9.646, allocations: 1.386 MB / 4.023 GB, free: 176.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001488/9.648, allocations: 1.263 MB / 4.024 GB, free: 175.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.693e-06/9.648, allocations: 0 / 4.024 GB, free: 175.2 MB / 0.948 GB Notification: Performance of Templates: time 0.07182/9.72, allocations: 21.92 MB / 4.045 GB, free: 153.4 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)