Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.Validation.Pump_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_stratos,fileNamePrefix="Buildings_8_Buildings_Fluid_Movers_Validation_Pump_stratos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.Pump_stratos,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.674/1.674, allocations: 289.8 MB / 297.1 MB, free: 6.609 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.001227/0.001227, allocations: 185.2 kB / 366.3 MB, free: 1.961 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.527/1.527, allocations: 205.1 MB / 0.6256 GB, free: 5.914 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.001014/0.001014, allocations: 89.72 kB / 0.7396 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2724/0.2735, allocations: 122.4 MB / 0.8591 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.697/0.9705, allocations: 116.3 MB / 0.9726 GB, free: 68.4 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.532/5.502, allocations: 2.363 GB / 3.336 GB, free: 88.28 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002188/5.503, allocations: 87.89 kB / 3.336 GB, free: 88.2 MB / 0.948 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 3.462/8.964, allocations: 0.882 GB / 4.218 GB, free: 137.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.301e-05/8.964, allocations: 10.58 kB / 4.218 GB, free: 137.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004268/8.969, allocations: 0.5683 MB / 4.219 GB, free: 137.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04541/9.014, allocations: 17.8 MB / 4.236 GB, free: 136.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001126/9.014, allocations: 42.56 kB / 4.236 GB, free: 136.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006553/9.015, allocations: 86.53 kB / 4.236 GB, free: 136.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00327/9.018, allocations: 1.238 MB / 4.237 GB, free: 136.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003266/9.022, allocations: 1.392 MB / 4.239 GB, free: 136 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.295e-05/9.022, allocations: 0 / 4.239 GB, free: 136 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000207/9.022, allocations: 0 / 4.239 GB, free: 136 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.334e-05/9.022, allocations: 36.02 kB / 4.239 GB, free: 136 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01541/9.037, allocations: 8.364 MB / 4.247 GB, free: 132.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001829/9.039, allocations: 1.16 MB / 4.248 GB, free: 132.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001031/9.04, allocations: 0.6619 MB / 4.249 GB, free: 132.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006356/9.047, allocations: 3.055 MB / 4.252 GB, free: 131 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.293e-05/9.047, allocations: 48.91 kB / 4.252 GB, free: 130.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=61): time 3.577e-06/9.047, allocations: 0 / 4.252 GB, free: 130.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=61): time 0.004757/9.051, allocations: 1.76 MB / 4.253 GB, free: 130.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/9.052, allocations: 59.16 kB / 4.254 GB, free: 130.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0069/9.058, allocations: 2.792 MB / 4.256 GB, free: 130.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002168/9.059, allocations: 28.39 kB / 4.256 GB, free: 130.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009985/9.06, allocations: 0.6811 MB / 4.257 GB, free: 130.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004153/9.06, allocations: 206.9 kB / 4.257 GB, free: 130 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/9.06, allocations: 0 / 4.257 GB, free: 130 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001472/9.06, allocations: 345.7 kB / 4.257 GB, free: 129.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009826/9.061, allocations: 0.6108 MB / 4.258 GB, free: 129.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001208/9.063, allocations: 1.163 MB / 4.259 GB, free: 128.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002201/9.065, allocations: 0.8346 MB / 4.26 GB, free: 128.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.353e-05/9.065, allocations: 7.75 kB / 4.26 GB, free: 128.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.005227/9.07, allocations: 2.227 MB / 4.262 GB, free: 128.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001921/9.072, allocations: 6.169 MB / 4.268 GB, free: 122.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.795e-05/9.072, allocations: 22.02 kB / 4.268 GB, free: 122.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00125/9.073, allocations: 486.8 kB / 4.269 GB, free: 122.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/9.074, allocations: 236.4 kB / 4.269 GB, free: 122.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002436/9.077, allocations: 2.594 MB / 4.271 GB, free: 120.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002716/9.08, allocations: 183.5 kB / 4.272 GB, free: 120.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002845/9.08, allocations: 119.8 kB / 4.272 GB, free: 120.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/9.08, allocations: 7.094 kB / 4.272 GB, free: 120.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004133/9.084, allocations: 1.748 MB / 4.273 GB, free: 120.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.672e-05/9.084, allocations: 11.5 kB / 4.273 GB, free: 120.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001427/9.086, allocations: 0.5801 MB / 4.274 GB, free: 120.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008816/9.086, allocations: 229.4 kB / 4.274 GB, free: 120.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01169/9.098, allocations: 7.94 MB / 4.282 GB, free: 117.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002693/9.101, allocations: 152.6 kB / 4.282 GB, free: 117 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004291/9.101, allocations: 95.92 kB / 4.282 GB, free: 117 MB / 0.948 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.0006713/9.102, allocations: 156.8 kB / 4.282 GB, free: 116.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009752/9.103, allocations: 247.6 kB / 4.283 GB, free: 116.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005034/9.108, allocations: 1.677 MB / 4.284 GB, free: 116.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.442e-05/9.108, allocations: 7.344 kB / 4.284 GB, free: 116.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/9.108, allocations: 3.797 kB / 4.284 GB, free: 116.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002411/9.111, allocations: 1.358 MB / 4.286 GB, free: 116.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00905/9.12, allocations: 3.633 MB / 4.289 GB, free: 115.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/9.12, allocations: 3.828 kB / 4.289 GB, free: 115.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007037/9.12, allocations: 120.8 kB / 4.289 GB, free: 115.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000534/9.121, allocations: 248.2 kB / 4.29 GB, free: 115.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.6e-05/9.121, allocations: 14.62 kB / 4.29 GB, free: 115.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001462/9.123, allocations: 2.043 MB / 4.292 GB, free: 114.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/9.123, allocations: 3.844 kB / 4.292 GB, free: 114.2 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004227/9.127, allocations: 2.105 MB / 4.294 GB, free: 113.8 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005282/9.132, allocations: 3.139 MB / 4.297 GB, free: 113 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001985/9.134, allocations: 0.5659 MB / 4.297 GB, free: 112.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009875/9.135, allocations: 2.938 kB / 4.297 GB, free: 112.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001971/9.137, allocations: 99.22 kB / 4.297 GB, free: 112.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001728/9.137, allocations: 45.12 kB / 4.297 GB, free: 112.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001345/9.137, allocations: 44.78 kB / 4.297 GB, free: 112.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.004603/9.142, allocations: 2.096 MB / 4.299 GB, free: 112.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.008985/9.151, allocations: 1.646 MB / 4.301 GB, free: 112.4 MB / 0.948 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.003781/9.155, allocations: 1.327 MB / 4.302 GB, free: 112.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004618/9.16, allocations: 2.419 MB / 4.305 GB, free: 111.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.695e-06/9.16, allocations: 2.188 kB / 4.305 GB, free: 111.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008712/9.16, allocations: 489.5 kB / 4.305 GB, free: 111.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00619/9.167, allocations: 1.149 MB / 4.306 GB, free: 111.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01032/9.177, allocations: 3.34 MB / 4.31 GB, free: 111 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003077/9.18, allocations: 2.063 MB / 4.312 GB, free: 110.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.112e-06/9.18, allocations: 1.969 kB / 4.312 GB, free: 110.2 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Movers.Validation.Pump_stratos.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.Validation.Pump_stratos.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.Validation.Pump_stratos.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.Validation.Pump_stratos.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Movers_Validation_Pump_stratos_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Movers_Validation_Pump_stratos.fmu > Buildings_8_Buildings.Fluid.Movers.Validation.Pump_stratos.pipe 2>&1)