Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.691/1.691, allocations: 289.8 MB / 297.1 MB, free: 6.684 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.001431/0.00143, allocations: 181.2 kB / 366.3 MB, free: 2.016 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.908/1.908, allocations: 205.1 MB / 0.6256 GB, free: 5.836 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.001184/0.001184, allocations: 91.94 kB / 0.7396 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.666e-06/8.686e-06, allocations: 0 / 0.859 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7414/0.7415, allocations: 116.3 MB / 0.9726 GB, free: 68.29 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.344/5.086, allocations: 2.064 GB / 3.036 GB, free: 10.91 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002463/5.086, allocations: 88.7 kB / 3.036 GB, free: 10.82 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.222/8.308, allocations: 0.9613 GB / 3.998 GB, free: 147 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.767e-05/8.308, allocations: 27.98 kB / 3.998 GB, free: 147 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.001835/8.31, allocations: 1.118 MB / 3.999 GB, free: 145.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/8.31, allocations: 8.031 kB / 3.999 GB, free: 145.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008555/8.311, allocations: 194.4 kB / 3.999 GB, free: 145.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001951/8.313, allocations: 1.096 MB / 4 GB, free: 144.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/8.313, allocations: 16 kB / 4 GB, free: 144.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.22e-05/8.313, allocations: 40 kB / 4 GB, free: 144.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006616/8.313, allocations: 497.6 kB / 4 GB, free: 143.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007337/8.314, allocations: 0.686 MB / 4.001 GB, free: 143.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/8.314, allocations: 7.984 kB / 4.001 GB, free: 143.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.223e-05/8.314, allocations: 0 / 4.001 GB, free: 143.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.615e-05/8.314, allocations: 16 kB / 4.001 GB, free: 143.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00319/8.318, allocations: 4.667 MB / 4.006 GB, free: 138.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004684/8.318, allocations: 451.2 kB / 4.006 GB, free: 137.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002576/8.318, allocations: 244.7 kB / 4.006 GB, free: 137.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000316/8.319, allocations: 198.2 kB / 4.007 GB, free: 137.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000276/8.319, allocations: 257.6 kB / 4.007 GB, free: 136.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 2.154e-06/8.319, allocations: 0 / 4.007 GB, free: 136.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.0008961/8.32, allocations: 0.4942 MB / 4.007 GB, free: 136.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/8.32, allocations: 89.09 kB / 4.007 GB, free: 136.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00084/8.321, allocations: 0.8752 MB / 4.008 GB, free: 135.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.943e-05/8.321, allocations: 29.92 kB / 4.008 GB, free: 135.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/8.321, allocations: 332.7 kB / 4.009 GB, free: 135 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.771e-05/8.321, allocations: 114.4 kB / 4.009 GB, free: 134.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.028e-05/8.321, allocations: 0 / 4.009 GB, free: 134.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.082e-05/8.321, allocations: 326 kB / 4.009 GB, free: 134.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000208/8.321, allocations: 184.8 kB / 4.009 GB, free: 134.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003538/8.322, allocations: 0.5057 MB / 4.01 GB, free: 133.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002857/8.322, allocations: 275 kB / 4.01 GB, free: 133.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/8.322, allocations: 0 / 4.01 GB, free: 133.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007417/8.323, allocations: 0.6211 MB / 4.011 GB, free: 132.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003748/8.323, allocations: 2.105 MB / 4.013 GB, free: 130.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/8.323, allocations: 7.984 kB / 4.013 GB, free: 130.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/8.323, allocations: 11.98 kB / 4.013 GB, free: 130.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001699/8.325, allocations: 283.5 kB / 4.013 GB, free: 130.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002571/8.327, allocations: 6.239 MB / 4.019 GB, free: 123.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009867/8.328, allocations: 87.69 kB / 4.019 GB, free: 123.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.298e-05/8.328, allocations: 24 kB / 4.019 GB, free: 123.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/8.328, allocations: 4 kB / 4.019 GB, free: 123.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00052/8.329, allocations: 415.8 kB / 4.019 GB, free: 123.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/8.329, allocations: 4 kB / 4.019 GB, free: 123.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.927e-06/8.329, allocations: 15.94 kB / 4.019 GB, free: 123.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000542/8.33, allocations: 151.9 kB / 4.02 GB, free: 123.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/8.33, allocations: 11.94 kB / 4.02 GB, free: 123.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006899/8.33, allocations: 75.62 kB / 4.02 GB, free: 123 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.616e-05/8.33, allocations: 20 kB / 4.02 GB, free: 123 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.0001431/8.331, allocations: 136.7 kB / 4.02 GB, free: 122.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/8.331, allocations: 94.78 kB / 4.02 GB, free: 122.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006829/8.331, allocations: 458.7 kB / 4.02 GB, free: 122.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/8.331, allocations: 4 kB / 4.02 GB, free: 122.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/8.331, allocations: 0 / 4.02 GB, free: 122.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/8.331, allocations: 7.922 kB / 4.02 GB, free: 122.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00154/8.333, allocations: 1.277 MB / 4.022 GB, free: 121 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/8.333, allocations: 0 / 4.022 GB, free: 121 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006537/8.334, allocations: 171.9 kB / 4.022 GB, free: 120.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/8.334, allocations: 4 kB / 4.022 GB, free: 120.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.154e-05/8.334, allocations: 4 kB / 4.022 GB, free: 120.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001876/8.336, allocations: 6.079 MB / 4.028 GB, free: 114.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/8.336, allocations: 8.031 kB / 4.028 GB, free: 114.5 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005898/8.336, allocations: 0.6457 MB / 4.028 GB, free: 113.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003375/8.336, allocations: 207.9 kB / 4.029 GB, free: 113.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001262/8.337, allocations: 4 kB / 4.029 GB, free: 113.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005031/8.337, allocations: 51.86 kB / 4.029 GB, free: 113.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.273e-05/8.337, allocations: 31.89 kB / 4.029 GB, free: 113.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.179e-05/8.337, allocations: 12 kB / 4.029 GB, free: 113.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0007268/8.338, allocations: 0.6844 MB / 4.029 GB, free: 112.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001365/8.339, allocations: 455.4 kB / 4.03 GB, free: 112.3 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.001261/8.341, allocations: 1.043 MB / 4.031 GB, free: 111.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002881/8.343, allocations: 0.9465 MB / 4.032 GB, free: 110.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/8.344, allocations: 0 / 4.032 GB, free: 110.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000767/8.344, allocations: 289.5 kB / 4.032 GB, free: 110 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001917/8.346, allocations: 373.1 kB / 4.032 GB, free: 109.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002378/8.349, allocations: 1.386 MB / 4.034 GB, free: 108.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006655/8.349, allocations: 1.271 MB / 4.035 GB, free: 106.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.102e-06/8.349, allocations: 0 / 4.035 GB, free: 106.9 MB / 0.948 GB Notification: Performance of Templates: time 0.03194/8.381, allocations: 21.94 MB / 4.056 GB, free: 85.07 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)