Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries.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.Movers.Examples.PumpsSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries") translateModel(Buildings.Fluid.Movers.Examples.PumpsSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries") [: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.519/1.519, allocations: 285.5 MB / 292.8 MB, free: 10.42 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.001361/0.001361, allocations: 189.3 kB / 361.1 MB, free: 7.07 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.321/1.321, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0009597/0.0009599, allocations: 90.22 kB / 0.7325 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.265e-06/8.366e-06, allocations: 0 / 0.851 GB, free: 2.977 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6512/0.6513, allocations: 115.3 MB / 0.9637 GB, free: 78.24 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9085/1.56, allocations: 435.8 MB / 1.389 GB, free: 131.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002337/1.56, allocations: 93.31 kB / 1.389 GB, free: 131.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.472/4.032, allocations: 0.6842 GB / 2.074 GB, free: 142.8 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0003863/4.032, allocations: 49.55 kB / 2.074 GB, free: 142.8 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.005607/4.038, allocations: 1.949 MB / 2.076 GB, free: 142 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/4.038, allocations: 7.438 kB / 2.076 GB, free: 142 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0036/4.041, allocations: 0.5883 MB / 2.076 GB, free: 141.9 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03259/4.074, allocations: 14.14 MB / 2.09 GB, free: 141 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001224/4.074, allocations: 40.09 kB / 2.09 GB, free: 141 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005932/4.075, allocations: 64.59 kB / 2.09 GB, free: 141 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00277/4.078, allocations: 0.8652 MB / 2.091 GB, free: 141 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003356/4.081, allocations: 1.108 MB / 2.092 GB, free: 140.8 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.383e-05/4.081, allocations: 3.75 kB / 2.092 GB, free: 140.8 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000293/4.081, allocations: 3.969 kB / 2.092 GB, free: 140.8 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.276e-05/4.081, allocations: 27.03 kB / 2.092 GB, free: 140.8 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01123/4.093, allocations: 5.543 MB / 2.097 GB, free: 138.2 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001408/4.094, allocations: 0.821 MB / 2.098 GB, free: 138 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004976/4.095, allocations: 369.3 kB / 2.099 GB, free: 138 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00372/4.098, allocations: 2.202 MB / 2.101 GB, free: 136.8 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/4.098, allocations: 38.5 kB / 2.101 GB, free: 136.7 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=62): time 3.858e-06/4.098, allocations: 5.5 kB / 2.101 GB, free: 136.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=62): time 0.00399/4.102, allocations: 1.177 MB / 2.102 GB, free: 136.6 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.386e-05/4.103, allocations: 213.2 kB / 2.102 GB, free: 136.3 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002312/4.105, allocations: 1.197 MB / 2.103 GB, free: 136.2 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001086/4.105, allocations: 29.3 kB / 2.103 GB, free: 136.1 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003924/4.105, allocations: 0.5081 MB / 2.104 GB, free: 135.9 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002204/4.106, allocations: 215.7 kB / 2.104 GB, free: 135.7 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.666e-05/4.106, allocations: 0 / 2.104 GB, free: 135.7 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.835e-05/4.106, allocations: 341.7 kB / 2.104 GB, free: 135.4 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000503/4.106, allocations: 365.1 kB / 2.105 GB, free: 135.4 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006659/4.107, allocations: 0.7383 MB / 2.105 GB, free: 135 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001735/4.109, allocations: 0.5653 MB / 2.106 GB, free: 134.9 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.376e-06/4.109, allocations: 2.875 kB / 2.106 GB, free: 134.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003263/4.112, allocations: 1.412 MB / 2.107 GB, free: 134.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.000617/4.113, allocations: 3.341 MB / 2.111 GB, free: 131.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.746e-05/4.113, allocations: 15.61 kB / 2.111 GB, free: 131.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000868/4.114, allocations: 293.6 kB / 2.111 GB, free: 131.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007991/4.114, allocations: 204.1 kB / 2.111 GB, free: 131.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001371/4.116, allocations: 1.561 MB / 2.113 GB, free: 130.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001369/4.117, allocations: 131.9 kB / 2.113 GB, free: 130.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000167/4.117, allocations: 73.78 kB / 2.113 GB, free: 130.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 7.835e-06/4.117, allocations: 7.438 kB / 2.113 GB, free: 130.2 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002833/4.12, allocations: 1.157 MB / 2.114 GB, free: 130.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-05/4.12, allocations: 15.27 kB / 2.114 GB, free: 130.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008805/4.121, allocations: 306.4 kB / 2.114 GB, free: 130.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000696/4.122, allocations: 193.4 kB / 2.114 GB, free: 130.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005842/4.128, allocations: 3.899 MB / 2.118 GB, free: 128 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001352/4.129, allocations: 105.1 kB / 2.118 GB, free: 127.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001638/4.129, allocations: 63.45 kB / 2.118 GB, free: 127.9 MB / 0.9323 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: floMac1.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real floMac2.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 88 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004116/4.13, allocations: 137.5 kB / 2.119 GB, free: 127.8 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004241/4.13, allocations: 158.3 kB / 2.119 GB, free: 127.7 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003798/4.134, allocations: 1.421 MB / 2.12 GB, free: 127.6 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.59e-05/4.134, allocations: 7.75 kB / 2.12 GB, free: 127.6 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/4.134, allocations: 0 / 2.12 GB, free: 127.6 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/4.134, allocations: 9.078 kB / 2.12 GB, free: 127.6 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004919/4.139, allocations: 2.348 MB / 2.122 GB, free: 127.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/4.139, allocations: 0 / 2.122 GB, free: 127.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000596/4.139, allocations: 116.4 kB / 2.122 GB, free: 127.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005568/4.14, allocations: 233.7 kB / 2.123 GB, free: 127.2 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.496e-05/4.14, allocations: 22 kB / 2.123 GB, free: 127.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0011/4.141, allocations: 1.443 MB / 2.124 GB, free: 126.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/4.141, allocations: 0 / 2.124 GB, free: 126.2 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003231/4.144, allocations: 1.734 MB / 2.126 GB, free: 125.8 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008644/4.145, allocations: 347.1 kB / 2.126 GB, free: 125.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004603/4.146, allocations: 3.688 kB / 2.126 GB, free: 125.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001243/4.147, allocations: 72.5 kB / 2.126 GB, free: 125.6 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.495e-05/4.147, allocations: 48.33 kB / 2.126 GB, free: 125.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.752e-05/4.147, allocations: 38.97 kB / 2.126 GB, free: 125.6 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.001682/4.149, allocations: 0.8996 MB / 2.127 GB, free: 125.5 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004424/4.153, allocations: 1.027 MB / 2.128 GB, free: 125.3 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (floMac1.filter.x[1],floMac1.filter.x[2],floMac2.filter.x[1],floMac2.filter.x[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.003463/4.157, allocations: 1.316 MB / 2.129 GB, free: 125 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.004144/4.161, allocations: 1.797 MB / 2.131 GB, free: 124.7 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/4.161, allocations: 5.219 kB / 2.131 GB, free: 124.7 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0009034/4.162, allocations: 438.3 kB / 2.132 GB, free: 124.7 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003741/4.166, allocations: 0.6298 MB / 2.132 GB, free: 124.7 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007081/4.173, allocations: 2.244 MB / 2.134 GB, free: 124.1 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002087/4.175, allocations: 1.56 MB / 2.136 GB, free: 123.4 MB / 0.9323 GB Notification: Performance of SimCode: time 7.92e-07/4.175, allocations: 1.25 kB / 2.136 GB, free: 123.4 MB / 0.9323 GB Notification: Performance of Templates: time 0.07244/4.247, allocations: 43.53 MB / 2.179 GB, free: 120.3 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe 2>&1)