Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_Pump_Nrpm_stratos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.197/2.197, allocations: 387.2 MB / 394.5 MB, free: 13.66 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 181.3 kB / 487 MB, free: 5.34 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.518/1.518, allocations: 221.3 MB / 0.7819 GB, free: 1.387 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 90.14 kB / 0.9213 GB, free: 2.645 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6908/0.6921, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/1.002, allocations: 142.3 MB / 1.205 GB, free: 26.15 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.035/2.037, allocations: 399.1 MB / 1.595 GB, free: 7.254 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003078/2.038, allocations: 88.25 kB / 1.595 GB, free: 7.211 MB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1224 * Number of variables: 1224 Notification: Performance of Generate backend data structure: time 9.633/11.67, allocations: 2.706 GB / 4.301 GB, free: 83.68 MB / 1.276 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/11.67, allocations: 12.44 kB / 4.301 GB, free: 83.68 MB / 1.276 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.025/11.7, allocations: 4.008 MB / 4.305 GB, free: 83.05 MB / 1.276 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1606/11.86, allocations: 61.62 MB / 4.365 GB, free: 78.54 MB / 1.276 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003623/11.86, allocations: 162 kB / 4.366 GB, free: 78.54 MB / 1.276 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002095/11.86, allocations: 337.8 kB / 4.366 GB, free: 78.54 MB / 1.276 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01186/11.87, allocations: 5.06 MB / 4.371 GB, free: 78.5 MB / 1.276 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01261/11.88, allocations: 5.684 MB / 4.376 GB, free: 76.1 MB / 1.276 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001119/11.88, allocations: 7.219 kB / 4.376 GB, free: 76.1 MB / 1.276 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006547/11.88, allocations: 6.562 kB / 4.376 GB, free: 76.1 MB / 1.276 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002247/11.88, allocations: 188.5 kB / 4.377 GB, free: 76.08 MB / 1.276 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06686/11.95, allocations: 30.27 MB / 4.406 GB, free: 57.76 MB / 1.276 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005583/11.96, allocations: 2.834 MB / 4.409 GB, free: 56.72 MB / 1.276 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004633/11.96, allocations: 2.294 MB / 4.411 GB, free: 55.86 MB / 1.276 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02981/11.99, allocations: 11.67 MB / 4.423 GB, free: 47.79 MB / 1.276 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.304e-05/11.99, allocations: 68.67 kB / 4.423 GB, free: 47.71 MB / 1.276 GB Notification: Performance of pre-optimization done (n=277): time 5.901e-06/11.99, allocations: 0 / 4.423 GB, free: 47.71 MB / 1.276 GB Notification: Performance of matching and sorting (n=277): time 0.02182/12.01, allocations: 6.631 MB / 4.429 GB, free: 42.08 MB / 1.276 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/12.01, allocations: 78.44 kB / 4.429 GB, free: 41.99 MB / 1.276 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02139/12.04, allocations: 9.707 MB / 4.439 GB, free: 33.39 MB / 1.276 GB Notification: Performance of collectPreVariables (initialization): time 0.001532/12.04, allocations: 33.7 kB / 4.439 GB, free: 33.35 MB / 1.276 GB Notification: Performance of collectInitialEqns (initialization): time 0.0033/12.04, allocations: 2.471 MB / 4.441 GB, free: 31.29 MB / 1.276 GB Notification: Performance of collectInitialBindings (initialization): time 0.003509/12.04, allocations: 0.9266 MB / 4.442 GB, free: 30.43 MB / 1.276 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001051/12.04, allocations: 0 / 4.442 GB, free: 30.43 MB / 1.276 GB Notification: Performance of setup shared object (initialization): time 0.0003957/12.05, allocations: 0.493 MB / 4.443 GB, free: 29.99 MB / 1.276 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003657/12.05, allocations: 2.395 MB / 4.445 GB, free: 27.79 MB / 1.276 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003971/12.05, allocations: 4.515 MB / 4.449 GB, free: 22.34 MB / 1.276 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008181/12.06, allocations: 3.452 MB / 4.453 GB, free: 18.88 MB / 1.276 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.259e-05/12.06, allocations: 16 kB / 4.453 GB, free: 18.86 MB / 1.276 GB Notification: Performance of matching and sorting (n=637) (initialization): time 0.01711/12.08, allocations: 8.292 MB / 4.461 GB, free: 10.52 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 0.0104/12.09, allocations: 34.26 MB / 4.494 GB, free: 6.961 MB / 1.307 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001479/12.09, allocations: 60 kB / 4.494 GB, free: 6.902 MB / 1.307 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002819/12.09, allocations: 0.8919 MB / 4.495 GB, free: 6.027 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007717/12.1, allocations: 1.353 MB / 4.496 GB, free: 4.672 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005095/12.1, allocations: 4.096 MB / 4.5 GB, free: 460 kB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01102/12.12, allocations: 0.7642 MB / 4.501 GB, free: 15.68 MB / 1.323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002144/12.12, allocations: 443.8 kB / 4.502 GB, free: 15.25 MB / 1.323 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/12.12, allocations: 7.938 kB / 4.502 GB, free: 15.24 MB / 1.323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0223/12.14, allocations: 6.418 MB / 4.508 GB, free: 8.785 MB / 1.323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001913/12.14, allocations: 60.02 kB / 4.508 GB, free: 8.727 MB / 1.323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002669/12.14, allocations: 0.8993 MB / 4.509 GB, free: 7.852 MB / 1.323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006782/12.15, allocations: 1.271 MB / 4.51 GB, free: 6.578 MB / 1.323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005074/12.15, allocations: 4.096 MB / 4.514 GB, free: 2.355 MB / 1.323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01023/12.16, allocations: 0.6179 MB / 4.515 GB, free: 1.734 MB / 1.323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001682/12.17, allocations: 383.9 kB / 4.515 GB, free: 1.359 MB / 1.323 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 (532): * Single equations (assignments): 517 * Array equations: 10 * Algorithm blocks: 0 * Record equations: 0 * 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,3 8} Notification: Performance of prepare postOptimizeDAE: time 0.002606/12.17, allocations: 311.1 kB / 4.515 GB, free: 1.055 MB / 1.323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00362/12.17, allocations: 0.8906 MB / 4.516 GB, free: 156 kB / 1.323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.173/13.35, allocations: 6.856 MB / 4.523 GB, free: 225 MB / 1.323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.842e-05/13.35, allocations: 39.53 kB / 4.523 GB, free: 225 MB / 1.323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.637e-05/13.35, allocations: 0 / 4.523 GB, free: 225 MB / 1.323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-05/13.35, allocations: 19.05 kB / 4.523 GB, free: 225 MB / 1.323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0387/13.38, allocations: 13.09 MB / 4.536 GB, free: 224.4 MB / 1.323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.581e-05/13.38, allocations: 0 / 4.536 GB, free: 224.4 MB / 1.323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004112/13.39, allocations: 0.702 MB / 4.536 GB, free: 224.4 MB / 1.323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001862/13.39, allocations: 0.784 MB / 4.537 GB, free: 224.4 MB / 1.323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005284/13.39, allocations: 88.88 kB / 4.537 GB, free: 224.4 MB / 1.323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0035/13.39, allocations: 3.967 MB / 4.541 GB, free: 221.8 MB / 1.323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/13.39, allocations: 3.281 kB / 4.541 GB, free: 221.8 MB / 1.323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01634/13.41, allocations: 8.017 MB / 4.549 GB, free: 221.2 MB / 1.323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01944/13.43, allocations: 11.32 MB / 4.56 GB, free: 219.9 MB / 1.323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006453/13.44, allocations: 1.946 MB / 4.562 GB, free: 219.3 MB / 1.323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004275/13.44, allocations: 16.92 kB / 4.562 GB, free: 219.3 MB / 1.323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01026/13.45, allocations: 446.7 kB / 4.562 GB, free: 219.3 MB / 1.323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009447/13.45, allocations: 193.7 kB / 4.563 GB, free: 219.3 MB / 1.323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001176/13.45, allocations: 192.1 kB / 4.563 GB, free: 219.3 MB / 1.323 GB Notification: Performance of sort global known variables: time 0.01793/13.47, allocations: 7.225 MB / 4.57 GB, free: 219 MB / 1.323 GB Notification: Performance of remove unused functions: time 0.02367/13.5, allocations: 5.414 MB / 4.575 GB, free: 218.8 MB / 1.323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 20 (pump1.filter.s[1],pump1.filter.s[2],pump2.filter.s[1],pump2.filter.s[2],pump3.filter.s[1],pump3.filter.s[2],pump4.filter.s[1],pump4.filter.s[2],pump5.filter.s[1],pump5.filter.s[2],forcedPump1.filter.s[1],forcedPump1.filter.s[2],forcedPump2.filter.s[1],forcedPump2.filter.s[2],forcedPump3.filter.s[1],forcedPump3.filter.s[2],forcedPump4.filter.s[1],forcedPump4.filter.s[2],forcedPump5.filter.s[1],forcedPump5.filter.s[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (289): * Single equations (assignments): 262 * 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.008024/13.5, allocations: 4.464 MB / 4.579 GB, free: 217.3 MB / 1.323 GB Notification: Performance of simCode: created initialization part: time 0.01651/13.52, allocations: 8.905 MB / 4.588 GB, free: 217.1 MB / 1.323 GB Notification: Performance of simCode: created event and clocks part: time 1.087e-05/13.52, allocations: 3.031 kB / 4.588 GB, free: 217.1 MB / 1.323 GB Notification: Performance of simCode: created simulation system equations: time 0.003666/13.52, allocations: 2.075 MB / 4.59 GB, free: 217.1 MB / 1.323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02115/13.55, allocations: 4.044 MB / 4.594 GB, free: 217 MB / 1.323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03649/13.58, allocations: 13.87 MB / 4.608 GB, free: 214 MB / 1.323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01026/13.59, allocations: 6.124 MB / 4.614 GB, free: 213.1 MB / 1.323 GB Notification: Performance of SimCode: time 1.022e-06/13.59, allocations: 0 / 4.614 GB, free: 213.1 MB / 1.323 GB (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Movers_Validation_Pump_Nrpm_stratos_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Fluid_Movers_Validation_Pump_Nrpm_stratos.fmu > Buildings_9_Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos.pipe 2>&1)