Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") [: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.308/2.308, allocations: 284.9 MB / 292.2 MB, free: 10.7 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.001692/0.001692, allocations: 181.3 kB / 360.4 MB, free: 7.504 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.814/1.814, allocations: 205.1 MB / 0.6188 GB, free: 12.42 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.001293/0.001292, allocations: 96.89 kB / 0.7318 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.526e-06/8.726e-06, allocations: 0 / 0.8503 GB, free: 3.867 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6809/0.6809, allocations: 115.2 MB / 0.9628 GB, free: 78.42 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.55/5.231, allocations: 2.063 GB / 3.025 GB, free: 55.51 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002889/5.231, allocations: 91.58 kB / 3.025 GB, free: 55.46 MB / 0.948 GB Notification: Performance of FrontEnd: time 8.347/13.58, allocations: 1.788 GB / 4.814 GB, free: 111.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001491/13.58, allocations: 35.98 kB / 4.814 GB, free: 111.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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002709/13.58, allocations: 1.123 MB / 4.815 GB, free: 110.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/13.58, allocations: 8.531 kB / 4.815 GB, free: 110.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001352/13.58, allocations: 194.4 kB / 4.815 GB, free: 110.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004023/13.59, allocations: 1.092 MB / 4.816 GB, free: 109.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.12e-05/13.59, allocations: 16 kB / 4.816 GB, free: 109 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001325/13.59, allocations: 39.94 kB / 4.816 GB, free: 109 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001311/13.59, allocations: 489.7 kB / 4.817 GB, free: 108.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001404/13.59, allocations: 0.6895 MB / 4.817 GB, free: 107.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.975e-05/13.59, allocations: 3.938 kB / 4.817 GB, free: 107.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.69e-05/13.59, allocations: 4 kB / 4.817 GB, free: 107.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.74e-05/13.59, allocations: 12 kB / 4.817 GB, free: 107.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006088/13.6, allocations: 4.676 MB / 4.822 GB, free: 102.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009419/13.6, allocations: 446.5 kB / 4.822 GB, free: 102.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005495/13.6, allocations: 258.4 kB / 4.823 GB, free: 102 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000443/13.6, allocations: 194.4 kB / 4.823 GB, free: 101.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005201/13.6, allocations: 262.7 kB / 4.823 GB, free: 101.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 3.236e-06/13.6, allocations: 3.938 kB / 4.823 GB, free: 101.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.001696/13.6, allocations: 0.4903 MB / 4.824 GB, free: 101 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/13.6, allocations: 93.03 kB / 4.824 GB, free: 100.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001747/13.6, allocations: 0.8752 MB / 4.825 GB, free: 99.98 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001461/13.6, allocations: 29.7 kB / 4.825 GB, free: 99.95 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003047/13.6, allocations: 333 kB / 4.825 GB, free: 99.62 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000117/13.6, allocations: 110.5 kB / 4.825 GB, free: 99.51 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.345e-05/13.6, allocations: 0 / 4.825 GB, free: 99.51 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.303e-05/13.6, allocations: 318 kB / 4.825 GB, free: 99.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004286/13.6, allocations: 192.8 kB / 4.825 GB, free: 99.01 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006517/13.6, allocations: 0.5077 MB / 4.826 GB, free: 98.36 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005675/13.6, allocations: 270.1 kB / 4.826 GB, free: 98.09 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/13.6, allocations: 4 kB / 4.826 GB, free: 98.09 MB / 0.948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00165/13.61, allocations: 0.6257 MB / 4.827 GB, free: 97.46 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004337/13.61, allocations: 2.094 MB / 4.829 GB, free: 95.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/13.61, allocations: 8 kB / 4.829 GB, free: 95.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.723e-05/13.61, allocations: 8 kB / 4.829 GB, free: 95.19 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/13.61, allocations: 131.6 kB / 4.829 GB, free: 95.06 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.429e-05/13.61, allocations: 11.94 kB / 4.829 GB, free: 95.05 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001489/13.61, allocations: 83.53 kB / 4.829 GB, free: 94.96 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/13.61, allocations: 31.98 kB / 4.829 GB, free: 94.93 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.532e-05/13.61, allocations: 0 / 4.829 GB, free: 94.93 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009641/13.61, allocations: 419.2 kB / 4.83 GB, free: 94.52 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/13.61, allocations: 4 kB / 4.83 GB, free: 94.52 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/13.61, allocations: 12.66 kB / 4.83 GB, free: 94.51 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008432/13.61, allocations: 111.9 kB / 4.83 GB, free: 94.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/13.61, allocations: 11.94 kB / 4.83 GB, free: 94.39 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001377/13.61, allocations: 75.62 kB / 4.83 GB, free: 94.31 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.389e-05/13.61, allocations: 35.92 kB / 4.83 GB, free: 94.28 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): 52 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002045/13.61, allocations: 131.3 kB / 4.83 GB, free: 94.14 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001818/13.61, allocations: 90.88 kB / 4.83 GB, free: 94.05 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001228/13.61, allocations: 458.5 kB / 4.83 GB, free: 93.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/13.61, allocations: 4 kB / 4.83 GB, free: 93.59 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/13.61, allocations: 3.984 kB / 4.83 GB, free: 93.59 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/13.61, allocations: 4 kB / 4.83 GB, free: 93.59 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002891/13.62, allocations: 1.271 MB / 4.832 GB, free: 92.25 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.213e-06/13.62, allocations: 8.031 kB / 4.832 GB, free: 92.24 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000626/13.62, allocations: 71.88 kB / 4.832 GB, free: 92.17 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.11e-05/13.62, allocations: 4 kB / 4.832 GB, free: 92.17 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.467e-05/13.62, allocations: 15.89 kB / 4.832 GB, free: 92.15 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/13.62, allocations: 7.984 kB / 4.832 GB, free: 92.14 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/13.62, allocations: 3.938 kB / 4.832 GB, free: 92.14 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00108/13.62, allocations: 0.6483 MB / 4.832 GB, free: 91.41 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005508/13.62, allocations: 211.9 kB / 4.833 GB, free: 91.19 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002058/13.62, allocations: 3.984 kB / 4.833 GB, free: 91.18 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009607/13.62, allocations: 55.8 kB / 4.833 GB, free: 91.13 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/13.62, allocations: 27.91 kB / 4.833 GB, free: 91.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.578e-05/13.62, allocations: 11.98 kB / 4.833 GB, free: 91.09 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001319/13.62, allocations: 0.6922 MB / 4.833 GB, free: 90.39 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002067/13.62, allocations: 447.5 kB / 4.834 GB, free: 89.95 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): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001727/13.63, allocations: 1.034 MB / 4.835 GB, free: 88.91 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001715/13.63, allocations: 0.7258 MB / 4.836 GB, free: 88.18 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/13.63, allocations: 0 / 4.836 GB, free: 88.18 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004651/13.63, allocations: 192.6 kB / 4.836 GB, free: 87.99 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003471/13.63, allocations: 378.8 kB / 4.836 GB, free: 87.63 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003773/13.64, allocations: 1.386 MB / 4.837 GB, free: 86.18 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001143/13.64, allocations: 1.267 MB / 4.839 GB, free: 84.89 MB / 0.948 GB Notification: Performance of SimCode: time 1.734e-06/13.64, allocations: 0 / 4.839 GB, free: 84.89 MB / 0.948 GB Notification: Performance of Templates: time 0.05585/13.69, allocations: 21.19 MB / 4.859 GB, free: 63.84 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)