Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.Pump_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_stratos,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_Pump_stratos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.Pump_stratos,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_Pump_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 1.948/1.948, allocations: 387.2 MB / 394.5 MB, free: 13.29 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00113/0.001131, allocations: 181.4 kB / 487 MB, free: 0.7188 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 221.4 MB / 0.7819 GB, free: 6.758 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 92.69 kB / 0.9213 GB, free: 43.7 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 0.3502/0.3514, allocations: 148.5 MB / 1.066 GB, free: 7.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8662/1.218, allocations: 142.3 MB / 1.205 GB, free: 72.73 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.632/5.849, allocations: 2.19 GB / 3.395 GB, free: 291.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/5.85, allocations: 94.81 kB / 3.395 GB, free: 291.2 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 2.837/8.686, allocations: 0.8847 GB / 4.28 GB, free: 196.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/8.686, allocations: 11.34 kB / 4.28 GB, free: 196.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004913/8.691, allocations: 0.7633 MB / 4.281 GB, free: 196.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0422/8.733, allocations: 17.95 MB / 4.298 GB, free: 195.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/8.734, allocations: 36.78 kB / 4.298 GB, free: 195.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006443/8.734, allocations: 84.19 kB / 4.298 GB, free: 195.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003155/8.737, allocations: 1.264 MB / 4.299 GB, free: 195.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003306/8.741, allocations: 1.404 MB / 4.301 GB, free: 195.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.83e-05/8.741, allocations: 4.453 kB / 4.301 GB, free: 195.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002282/8.741, allocations: 6.531 kB / 4.301 GB, free: 195.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.684e-05/8.741, allocations: 31.25 kB / 4.301 GB, free: 195.4 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01555/8.757, allocations: 8.498 MB / 4.309 GB, free: 191.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001658/8.758, allocations: 1.182 MB / 4.31 GB, free: 191.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009439/8.759, allocations: 0.6791 MB / 4.311 GB, free: 191.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00552/8.765, allocations: 3.096 MB / 4.314 GB, free: 190.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/8.765, allocations: 37.28 kB / 4.314 GB, free: 190.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=61): time 3.156e-06/8.765, allocations: 3.828 kB / 4.314 GB, free: 190.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=61): time 0.004415/8.769, allocations: 1.779 MB / 4.316 GB, free: 189.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/8.77, allocations: 60.31 kB / 4.316 GB, free: 189.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005925/8.775, allocations: 2.805 MB / 4.319 GB, free: 188.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001932/8.776, allocations: 28.83 kB / 4.319 GB, free: 188.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007378/8.776, allocations: 0.6833 MB / 4.319 GB, free: 188.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003267/8.777, allocations: 202.9 kB / 4.319 GB, free: 188.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/8.777, allocations: 0 / 4.319 GB, free: 188.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001132/8.777, allocations: 358.2 kB / 4.32 GB, free: 187.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008216/8.778, allocations: 0.6097 MB / 4.32 GB, free: 187.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001091/8.779, allocations: 1.175 MB / 4.322 GB, free: 186.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002094/8.781, allocations: 0.847 MB / 4.322 GB, free: 186.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.511e-05/8.781, allocations: 3.625 kB / 4.322 GB, free: 186.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.004607/8.786, allocations: 2.244 MB / 4.325 GB, free: 185.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001192/8.787, allocations: 6.185 MB / 4.331 GB, free: 179 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.4e-05/8.787, allocations: 18.06 kB / 4.331 GB, free: 179 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001138/8.788, allocations: 483.2 kB / 4.331 GB, free: 178.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/8.789, allocations: 259.6 kB / 4.331 GB, free: 178.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002167/8.791, allocations: 2.588 MB / 4.334 GB, free: 176.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00264/8.794, allocations: 201.9 kB / 4.334 GB, free: 176.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002475/8.794, allocations: 122 kB / 4.334 GB, free: 176.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/8.794, allocations: 9.688 kB / 4.334 GB, free: 176.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004817/8.799, allocations: 1.763 MB / 4.336 GB, free: 176.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.425e-05/8.799, allocations: 15 kB / 4.336 GB, free: 176.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001407/8.801, allocations: 0.5801 MB / 4.336 GB, free: 176.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/8.802, allocations: 247 kB / 4.337 GB, free: 176.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01189/8.814, allocations: 7.951 MB / 4.344 GB, free: 171.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002487/8.816, allocations: 170.4 kB / 4.345 GB, free: 171.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003453/8.816, allocations: 98 kB / 4.345 GB, free: 171.5 MB / 1.151 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: floMacSta.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: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 106 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 7,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0006569/8.817, allocations: 142.2 kB / 4.345 GB, free: 171.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008348/8.818, allocations: 248.6 kB / 4.345 GB, free: 171.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004482/8.822, allocations: 1.707 MB / 4.347 GB, free: 170.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.856e-05/8.823, allocations: 17.78 kB / 4.347 GB, free: 170.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/8.823, allocations: 3.469 kB / 4.347 GB, free: 170.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002156/8.825, allocations: 1.363 MB / 4.348 GB, free: 170 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008732/8.833, allocations: 3.68 MB / 4.352 GB, free: 168.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/8.833, allocations: 0 / 4.352 GB, free: 168.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008159/8.834, allocations: 148.9 kB / 4.352 GB, free: 168.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005225/8.835, allocations: 245.5 kB / 4.352 GB, free: 168.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.721e-05/8.835, allocations: 18.17 kB / 4.352 GB, free: 168.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001333/8.836, allocations: 2.035 MB / 4.354 GB, free: 166.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/8.836, allocations: 1.312 kB / 4.354 GB, free: 166.5 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004125/8.84, allocations: 2.149 MB / 4.356 GB, free: 165.6 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006073/8.847, allocations: 3.2 MB / 4.359 GB, free: 163.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001707/8.848, allocations: 0.5738 MB / 4.36 GB, free: 163.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009525/8.849, allocations: 1.594 kB / 4.36 GB, free: 163.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001982/8.851, allocations: 125.7 kB / 4.36 GB, free: 163.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/8.851, allocations: 39.16 kB / 4.36 GB, free: 163.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001185/8.851, allocations: 46.22 kB / 4.36 GB, free: 163.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.004228/8.856, allocations: 2.105 MB / 4.362 GB, free: 162.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.008944/8.865, allocations: 1.65 MB / 4.364 GB, free: 162 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (floMacDyn.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 7,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.002921/8.868, allocations: 1.32 MB / 4.365 GB, free: 161.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.004296/8.872, allocations: 2.462 MB / 4.367 GB, free: 160.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/8.872, allocations: 3.062 kB / 4.367 GB, free: 160.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0008537/8.873, allocations: 492.2 kB / 4.368 GB, free: 160.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005817/8.879, allocations: 1.138 MB / 4.369 GB, free: 160.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01092/8.89, allocations: 3.376 MB / 4.372 GB, free: 159.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003615/8.893, allocations: 2.08 MB / 4.374 GB, free: 158.2 MB / 1.151 GB Notification: Performance of SimCode: time 9.32e-07/8.893, allocations: 0 / 4.374 GB, free: 158.2 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Movers_Validation_Pump_stratos_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Movers_Validation_Pump_stratos.fmu > Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos.pipe 2>&1)