Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.628/1.628, allocations: 285.5 MB / 292.8 MB, free: 9.848 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.0012/0.0012, allocations: 185.3 kB / 361.1 MB, free: 388 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.899/1.899, allocations: 205.1 MB / 0.6195 GB, free: 2.875 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001078/0.001078, allocations: 83.38 kB / 0.7326 GB, free: 1.059 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 1.006e-05/1.007e-05, allocations: 2.719 kB / 0.8511 GB, free: 151.9 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2694, allocations: 115.3 MB / 0.9637 GB, free: 56.39 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.968/5.237, allocations: 2.063 GB / 3.026 GB, free: 318.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002304/5.237, allocations: 95.45 kB / 3.026 GB, free: 318 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.763/8, allocations: 0.9613 GB / 3.988 GB, free: 80.94 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.525e-05/8.001, allocations: 27.98 kB / 3.988 GB, free: 80.91 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.001617/8.002, allocations: 1.126 MB / 3.989 GB, free: 79.73 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/8.002, allocations: 8.531 kB / 3.989 GB, free: 79.73 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007855/8.003, allocations: 190.4 kB / 3.989 GB, free: 79.54 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001869/8.005, allocations: 1.092 MB / 3.99 GB, free: 78.39 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/8.005, allocations: 16 kB / 3.99 GB, free: 78.38 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.565e-05/8.005, allocations: 40 kB / 3.99 GB, free: 78.34 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006458/8.006, allocations: 489.7 kB / 3.991 GB, free: 77.86 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007731/8.006, allocations: 0.6889 MB / 3.991 GB, free: 77.09 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/8.006, allocations: 4 kB / 3.991 GB, free: 77.09 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.331e-05/8.006, allocations: 8 kB / 3.991 GB, free: 77.08 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.315e-05/8.007, allocations: 12 kB / 3.991 GB, free: 77.07 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003102/8.01, allocations: 4.671 MB / 3.996 GB, free: 72.04 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004662/8.01, allocations: 454.4 kB / 3.996 GB, free: 71.58 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002662/8.01, allocations: 252.7 kB / 3.997 GB, free: 71.33 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002612/8.011, allocations: 194.2 kB / 3.997 GB, free: 71.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003067/8.011, allocations: 257.2 kB / 3.997 GB, free: 70.83 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 2.255e-06/8.011, allocations: 0 / 3.997 GB, free: 70.83 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.0008905/8.012, allocations: 0.5015 MB / 3.997 GB, free: 70.32 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/8.012, allocations: 89.08 kB / 3.998 GB, free: 70.22 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008704/8.013, allocations: 0.8713 MB / 3.998 GB, free: 69.33 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.718e-05/8.013, allocations: 29.7 kB / 3.998 GB, free: 69.29 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001852/8.013, allocations: 348.6 kB / 3.999 GB, free: 68.95 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.517e-05/8.013, allocations: 106.5 kB / 3.999 GB, free: 68.84 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.953e-05/8.013, allocations: 0 / 3.999 GB, free: 68.84 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.138e-05/8.013, allocations: 326 kB / 3.999 GB, free: 68.52 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002217/8.013, allocations: 188.8 kB / 3.999 GB, free: 68.34 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003826/8.014, allocations: 0.5036 MB / 4 GB, free: 67.69 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003036/8.014, allocations: 278.1 kB / 4 GB, free: 67.42 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/8.014, allocations: 7.938 kB / 4 GB, free: 67.41 MB / 0.948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007422/8.015, allocations: 0.6209 MB / 4.001 GB, free: 66.79 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004495/8.015, allocations: 2.101 MB / 4.003 GB, free: 64.52 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/8.015, allocations: 8 kB / 4.003 GB, free: 64.52 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/8.015, allocations: 8.219 kB / 4.003 GB, free: 64.51 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001689/8.017, allocations: 279.5 kB / 4.003 GB, free: 64.23 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002563/8.02, allocations: 6.231 MB / 4.009 GB, free: 57.77 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008165/8.021, allocations: 87.72 kB / 4.009 GB, free: 57.68 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.96e-05/8.021, allocations: 27.98 kB / 4.009 GB, free: 57.66 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.716e-06/8.021, allocations: 7.906 kB / 4.009 GB, free: 57.65 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005011/8.021, allocations: 411.5 kB / 4.01 GB, free: 57.25 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/8.021, allocations: 8 kB / 4.01 GB, free: 57.24 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.604e-06/8.021, allocations: 8 kB / 4.01 GB, free: 57.23 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005246/8.022, allocations: 152.2 kB / 4.01 GB, free: 57.08 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/8.022, allocations: 11.94 kB / 4.01 GB, free: 57.07 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005672/8.022, allocations: 75.62 kB / 4.01 GB, free: 57 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.033e-05/8.022, allocations: 24 kB / 4.01 GB, free: 56.97 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.0001197/8.022, allocations: 136.6 kB / 4.01 GB, free: 56.83 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.773e-05/8.023, allocations: 94.78 kB / 4.01 GB, free: 56.74 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006177/8.023, allocations: 454.9 kB / 4.011 GB, free: 56.28 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/8.023, allocations: 4 kB / 4.011 GB, free: 56.28 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/8.023, allocations: 7.984 kB / 4.011 GB, free: 56.27 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/8.023, allocations: 11.83 kB / 4.011 GB, free: 56.26 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001466/8.025, allocations: 1.274 MB / 4.012 GB, free: 54.92 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/8.025, allocations: 0 / 4.012 GB, free: 54.92 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006355/8.025, allocations: 168 kB / 4.012 GB, free: 54.75 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/8.025, allocations: 4 kB / 4.012 GB, free: 54.75 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.173e-05/8.025, allocations: 4 kB / 4.012 GB, free: 54.75 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001905/8.027, allocations: 6.087 MB / 4.018 GB, free: 48.43 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/8.027, allocations: 0 / 4.018 GB, free: 48.43 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005099/8.028, allocations: 0.6478 MB / 4.019 GB, free: 47.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002369/8.028, allocations: 211.9 kB / 4.019 GB, free: 47.47 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/8.028, allocations: 0 / 4.019 GB, free: 47.47 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004575/8.029, allocations: 47.86 kB / 4.019 GB, free: 47.43 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.028e-05/8.029, allocations: 31.86 kB / 4.019 GB, free: 47.39 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.291e-05/8.029, allocations: 16 kB / 4.019 GB, free: 47.38 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0006586/8.029, allocations: 0.6845 MB / 4.02 GB, free: 46.68 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001203/8.031, allocations: 455.4 kB / 4.02 GB, free: 46.24 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.001264/8.032, allocations: 1.04 MB / 4.021 GB, free: 45.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002614/8.035, allocations: 0.9464 MB / 4.022 GB, free: 44.24 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/8.035, allocations: 5.375 kB / 4.022 GB, free: 44.23 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007318/8.035, allocations: 288.1 kB / 4.022 GB, free: 43.95 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001537/8.037, allocations: 377 kB / 4.023 GB, free: 43.59 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001997/8.039, allocations: 1.375 MB / 4.024 GB, free: 42.16 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005988/8.039, allocations: 1.267 MB / 4.025 GB, free: 40.86 MB / 0.948 GB Notification: Performance of SimCode: time 2.6e-07/8.039, allocations: 0 / 4.025 GB, free: 40.86 MB / 0.948 GB Notification: Performance of Templates: time 0.03111/8.071, allocations: 21.95 MB / 4.047 GB, free: 19.05 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)