Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.627/1.627, allocations: 289.8 MB / 297.1 MB, free: 9.066 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.001255/0.001256, allocations: 181.3 kB / 366.3 MB, free: 11.22 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.516/1.516, allocations: 205.1 MB / 0.6256 GB, free: 11.38 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009295/0.0009294, allocations: 94.36 kB / 0.7396 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.5858/0.5867, allocations: 122.4 MB / 0.8591 GB, free: 148 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.8193, allocations: 116.3 MB / 0.9726 GB, free: 31.64 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9257/1.745, allocations: 401.5 MB / 1.365 GB, free: 13.04 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003411/1.745, allocations: 83.89 kB / 1.365 GB, free: 13 MB / 0.9011 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 10.46/12.21, allocations: 2.7 GB / 4.065 GB, free: 51.73 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/12.21, allocations: 6.844 kB / 4.065 GB, free: 51.73 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0224/12.23, allocations: 3.087 MB / 4.068 GB, free: 50.93 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.204/12.43, allocations: 60.76 MB / 4.128 GB, free: 20.38 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005245/12.43, allocations: 164 kB / 4.128 GB, free: 20.22 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003342/12.44, allocations: 336 kB / 4.128 GB, free: 19.89 MB / 1.089 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01577/12.45, allocations: 4.97 MB / 4.133 GB, free: 14.92 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02192/12.47, allocations: 5.9 MB / 4.139 GB, free: 8.641 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003322/12.47, allocations: 7.938 kB / 4.139 GB, free: 8.633 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002611/12.48, allocations: 9.125 kB / 4.139 GB, free: 8.625 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001136/12.48, allocations: 120 kB / 4.139 GB, free: 8.508 MB / 1.089 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08337/12.56, allocations: 29.64 MB / 4.168 GB, free: 9.785 MB / 1.12 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01013/12.57, allocations: 4.495 MB / 4.172 GB, free: 5.285 MB / 1.12 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004076/12.57, allocations: 2.152 MB / 4.174 GB, free: 3.121 MB / 1.12 GB Notification: Performance of preOpt evalFunc (simulation): time 1.174/13.75, allocations: 11 MB / 4.185 GB, free: 151.3 MB / 1.12 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.503e-05/13.75, allocations: 75.53 kB / 4.185 GB, free: 151.2 MB / 1.12 GB Notification: Performance of pre-optimization done (n=262): time 6.011e-06/13.75, allocations: 0 / 4.185 GB, free: 151.2 MB / 1.12 GB Notification: Performance of matching and sorting (n=262): time 0.01957/13.77, allocations: 6.447 MB / 4.191 GB, free: 151.1 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001664/13.77, allocations: 0.7186 MB / 4.192 GB, free: 150.2 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02288/13.79, allocations: 9.888 MB / 4.202 GB, free: 149.8 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 0.001714/13.79, allocations: 33.2 kB / 4.202 GB, free: 149.7 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.003429/13.8, allocations: 2.573 MB / 4.204 GB, free: 149.2 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 0.002888/13.8, allocations: 0.8796 MB / 4.205 GB, free: 148.7 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008379/13.8, allocations: 0 / 4.205 GB, free: 148.7 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.0003995/13.8, allocations: 0.5045 MB / 4.206 GB, free: 148.4 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004403/13.81, allocations: 2.458 MB / 4.208 GB, free: 148.4 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005113/13.81, allocations: 4.746 MB / 4.213 GB, free: 145.5 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009863/13.82, allocations: 3.573 MB / 4.216 GB, free: 145.5 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.487e-05/13.82, allocations: 18.78 kB / 4.216 GB, free: 145.5 MB / 1.12 GB Notification: Performance of matching and sorting (n=667) (initialization): time 0.02499/13.85, allocations: 8.569 MB / 4.225 GB, free: 144.8 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 0.007683/13.85, allocations: 34.68 MB / 4.258 GB, free: 109.9 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002952/13.85, allocations: 76.19 kB / 4.259 GB, free: 109.9 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00261/13.86, allocations: 0.9039 MB / 4.259 GB, free: 109.9 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006159/13.86, allocations: 1.192 MB / 4.261 GB, free: 109.9 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004223/13.87, allocations: 4.097 MB / 4.265 GB, free: 107.3 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01069/13.88, allocations: 0.7164 MB / 4.265 GB, free: 107.1 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002115/13.88, allocations: 457.7 kB / 4.266 GB, free: 107.1 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/13.88, allocations: 4.812 kB / 4.266 GB, free: 107.1 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02058/13.9, allocations: 6.667 MB / 4.272 GB, free: 107 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004221/13.9, allocations: 82.17 kB / 4.272 GB, free: 107 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0026/13.9, allocations: 0.8954 MB / 4.273 GB, free: 106.9 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005282/13.91, allocations: 1.113 MB / 4.274 GB, free: 106.9 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004159/13.91, allocations: 4.105 MB / 4.278 GB, free: 104.3 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01082/13.92, allocations: 0.5646 MB / 4.279 GB, free: 104.2 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002026/13.93, allocations: 396 kB / 4.279 GB, free: 104.2 MB / 1.12 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.00285/13.93, allocations: 308.6 kB / 4.279 GB, free: 104.1 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003471/13.93, allocations: 0.9109 MB / 4.28 GB, free: 103.6 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02191/13.95, allocations: 6.851 MB / 4.287 GB, free: 103.3 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-05/13.95, allocations: 41.52 kB / 4.287 GB, free: 103.3 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-05/13.95, allocations: 0 / 4.287 GB, free: 103.3 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.207e-05/13.95, allocations: 15.61 kB / 4.287 GB, free: 103.3 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03888/13.99, allocations: 12.56 MB / 4.299 GB, free: 102.7 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.571e-05/13.99, allocations: 0 / 4.299 GB, free: 102.7 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003539/14, allocations: 0.5766 MB / 4.3 GB, free: 102.7 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00203/14, allocations: 0.7833 MB / 4.301 GB, free: 102.6 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005629/14, allocations: 88.02 kB / 4.301 GB, free: 102.6 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003904/14, allocations: 3.973 MB / 4.305 GB, free: 100 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/14, allocations: 8.406 kB / 4.305 GB, free: 100 MB / 1.12 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01713/14.02, allocations: 7.782 MB / 4.312 GB, free: 98.81 MB / 1.12 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02023/14.04, allocations: 10.97 MB / 4.323 GB, free: 97.21 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007366/14.05, allocations: 1.918 MB / 4.325 GB, free: 96.59 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004332/14.05, allocations: 23.41 kB / 4.325 GB, free: 96.59 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008401/14.06, allocations: 362 kB / 4.325 GB, free: 96.58 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007666/14.06, allocations: 184.2 kB / 4.325 GB, free: 96.57 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008943/14.06, allocations: 182.2 kB / 4.326 GB, free: 96.57 MB / 1.12 GB Notification: Performance of sort global known variables: time 0.01931/14.08, allocations: 7.339 MB / 4.333 GB, free: 96.29 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.02926/14.11, allocations: 5.487 MB / 4.338 GB, free: 96.06 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.00966/14.12, allocations: 4.516 MB / 4.343 GB, free: 94.51 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.0223/14.14, allocations: 9.628 MB / 4.352 GB, free: 93.72 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 1.378e-05/14.14, allocations: 4.531 kB / 4.352 GB, free: 93.72 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.004508/14.15, allocations: 1.983 MB / 4.354 GB, free: 93.7 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02335/14.17, allocations: 4.146 MB / 4.358 GB, free: 93.65 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04518/14.22, allocations: 13.91 MB / 4.371 GB, free: 90.57 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01016/14.23, allocations: 6.217 MB / 4.378 GB, free: 89.65 MB / 1.12 GB Notification: Performance of SimCode: time 1.433e-06/14.23, allocations: 2.781 kB / 4.378 GB, free: 89.65 MB / 1.12 GB (rm -f Buildings_8_Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Movers_Validation_Pump_Nrpm_stratos_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Fluid_Movers_Validation_Pump_Nrpm_stratos.fmu > Buildings_8_Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos.pipe 2>&1)