Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.648/1.648, allocations: 285.5 MB / 292.8 MB, free: 10.46 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001207/0.001207, allocations: 183.1 kB / 361.1 MB, free: 7.121 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.859/1.859, allocations: 205.1 MB / 0.6195 GB, free: 10.35 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009707/0.0009708, allocations: 97 kB / 0.7326 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.065e-05/1.066e-05, allocations: 4 kB / 0.8511 GB, free: 2.992 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7806/0.7806, allocations: 115.3 MB / 0.9637 GB, free: 78.37 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.517/5.298, allocations: 2.063 GB / 3.026 GB, free: 64.71 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002309/5.298, allocations: 91.16 kB / 3.027 GB, free: 64.62 MB / 0.948 GB Notification: Performance of FrontEnd: time 6.077/11.38, allocations: 1.788 GB / 4.815 GB, free: 117.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001753/11.38, allocations: 31.98 kB / 4.815 GB, free: 117.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.002872/11.38, allocations: 1.124 MB / 4.816 GB, free: 116.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/11.38, allocations: 8.531 kB / 4.816 GB, free: 116 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001273/11.38, allocations: 190.4 kB / 4.816 GB, free: 115.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002887/11.38, allocations: 1.085 MB / 4.817 GB, free: 114.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.341e-05/11.38, allocations: 19.91 kB / 4.817 GB, free: 114.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001504/11.38, allocations: 40 kB / 4.817 GB, free: 114.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007687/11.38, allocations: 497.7 kB / 4.818 GB, free: 114.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007515/11.38, allocations: 0.6778 MB / 4.818 GB, free: 113.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/11.38, allocations: 7.938 kB / 4.818 GB, free: 113.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.315e-05/11.38, allocations: 4 kB / 4.818 GB, free: 113.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.662e-05/11.38, allocations: 20 kB / 4.818 GB, free: 113.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003578/11.39, allocations: 4.66 MB / 4.823 GB, free: 108.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004872/11.39, allocations: 452.5 kB / 4.823 GB, free: 107.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002502/11.39, allocations: 248.7 kB / 4.824 GB, free: 107.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002946/11.39, allocations: 194.2 kB / 4.824 GB, free: 107.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00031/11.39, allocations: 265.9 kB / 4.824 GB, free: 107.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 2.154e-06/11.39, allocations: 0 / 4.824 GB, free: 107.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.0009133/11.39, allocations: 0.496 MB / 4.825 GB, free: 106.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/11.39, allocations: 89.03 kB / 4.825 GB, free: 106.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008432/11.39, allocations: 0.8752 MB / 4.826 GB, free: 105.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.704e-05/11.39, allocations: 25.7 kB / 4.826 GB, free: 105.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000172/11.39, allocations: 341.2 kB / 4.826 GB, free: 105.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.178e-05/11.39, allocations: 110.4 kB / 4.826 GB, free: 105.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.089e-05/11.39, allocations: 0 / 4.826 GB, free: 105.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.768e-05/11.39, allocations: 330 kB / 4.826 GB, free: 104.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002175/11.39, allocations: 188.8 kB / 4.827 GB, free: 104.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003617/11.39, allocations: 0.5078 MB / 4.827 GB, free: 104 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002832/11.39, allocations: 276.9 kB / 4.827 GB, free: 103.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/11.39, allocations: 0 / 4.827 GB, free: 103.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007467/11.39, allocations: 0.6212 MB / 4.828 GB, free: 103.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003648/11.39, allocations: 2.105 MB / 4.83 GB, free: 100.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/11.39, allocations: 4 kB / 4.83 GB, free: 100.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/11.39, allocations: 8 kB / 4.83 GB, free: 100.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000486/11.39, allocations: 123.8 kB / 4.83 GB, free: 100.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/11.39, allocations: 15.84 kB / 4.83 GB, free: 100.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000799/11.39, allocations: 87.53 kB / 4.83 GB, free: 100.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.916e-05/11.39, allocations: 24 kB / 4.83 GB, free: 100.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.802e-06/11.39, allocations: 4 kB / 4.83 GB, free: 100.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004966/11.4, allocations: 419.7 kB / 4.831 GB, free: 100.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/11.4, allocations: 4 kB / 4.831 GB, free: 100.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.742e-06/11.4, allocations: 8 kB / 4.831 GB, free: 100.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003959/11.4, allocations: 107.9 kB / 4.831 GB, free: 100.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/11.4, allocations: 16.16 kB / 4.831 GB, free: 100.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005743/11.4, allocations: 75.62 kB / 4.831 GB, free: 99.98 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.525e-05/11.4, allocations: 24 kB / 4.831 GB, free: 99.95 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.0001113/11.4, allocations: 128.5 kB / 4.831 GB, free: 99.82 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.14e-05/11.4, allocations: 94.86 kB / 4.831 GB, free: 99.73 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006579/11.4, allocations: 458.5 kB / 4.831 GB, free: 99.27 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.054e-06/11.4, allocations: 7.906 kB / 4.831 GB, free: 99.26 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/11.4, allocations: 0 / 4.831 GB, free: 99.26 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/11.4, allocations: 3.984 kB / 4.831 GB, free: 99.26 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00145/11.4, allocations: 1.282 MB / 4.833 GB, free: 97.91 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/11.4, allocations: 240 / 4.833 GB, free: 97.91 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002859/11.4, allocations: 75.88 kB / 4.833 GB, free: 97.84 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/11.4, allocations: 4.219 kB / 4.833 GB, free: 97.83 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.168e-05/11.4, allocations: 11.91 kB / 4.833 GB, free: 97.82 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/11.4, allocations: 7.984 kB / 4.833 GB, free: 97.81 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/11.4, allocations: 11.92 kB / 4.833 GB, free: 97.8 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004757/11.4, allocations: 0.6361 MB / 4.833 GB, free: 97.09 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002332/11.4, allocations: 207.9 kB / 4.834 GB, free: 96.86 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001254/11.4, allocations: 4 kB / 4.834 GB, free: 96.86 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004635/11.4, allocations: 51.8 kB / 4.834 GB, free: 96.81 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.699e-05/11.4, allocations: 31.89 kB / 4.834 GB, free: 96.78 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/11.4, allocations: 8 kB / 4.834 GB, free: 96.77 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0006404/11.4, allocations: 0.6845 MB / 4.834 GB, free: 96.07 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001153/11.4, allocations: 463.3 kB / 4.835 GB, free: 95.62 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.001156/11.4, allocations: 1.028 MB / 4.836 GB, free: 94.59 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0007961/11.4, allocations: 0.7254 MB / 4.837 GB, free: 93.86 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/11.4, allocations: 4.188 kB / 4.837 GB, free: 93.85 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002181/11.4, allocations: 187.7 kB / 4.837 GB, free: 93.67 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001545/11.41, allocations: 377.6 kB / 4.837 GB, free: 93.31 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001938/11.41, allocations: 1.386 MB / 4.838 GB, free: 91.87 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006116/11.41, allocations: 1.275 MB / 4.84 GB, free: 90.57 MB / 0.948 GB Notification: Performance of SimCode: time 2.71e-07/11.41, allocations: 0 / 4.84 GB, free: 90.57 MB / 0.948 GB Notification: Performance of Templates: time 0.03052/11.44, allocations: 21.2 MB / 4.86 GB, free: 69.49 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)