Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Movers_Validation_Pump_Nrpm_stratos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.651/2.651, allocations: 284.8 MB / 292.1 MB, free: 10.77 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.002014/0.002014, allocations: 173.3 kB / 360.3 MB, free: 7.551 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.912/1.912, allocations: 205.1 MB / 0.6187 GB, free: 13.21 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.001172/0.001171, allocations: 88.77 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3054/0.3067, allocations: 121.4 MB / 0.8502 GB, free: 3.941 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.66/0.9667, allocations: 115.2 MB / 0.9627 GB, free: 78.44 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.16/2.126, allocations: 400.4 MB / 1.354 GB, free: 165.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002733/2.127, allocations: 88.23 kB / 1.354 GB, free: 165.4 MB / 0.8542 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.23/16.36, allocations: 2.7 GB / 4.054 GB, free: 58.36 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/16.36, allocations: 14.03 kB / 4.054 GB, free: 58.36 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03155/16.39, allocations: 3.091 MB / 4.057 GB, free: 57.71 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2678/16.66, allocations: 60.74 MB / 4.117 GB, free: 54 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005247/16.66, allocations: 161.5 kB / 4.117 GB, free: 54 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00318/16.66, allocations: 339.8 kB / 4.117 GB, free: 54 MB / 1.073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01943/16.68, allocations: 4.971 MB / 4.122 GB, free: 53.97 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0255/16.71, allocations: 5.904 MB / 4.128 GB, free: 52.89 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000319/16.71, allocations: 13.38 kB / 4.128 GB, free: 52.89 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002646/16.71, allocations: 7.281 kB / 4.128 GB, free: 52.89 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001327/16.71, allocations: 120.2 kB / 4.128 GB, free: 52.89 MB / 1.073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09048/16.8, allocations: 29.63 MB / 4.157 GB, free: 41.78 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01235/16.81, allocations: 4.501 MB / 4.161 GB, free: 41.72 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007516/16.82, allocations: 2.151 MB / 4.163 GB, free: 41.7 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03685/16.86, allocations: 11 MB / 4.174 GB, free: 37.93 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.617e-05/16.86, allocations: 70.67 kB / 4.174 GB, free: 37.89 MB / 1.073 GB Notification: Performance of pre-optimization done (n=262): time 6.483e-06/16.86, allocations: 2.094 kB / 4.174 GB, free: 37.89 MB / 1.073 GB Notification: Performance of matching and sorting (n=262): time 0.03827/16.9, allocations: 6.454 MB / 4.18 GB, free: 37.2 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002556/16.9, allocations: 0.7174 MB / 4.181 GB, free: 36.35 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05225/16.95, allocations: 9.889 MB / 4.191 GB, free: 35.75 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.002229/16.95, allocations: 32.23 kB / 4.191 GB, free: 35.72 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.006441/16.96, allocations: 2.575 MB / 4.193 GB, free: 34.45 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.005807/16.96, allocations: 0.8779 MB / 4.194 GB, free: 33.75 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00207/16.97, allocations: 2.219 kB / 4.194 GB, free: 33.75 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0009023/16.97, allocations: 0.4998 MB / 4.195 GB, free: 33.36 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01163/16.98, allocations: 2.465 MB / 4.197 GB, free: 32.43 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01492/16.99, allocations: 4.746 MB / 4.202 GB, free: 28.5 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01874/17.01, allocations: 3.571 MB / 4.205 GB, free: 27.38 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001061/17.01, allocations: 14.69 kB / 4.205 GB, free: 27.38 MB / 1.073 GB Notification: Performance of matching and sorting (n=667) (initialization): time 0.03999/17.05, allocations: 8.565 MB / 4.214 GB, free: 24.46 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.01079/17.06, allocations: 34.68 MB / 4.247 GB, free: 5.105 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003638/17.06, allocations: 81.33 kB / 4.247 GB, free: 5.102 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004569/17.07, allocations: 0.9026 MB / 4.248 GB, free: 4.867 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01099/17.08, allocations: 1.194 MB / 4.25 GB, free: 4.762 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007699/17.09, allocations: 4.095 MB / 4.254 GB, free: 1.594 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01456/17.1, allocations: 0.7157 MB / 4.254 GB, free: 1.293 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002678/17.11, allocations: 463.9 kB / 4.255 GB, free: 1.242 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/17.11, allocations: 6.188 kB / 4.255 GB, free: 1.242 MB / 1.089 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03464/17.14, allocations: 6.817 MB / 4.261 GB, free: 15.79 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004178/17.14, allocations: 79.39 kB / 4.261 GB, free: 15.79 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004521/17.15, allocations: 0.897 MB / 4.262 GB, free: 15.55 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01132/17.16, allocations: 1.116 MB / 4.263 GB, free: 15.45 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007977/17.16, allocations: 4.099 MB / 4.267 GB, free: 12.27 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01718/17.18, allocations: 0.5664 MB / 4.268 GB, free: 12.05 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003136/17.18, allocations: 391.2 kB / 4.268 GB, free: 12.01 MB / 1.104 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.0042/17.19, allocations: 304.3 kB / 4.269 GB, free: 11.77 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003992/17.19, allocations: 0.9133 MB / 4.269 GB, free: 11.25 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04218/17.24, allocations: 6.859 MB / 4.276 GB, free: 8.379 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002502/17.24, allocations: 42.75 kB / 4.276 GB, free: 8.344 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.781e-05/17.24, allocations: 4 kB / 4.276 GB, free: 8.34 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001422/17.24, allocations: 15.84 kB / 4.276 GB, free: 8.34 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08596/17.32, allocations: 12.86 MB / 4.289 GB, free: 15.45 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.99e-05/17.32, allocations: 0 / 4.289 GB, free: 15.45 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007093/17.33, allocations: 0.5793 MB / 4.289 GB, free: 14.99 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003987/17.33, allocations: 0.785 MB / 4.29 GB, free: 14.33 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001172/17.33, allocations: 85.53 kB / 4.29 GB, free: 14.28 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007655/17.34, allocations: 3.971 MB / 4.294 GB, free: 10.36 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.666e-05/17.34, allocations: 3.938 kB / 4.294 GB, free: 10.35 MB / 1.12 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03841/17.38, allocations: 7.776 MB / 4.302 GB, free: 3.227 MB / 1.12 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 1.284/18.66, allocations: 11.39 MB / 4.313 GB, free: 190.2 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008239/18.67, allocations: 1.919 MB / 4.315 GB, free: 190.1 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004796/18.68, allocations: 21.27 kB / 4.315 GB, free: 190.1 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01208/18.69, allocations: 362.4 kB / 4.315 GB, free: 190.1 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009215/18.69, allocations: 185 kB / 4.315 GB, free: 190.1 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000733/18.69, allocations: 177.2 kB / 4.315 GB, free: 190.1 MB / 1.12 GB Notification: Performance of sort global known variables: time 0.0229/18.71, allocations: 7.34 MB / 4.323 GB, free: 189.8 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.03227/18.75, allocations: 5.484 MB / 4.328 GB, free: 189.8 MB / 1.12 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.01072/18.76, allocations: 4.529 MB / 4.332 GB, free: 188.3 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.02708/18.79, allocations: 9.624 MB / 4.342 GB, free: 187.5 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 1.288e-05/18.79, allocations: 2.781 kB / 4.342 GB, free: 187.5 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.006441/18.79, allocations: 1.98 MB / 4.344 GB, free: 187.5 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03404/18.83, allocations: 4.16 MB / 4.348 GB, free: 187.5 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06423/18.89, allocations: 13.92 MB / 4.361 GB, free: 184.4 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02642/18.92, allocations: 6.226 MB / 4.367 GB, free: 183.5 MB / 1.12 GB Notification: Performance of SimCode: time 2.124e-06/18.92, allocations: 0 / 4.367 GB, free: 183.5 MB / 1.12 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Movers_Validation_Pump_Nrpm_stratos_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Fluid_Movers_Validation_Pump_Nrpm_stratos.fmu > Buildings_8.0.0_Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos.pipe 2>&1)