Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.38/1.38, allocations: 285.5 MB / 292.8 MB, free: 10.41 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.001144/0.001144, allocations: 177.3 kB / 361.1 MB, free: 7.094 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.16/1.16, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.000819/0.0008189, allocations: 89.97 kB / 0.7326 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2201/0.221, allocations: 121.4 MB / 0.8511 GB, free: 2.887 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4876/0.7086, allocations: 115.3 MB / 0.9637 GB, free: 78.07 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7149/1.424, allocations: 400.5 MB / 1.355 GB, free: 164.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001927/1.424, allocations: 87.56 kB / 1.355 GB, free: 164.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 8.508/9.932, allocations: 2.7 GB / 4.055 GB, free: 58.07 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/9.932, allocations: 8.281 kB / 4.055 GB, free: 58.07 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01802/9.95, allocations: 3.087 MB / 4.058 GB, free: 57.43 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1513/10.1, allocations: 60.76 MB / 4.118 GB, free: 53.73 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003507/10.1, allocations: 163.2 kB / 4.118 GB, free: 53.73 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002179/10.1, allocations: 338.3 kB / 4.118 GB, free: 53.73 MB / 1.073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01176/10.12, allocations: 4.971 MB / 4.123 GB, free: 53.7 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01559/10.13, allocations: 5.904 MB / 4.129 GB, free: 52.61 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001743/10.13, allocations: 9.031 kB / 4.129 GB, free: 52.61 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001311/10.13, allocations: 8.938 kB / 4.129 GB, free: 52.61 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.179e-05/10.13, allocations: 125.2 kB / 4.129 GB, free: 52.61 MB / 1.073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05189/10.18, allocations: 29.63 MB / 4.158 GB, free: 41.54 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007242/10.19, allocations: 4.501 MB / 4.162 GB, free: 41.48 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003253/10.2, allocations: 2.15 MB / 4.164 GB, free: 41.45 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02232/10.22, allocations: 11 MB / 4.175 GB, free: 37.68 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.242e-05/10.22, allocations: 75.36 kB / 4.175 GB, free: 37.64 MB / 1.073 GB Notification: Performance of pre-optimization done (n=262): time 6.743e-06/10.22, allocations: 3.844 kB / 4.175 GB, free: 37.64 MB / 1.073 GB Notification: Performance of matching and sorting (n=262): time 0.0203/10.24, allocations: 6.453 MB / 4.182 GB, free: 36.95 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001598/10.24, allocations: 0.716 MB / 4.182 GB, free: 36.1 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01898/10.26, allocations: 9.893 MB / 4.192 GB, free: 35.5 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.001275/10.26, allocations: 30.61 kB / 4.192 GB, free: 35.47 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.002712/10.26, allocations: 2.564 MB / 4.194 GB, free: 34.36 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.002798/10.26, allocations: 0.8826 MB / 4.195 GB, free: 33.77 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005152/10.26, allocations: 0 / 4.195 GB, free: 33.77 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0003687/10.27, allocations: 0.4986 MB / 4.196 GB, free: 33.46 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003439/10.27, allocations: 2.46 MB / 4.198 GB, free: 33.44 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004095/10.27, allocations: 4.746 MB / 4.203 GB, free: 29.64 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008676/10.28, allocations: 3.573 MB / 4.206 GB, free: 28.53 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.618e-05/10.28, allocations: 14.41 kB / 4.206 GB, free: 28.53 MB / 1.073 GB Notification: Performance of matching and sorting (n=667) (initialization): time 0.01909/10.3, allocations: 8.573 MB / 4.215 GB, free: 25.6 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.00752/10.31, allocations: 34.68 MB / 4.249 GB, free: 6.246 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000409/10.31, allocations: 76.98 kB / 4.249 GB, free: 6.246 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002918/10.31, allocations: 0.9039 MB / 4.25 GB, free: 6.012 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00613/10.32, allocations: 1.194 MB / 4.251 GB, free: 5.906 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004502/10.32, allocations: 4.099 MB / 4.255 GB, free: 2.734 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009085/10.33, allocations: 0.7188 MB / 4.255 GB, free: 2.43 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001617/10.33, allocations: 457.1 kB / 4.256 GB, free: 2.383 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/10.33, allocations: 2.406 kB / 4.256 GB, free: 2.383 MB / 1.089 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01667/10.35, allocations: 6.671 MB / 4.262 GB, free: 292 kB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003305/10.35, allocations: 80.61 kB / 4.262 GB, free: 288 kB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002323/10.35, allocations: 0.8929 MB / 4.263 GB, free: 52 kB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004851/10.36, allocations: 1.114 MB / 4.264 GB, free: 15.95 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00421/10.36, allocations: 4.108 MB / 4.268 GB, free: 12.76 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009391/10.37, allocations: 0.5555 MB / 4.269 GB, free: 12.55 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001667/10.37, allocations: 396.7 kB / 4.269 GB, free: 12.51 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.001975/10.37, allocations: 317.6 kB / 4.27 GB, free: 12.27 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00333/10.38, allocations: 0.913 MB / 4.271 GB, free: 11.75 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02214/10.4, allocations: 6.844 MB / 4.277 GB, free: 9.414 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.403e-05/10.4, allocations: 34.48 kB / 4.277 GB, free: 9.383 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.728e-05/10.4, allocations: 0.9219 kB / 4.277 GB, free: 9.383 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-05/10.4, allocations: 19.41 kB / 4.277 GB, free: 9.379 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03345/10.43, allocations: 12.57 MB / 4.29 GB, free: 15.73 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-05/10.43, allocations: 4 kB / 4.29 GB, free: 15.73 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003271/10.44, allocations: 0.5799 MB / 4.29 GB, free: 15.27 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002019/10.44, allocations: 0.7891 MB / 4.291 GB, free: 14.61 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005122/10.44, allocations: 90.27 kB / 4.291 GB, free: 14.55 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004244/10.44, allocations: 3.96 MB / 4.295 GB, free: 10.64 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/10.44, allocations: 4 kB / 4.295 GB, free: 10.63 MB / 1.12 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01421/10.46, allocations: 7.778 MB / 4.302 GB, free: 3.504 MB / 1.12 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.8602/11.32, allocations: 11.37 MB / 4.314 GB, free: 189.1 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005071/11.32, allocations: 1.923 MB / 4.315 GB, free: 189 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002691/11.33, allocations: 17 kB / 4.315 GB, free: 189 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006152/11.33, allocations: 367 kB / 4.316 GB, free: 189 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003319/11.33, allocations: 184.4 kB / 4.316 GB, free: 189 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004164/11.33, allocations: 180.4 kB / 4.316 GB, free: 189 MB / 1.12 GB Notification: Performance of sort global known variables: time 0.01325/11.35, allocations: 7.341 MB / 4.323 GB, free: 188.7 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.01946/11.37, allocations: 5.478 MB / 4.329 GB, free: 188.7 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.005263/11.37, allocations: 4.537 MB / 4.333 GB, free: 187.1 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.01273/11.38, allocations: 9.627 MB / 4.342 GB, free: 186.4 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/11.38, allocations: 0 / 4.342 GB, free: 186.4 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.002593/11.39, allocations: 1.987 MB / 4.344 GB, free: 186.4 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01799/11.4, allocations: 4.157 MB / 4.348 GB, free: 186.3 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02905/11.43, allocations: 13.91 MB / 4.362 GB, free: 183.3 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007419/11.44, allocations: 6.225 MB / 4.368 GB, free: 182.3 MB / 1.12 GB Notification: Performance of SimCode: time 8.22e-07/11.44, allocations: 1.219 kB / 4.368 GB, free: 182.3 MB / 1.12 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Movers_Validation_Pump_Nrpm_stratos_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Fluid_Movers_Validation_Pump_Nrpm_stratos.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos.pipe 2>&1)