Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Movers_Validation_Pump_Nrpm_stratos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.243/1.243, allocations: 249.4 MB / 256.7 MB, free: 6.965 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.001042/0.001042, allocations: 196.6 kB / 316 MB, free: 3.488 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.169/1.169, allocations: 205.2 MB / 0.5667 GB, free: 15.57 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007666/0.0007665, allocations: 87.34 kB / 0.671 GB, free: 4.699 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.349/0.3498, allocations: 112.5 MB / 0.7808 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.5186, allocations: 106.3 MB / 0.8846 GB, free: 12.49 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.072/1.591, allocations: 395.3 MB / 1.271 GB, free: 316.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002056/1.591, allocations: 89.97 kB / 1.271 GB, free: 316.5 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 8.179/9.77, allocations: 2.701 GB / 3.971 GB, free: 49.14 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/9.77, allocations: 9.219 kB / 3.971 GB, free: 49.14 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02673/9.796, allocations: 3.088 MB / 3.974 GB, free: 48.49 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1559/9.952, allocations: 60.76 MB / 4.034 GB, free: 44.21 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002753/9.953, allocations: 168.4 kB / 4.034 GB, free: 44.21 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001808/9.955, allocations: 335.8 kB / 4.034 GB, free: 44.21 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008628/9.963, allocations: 4.97 MB / 4.039 GB, free: 44.18 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008363/9.972, allocations: 5.89 MB / 4.045 GB, free: 43.02 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-05/9.972, allocations: 7.344 kB / 4.045 GB, free: 43.02 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005307/9.972, allocations: 11.03 kB / 4.045 GB, free: 43.02 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.915e-05/9.972, allocations: 118.2 kB / 4.045 GB, free: 43.02 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04654/10.02, allocations: 29.59 MB / 4.074 GB, free: 28.84 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005991/10.02, allocations: 4.509 MB / 4.078 GB, free: 27.25 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002747/10.03, allocations: 2.154 MB / 4.08 GB, free: 26.43 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02001/10.05, allocations: 10.97 MB / 4.091 GB, free: 19.53 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.115e-05/10.05, allocations: 70.53 kB / 4.091 GB, free: 19.46 MB / 1.01 GB Notification: Performance of pre-optimization done (n=262): time 4.348e-06/10.05, allocations: 3.938 kB / 4.091 GB, free: 19.46 MB / 1.01 GB Notification: Performance of matching and sorting (n=262): time 0.01904/10.07, allocations: 6.453 MB / 4.097 GB, free: 17.29 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001538/10.07, allocations: 0.719 MB / 4.098 GB, free: 16.43 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0204/10.09, allocations: 9.889 MB / 4.108 GB, free: 10.93 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.001296/10.09, allocations: 33.7 kB / 4.108 GB, free: 10.89 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.00227/10.09, allocations: 2.565 MB / 4.11 GB, free: 8.75 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.001638/10.09, allocations: 0.8744 MB / 4.111 GB, free: 7.945 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003174/10.09, allocations: 0 / 4.111 GB, free: 7.945 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002109/10.09, allocations: 0.5005 MB / 4.112 GB, free: 7.5 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002886/10.1, allocations: 2.458 MB / 4.114 GB, free: 5.25 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003838/10.1, allocations: 4.747 MB / 4.119 GB, free: 15.71 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009935/10.11, allocations: 3.583 MB / 4.122 GB, free: 12.73 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.374e-05/10.11, allocations: 20 kB / 4.122 GB, free: 12.71 MB / 1.026 GB Notification: Performance of matching and sorting (n=667) (initialization): time 0.02244/10.13, allocations: 8.566 MB / 4.13 GB, free: 5.18 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.7714/10.9, allocations: 34.68 MB / 4.164 GB, free: 127.6 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002979/10.9, allocations: 78.97 kB / 4.164 GB, free: 127.6 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002402/10.91, allocations: 0.898 MB / 4.165 GB, free: 127.5 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005407/10.91, allocations: 1.192 MB / 4.166 GB, free: 127.5 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003452/10.92, allocations: 4.107 MB / 4.17 GB, free: 125 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00852/10.92, allocations: 0.7118 MB / 4.171 GB, free: 125 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001385/10.93, allocations: 458.2 kB / 4.172 GB, free: 125 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/10.93, allocations: 5.188 kB / 4.172 GB, free: 125 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01408/10.94, allocations: 6.668 MB / 4.178 GB, free: 124.8 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001383/10.94, allocations: 81.48 kB / 4.178 GB, free: 124.8 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002026/10.94, allocations: 0.8941 MB / 4.179 GB, free: 124.8 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004066/10.95, allocations: 1.11 MB / 4.18 GB, free: 124.8 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00329/10.95, allocations: 4.105 MB / 4.184 GB, free: 122.2 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007487/10.96, allocations: 0.5588 MB / 4.185 GB, free: 122.2 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008735/10.96, allocations: 395.4 kB / 4.185 GB, free: 122.2 MB / 1.042 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.001331/10.96, allocations: 313.7 kB / 4.185 GB, free: 122.1 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002372/10.96, allocations: 0.9105 MB / 4.186 GB, free: 122.1 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01786/10.98, allocations: 6.844 MB / 4.193 GB, free: 121.8 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.934e-05/10.98, allocations: 44.31 kB / 4.193 GB, free: 121.8 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/10.98, allocations: 5.219 kB / 4.193 GB, free: 121.8 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.902e-05/10.98, allocations: 18.7 kB / 4.193 GB, free: 121.8 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02273/11, allocations: 12.5 MB / 4.205 GB, free: 121.3 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/11, allocations: 7.219 kB / 4.205 GB, free: 121.3 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002953/11, allocations: 0.5727 MB / 4.206 GB, free: 121.3 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00171/11.01, allocations: 0.7859 MB / 4.207 GB, free: 121.2 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002463/11.01, allocations: 85.09 kB / 4.207 GB, free: 121.2 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003123/11.01, allocations: 3.971 MB / 4.211 GB, free: 118.7 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/11.01, allocations: 0.9375 kB / 4.211 GB, free: 118.7 MB / 1.042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01207/11.02, allocations: 7.785 MB / 4.218 GB, free: 117.5 MB / 1.042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01505/11.04, allocations: 10.96 MB / 4.229 GB, free: 115.9 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00469/11.04, allocations: 1.919 MB / 4.231 GB, free: 115.3 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002029/11.04, allocations: 22.73 kB / 4.231 GB, free: 115.3 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004906/11.05, allocations: 363.1 kB / 4.231 GB, free: 115.2 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002687/11.05, allocations: 185 kB / 4.231 GB, free: 115.2 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003386/11.05, allocations: 181.1 kB / 4.231 GB, free: 115.2 MB / 1.042 GB Notification: Performance of sort global known variables: time 0.01224/11.06, allocations: 7.336 MB / 4.239 GB, free: 115 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.02134/11.08, allocations: 5.342 MB / 4.244 GB, free: 114.7 MB / 1.042 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.00563/11.09, allocations: 4.449 MB / 4.248 GB, free: 113.2 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.01354/11.1, allocations: 9.635 MB / 4.258 GB, free: 112.4 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/11.1, allocations: 3.625 kB / 4.258 GB, free: 112.4 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.002815/11.11, allocations: 1.978 MB / 4.259 GB, free: 112.4 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01846/11.12, allocations: 4.154 MB / 4.264 GB, free: 112.4 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02772/11.15, allocations: 13.9 MB / 4.277 GB, free: 109.3 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007583/11.16, allocations: 6.219 MB / 4.283 GB, free: 108.4 MB / 1.042 GB Notification: Performance of SimCode: time 8.11e-07/11.16, allocations: 2.625 kB / 4.283 GB, free: 108.4 MB / 1.042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Movers_Validation_Pump_Nrpm_stratos_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Fluid_Movers_Validation_Pump_Nrpm_stratos.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos.pipe 2>&1)