Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Movers_Validation_Pump_Nrpm_stratos",fmuType="me",version="2.0",platforms={"static"}) [: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 7.0.1/package.mo): time 2.153/2.153, allocations: 248.6 MB / 255.9 MB, free: 7.137 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00163/0.00163, allocations: 176.3 kB / 315.1 MB, free: 4.297 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.065/2.065, allocations: 205.1 MB / 0.5658 GB, free: 320 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001331/0.001331, allocations: 93.5 kB / 0.67 GB, free: 5.523 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5302/0.5316, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.7559, allocations: 106.3 MB / 0.8835 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.508/2.264, allocations: 395.1 MB / 1.269 GB, free: 252.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003291/2.265, allocations: 90.3 kB / 1.269 GB, free: 252.8 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1234 * Number of variables: 1234 Notification: Performance of Generate backend data structure: time 14.36/16.62, allocations: 2.701 GB / 3.97 GB, free: 46.76 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 6.987e-05/16.62, allocations: 9.875 kB / 3.97 GB, free: 46.76 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04738/16.67, allocations: 3.084 MB / 3.973 GB, free: 45.96 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3161/16.99, allocations: 60.75 MB / 4.032 GB, free: 32.42 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000657/16.99, allocations: 162.9 kB / 4.032 GB, free: 32.42 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003456/16.99, allocations: 337.7 kB / 4.033 GB, free: 32.42 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02036/17.01, allocations: 4.977 MB / 4.038 GB, free: 28.43 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02566/17.04, allocations: 5.893 MB / 4.043 GB, free: 22.15 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002847/17.04, allocations: 11.88 kB / 4.043 GB, free: 22.14 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002644/17.04, allocations: 11.94 kB / 4.043 GB, free: 22.13 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001384/17.04, allocations: 123.9 kB / 4.043 GB, free: 22.01 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1014/17.14, allocations: 29.6 MB / 4.072 GB, free: 7.441 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01667/17.16, allocations: 4.493 MB / 4.077 GB, free: 2.945 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009465/17.17, allocations: 2.159 MB / 4.079 GB, free: 0.7734 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04293/17.21, allocations: 10.97 MB / 4.09 GB, free: 5.129 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001437/17.21, allocations: 68.62 kB / 4.09 GB, free: 5.051 MB / 1.026 GB Notification: Performance of pre-optimization done (n=262): time 1.814e-05/17.21, allocations: 0 / 4.09 GB, free: 5.051 MB / 1.026 GB Notification: Performance of matching and sorting (n=262): time 1.219/18.43, allocations: 6.455 MB / 4.096 GB, free: 138.2 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002336/18.43, allocations: 0.7153 MB / 4.097 GB, free: 137.3 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03368/18.46, allocations: 9.886 MB / 4.106 GB, free: 136.9 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.001767/18.47, allocations: 32.39 kB / 4.106 GB, free: 136.8 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.004812/18.47, allocations: 2.559 MB / 4.109 GB, free: 136.7 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.003328/18.47, allocations: 0.878 MB / 4.11 GB, free: 136.4 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009802/18.48, allocations: 0 / 4.11 GB, free: 136.4 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0005749/18.48, allocations: 0.513 MB / 4.11 GB, free: 136.1 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007417/18.48, allocations: 2.462 MB / 4.113 GB, free: 136.1 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0103/18.49, allocations: 4.74 MB / 4.117 GB, free: 133.3 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01676/18.51, allocations: 3.578 MB / 4.121 GB, free: 133.2 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.908e-05/18.51, allocations: 14.91 kB / 4.121 GB, free: 133.2 MB / 1.026 GB Notification: Performance of matching and sorting (n=667) (initialization): time 0.04523/18.56, allocations: 8.568 MB / 4.129 GB, free: 132.6 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.007567/18.56, allocations: 34.68 MB / 4.163 GB, free: 97.65 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000451/18.56, allocations: 80.08 kB / 4.163 GB, free: 97.65 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004418/18.57, allocations: 0.8964 MB / 4.164 GB, free: 97.61 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01114/18.58, allocations: 1.191 MB / 4.165 GB, free: 97.61 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007109/18.59, allocations: 4.111 MB / 4.169 GB, free: 95 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01427/18.6, allocations: 0.7193 MB / 4.17 GB, free: 94.84 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002328/18.6, allocations: 449.6 kB / 4.17 GB, free: 94.84 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/18.6, allocations: 3.594 kB / 4.17 GB, free: 94.84 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02974/18.63, allocations: 6.671 MB / 4.177 GB, free: 94.71 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00037/18.63, allocations: 76.44 kB / 4.177 GB, free: 94.71 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004077/18.64, allocations: 0.8971 MB / 4.178 GB, free: 94.67 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01011/18.65, allocations: 1.113 MB / 4.179 GB, free: 94.67 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006812/18.66, allocations: 4.108 MB / 4.183 GB, free: 92.06 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0128/18.67, allocations: 0.5607 MB / 4.183 GB, free: 91.96 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002033/18.67, allocations: 396.1 kB / 4.184 GB, free: 91.96 MB / 1.026 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump5.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real forcedPump5.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump4.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real forcedPump4.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump3.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real forcedPump3.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump2.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real forcedPump2.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump1.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real forcedPump1.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: 266 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (542): * Single equations (assignments): 507 * Array equations: 20 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {3 8,2 9,2 9,2 9,2 9} Notification: Performance of prepare postOptimizeDAE: time 0.002532/18.67, allocations: 303.3 kB / 4.184 GB, free: 91.86 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003729/18.68, allocations: 0.908 MB / 4.185 GB, free: 91.34 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03855/18.71, allocations: 6.849 MB / 4.192 GB, free: 91.04 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001396/18.72, allocations: 44.05 kB / 4.192 GB, free: 91.04 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.866e-05/18.72, allocations: 0 / 4.192 GB, free: 91.04 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001059/18.72, allocations: 14.86 kB / 4.192 GB, free: 91.04 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06522/18.78, allocations: 12.52 MB / 4.204 GB, free: 90.42 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.199e-05/18.78, allocations: 4.938 kB / 4.204 GB, free: 90.42 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009797/18.79, allocations: 0.5753 MB / 4.204 GB, free: 90.42 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005097/18.8, allocations: 0.7853 MB / 4.205 GB, free: 90.38 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001111/18.8, allocations: 89.22 kB / 4.205 GB, free: 90.38 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006397/18.8, allocations: 3.967 MB / 4.209 GB, free: 87.77 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.959e-06/18.8, allocations: 5.656 kB / 4.209 GB, free: 87.77 MB / 1.026 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02574/18.83, allocations: 7.776 MB / 4.217 GB, free: 86.57 MB / 1.026 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03392/18.86, allocations: 10.97 MB / 4.227 GB, free: 84.97 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008557/18.87, allocations: 1.911 MB / 4.229 GB, free: 84.36 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005046/18.88, allocations: 30.45 kB / 4.229 GB, free: 84.35 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01239/18.89, allocations: 363.1 kB / 4.23 GB, free: 84.34 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001022/18.89, allocations: 178.1 kB / 4.23 GB, free: 84.34 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000777/18.89, allocations: 190.6 kB / 4.23 GB, free: 84.34 MB / 1.026 GB Notification: Performance of sort global known variables: time 0.02275/18.91, allocations: 7.337 MB / 4.237 GB, free: 84.05 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.03247/18.95, allocations: 5.336 MB / 4.242 GB, free: 83.83 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 20 (pump1.filter.x[1],pump1.filter.x[2],pump2.filter.x[1],pump2.filter.x[2],pump3.filter.x[1],pump3.filter.x[2],pump4.filter.x[1],pump4.filter.x[2],pump5.filter.x[1],pump5.filter.x[2],forcedPump1.filter.x[1],forcedPump1.filter.x[2],forcedPump2.filter.x[1],forcedPump2.filter.x[2],forcedPump3.filter.x[1],forcedPump3.filter.x[2],forcedPump4.filter.x[1],forcedPump4.filter.x[2],forcedPump5.filter.x[1],forcedPump5.filter.x[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (274): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 22 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {2 9,2 9,2 9,2 9,2 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.01049/18.96, allocations: 4.446 MB / 4.247 GB, free: 82.28 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.02744/18.98, allocations: 9.627 MB / 4.256 GB, free: 81.5 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.394e-05/18.98, allocations: 4.625 kB / 4.256 GB, free: 81.5 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.00635/18.99, allocations: 1.978 MB / 4.258 GB, free: 81.48 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03475/19.03, allocations: 4.146 MB / 4.262 GB, free: 81.43 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05724/19.08, allocations: 13.9 MB / 4.276 GB, free: 78.34 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02019/19.1, allocations: 6.22 MB / 4.282 GB, free: 77.42 MB / 1.026 GB Notification: Performance of SimCode: time 2.995e-06/19.1, allocations: 0 / 4.282 GB, free: 77.42 MB / 1.026 GB