Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.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.SeriesDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp") [: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.45/2.45, allocations: 284.9 MB / 292.2 MB, free: 10.73 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.001718/0.001717, allocations: 165.3 kB / 360.4 MB, free: 7.531 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.829/1.829, allocations: 205.1 MB / 0.6188 GB, free: 12.45 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.001269/0.001268, allocations: 82.33 kB / 0.7318 GB, free: 45.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.254e-05/1.269e-05, allocations: 4 kB / 0.8502 GB, free: 3.891 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6238/0.6238, allocations: 115.2 MB / 0.9628 GB, free: 78.03 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.753/5.377, allocations: 2.065 GB / 3.028 GB, free: 53.26 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003244/5.377, allocations: 93.34 kB / 3.028 GB, free: 53.21 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.648/10.03, allocations: 0.9733 GB / 4.001 GB, free: 198.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001456/10.03, allocations: 31.98 kB / 4.001 GB, free: 198.6 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.003055/10.03, allocations: 1.132 MB / 4.002 GB, free: 197.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/10.03, allocations: 8.031 kB / 4.002 GB, free: 197.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001413/10.03, allocations: 190.4 kB / 4.003 GB, free: 197.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004338/10.03, allocations: 1.12 MB / 4.004 GB, free: 196.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.036e-05/10.03, allocations: 16 kB / 4.004 GB, free: 196.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001452/10.03, allocations: 47.91 kB / 4.004 GB, free: 196 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001291/10.04, allocations: 485.7 kB / 4.004 GB, free: 195.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001338/10.04, allocations: 0.6855 MB / 4.005 GB, free: 194.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.727e-05/10.04, allocations: 8 kB / 4.005 GB, free: 194.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.064e-05/10.04, allocations: 7.984 kB / 4.005 GB, free: 194.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.7e-05/10.04, allocations: 12 kB / 4.005 GB, free: 194.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006229/10.04, allocations: 4.662 MB / 4.01 GB, free: 189.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009472/10.04, allocations: 454.4 kB / 4.01 GB, free: 189.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004915/10.05, allocations: 251.2 kB / 4.01 GB, free: 189 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003825/10.05, allocations: 190.2 kB / 4.01 GB, free: 188.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005006/10.05, allocations: 253.7 kB / 4.011 GB, free: 188.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 3.346e-06/10.05, allocations: 8 kB / 4.011 GB, free: 188.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.002925/10.05, allocations: 0.7523 MB / 4.011 GB, free: 187.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/10.05, allocations: 85.09 kB / 4.011 GB, free: 187.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001766/10.05, allocations: 0.8756 MB / 4.012 GB, free: 186.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001412/10.05, allocations: 33.7 kB / 4.012 GB, free: 186.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002979/10.05, allocations: 338.1 kB / 4.013 GB, free: 186.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/10.05, allocations: 102.7 kB / 4.013 GB, free: 186.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.339e-05/10.05, allocations: 7.938 kB / 4.013 GB, free: 186.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.581e-05/10.05, allocations: 330 kB / 4.013 GB, free: 186 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004192/10.05, allocations: 184.8 kB / 4.013 GB, free: 185.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000628/10.05, allocations: 0.5042 MB / 4.014 GB, free: 185.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005524/10.05, allocations: 270.1 kB / 4.014 GB, free: 184.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/10.05, allocations: 4 kB / 4.014 GB, free: 184.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002791/10.06, allocations: 0.8946 MB / 4.015 GB, free: 184 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004569/10.06, allocations: 2.097 MB / 4.017 GB, free: 181.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/10.06, allocations: 4 kB / 4.017 GB, free: 181.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008403/10.06, allocations: 267.7 kB / 4.017 GB, free: 181.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004962/10.06, allocations: 60.05 kB / 4.017 GB, free: 181.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002897/10.06, allocations: 1.243 MB / 4.018 GB, free: 180.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001629/10.06, allocations: 83.53 kB / 4.019 GB, free: 180 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001152/10.06, allocations: 24 kB / 4.019 GB, free: 180 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/10.06, allocations: 4 kB / 4.019 GB, free: 180 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00183/10.06, allocations: 0.5821 MB / 4.019 GB, free: 179.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/10.06, allocations: 8 kB / 4.019 GB, free: 179.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001022/10.07, allocations: 205.1 kB / 4.019 GB, free: 179.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004454/10.07, allocations: 67.84 kB / 4.019 GB, free: 179.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005032/10.07, allocations: 2.75 MB / 4.022 GB, free: 176.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/10.07, allocations: 75.59 kB / 4.022 GB, free: 176.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.904e-05/10.07, allocations: 27.98 kB / 4.022 GB, free: 176.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 (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 {9 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002183/10.07, allocations: 124.8 kB / 4.022 GB, free: 176 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001734/10.07, allocations: 94.88 kB / 4.022 GB, free: 176 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001811/10.08, allocations: 0.6515 MB / 4.023 GB, free: 175.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/10.08, allocations: 4.094 kB / 4.023 GB, free: 175.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/10.08, allocations: 3.984 kB / 4.023 GB, free: 175.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.216e-06/10.08, allocations: 3.984 kB / 4.023 GB, free: 175.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003486/10.08, allocations: 1.488 MB / 4.025 GB, free: 173.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/10.08, allocations: 0 / 4.025 GB, free: 173.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002271/10.08, allocations: 27.92 kB / 4.025 GB, free: 173.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005874/10.08, allocations: 219.6 kB / 4.025 GB, free: 173.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.568e-05/10.08, allocations: 7.984 kB / 4.025 GB, free: 173.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001648/10.08, allocations: 1.093 MB / 4.026 GB, free: 172.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.615e-06/10.08, allocations: 3.938 kB / 4.026 GB, free: 172.3 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001689/10.08, allocations: 0.8574 MB / 4.027 GB, free: 171.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005497/10.08, allocations: 207.9 kB / 4.027 GB, free: 171.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001961/10.08, allocations: 11.89 kB / 4.027 GB, free: 171.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009793/10.08, allocations: 51.8 kB / 4.027 GB, free: 171.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/10.08, allocations: 27.91 kB / 4.027 GB, free: 171.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.826e-05/10.08, allocations: 15.98 kB / 4.027 GB, free: 171.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.00124/10.09, allocations: 0.6886 MB / 4.028 GB, free: 170.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002054/10.09, allocations: 479.4 kB / 4.028 GB, free: 169.9 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 (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 {9 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.001692/10.09, allocations: 1.098 MB / 4.029 GB, free: 168.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003636/10.09, allocations: 1.031 MB / 4.03 GB, free: 167.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/10.09, allocations: 0 / 4.03 GB, free: 167.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009622/10.09, allocations: 259.5 kB / 4.03 GB, free: 167.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003284/10.1, allocations: 375.8 kB / 4.031 GB, free: 167.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003507/10.1, allocations: 1.39 MB / 4.032 GB, free: 165.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009843/10.1, allocations: 1.259 MB / 4.033 GB, free: 164.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.383e-06/10.1, allocations: 0 / 4.033 GB, free: 164.4 MB / 0.948 GB Notification: Performance of Templates: time 0.05762/10.16, allocations: 23.03 MB / 4.056 GB, free: 141.5 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1)