Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.Pump_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_stratos,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Movers_Validation_Pump_stratos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.Pump_stratos,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.369/1.369, allocations: 285.5 MB / 292.8 MB, free: 10.5 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.0009322/0.0009322, allocations: 183.2 kB / 361.1 MB, free: 7.141 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.115/1.115, allocations: 205.1 MB / 0.6195 GB, free: 10.38 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.0008354/0.0008355, allocations: 87.83 kB / 0.7325 GB, free: 44.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2134/0.2143, allocations: 121.4 MB / 0.8511 GB, free: 2.965 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.519/0.7333, allocations: 115.3 MB / 0.9637 GB, free: 77.97 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.709/4.442, allocations: 2.362 GB / 3.326 GB, free: 165.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001994/4.442, allocations: 89.7 kB / 3.326 GB, free: 165.4 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 2.411/6.853, allocations: 0.882 GB / 4.208 GB, free: 9.918 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/6.854, allocations: 12.5 kB / 4.208 GB, free: 9.906 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003379/6.857, allocations: 0.5777 MB / 4.209 GB, free: 9.324 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.399/7.256, allocations: 17.8 MB / 4.226 GB, free: 208.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.612e-05/7.256, allocations: 38.09 kB / 4.226 GB, free: 208.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002435/7.256, allocations: 82.84 kB / 4.226 GB, free: 208.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002032/7.258, allocations: 1.244 MB / 4.228 GB, free: 208.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001955/7.26, allocations: 1.382 MB / 4.229 GB, free: 207.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.488e-05/7.26, allocations: 5.219 kB / 4.229 GB, free: 207.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001107/7.26, allocations: 2.875 kB / 4.229 GB, free: 207.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.581e-05/7.26, allocations: 31.34 kB / 4.229 GB, free: 207.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0112/7.272, allocations: 8.374 MB / 4.237 GB, free: 204.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001411/7.273, allocations: 1.155 MB / 4.238 GB, free: 204.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007879/7.274, allocations: 0.6604 MB / 4.239 GB, free: 204.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004303/7.278, allocations: 3.058 MB / 4.242 GB, free: 202.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/7.278, allocations: 42.38 kB / 4.242 GB, free: 202.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=61): time 3.076e-06/7.278, allocations: 6.031 kB / 4.242 GB, free: 202.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=61): time 0.003552/7.282, allocations: 1.761 MB / 4.244 GB, free: 202.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/7.282, allocations: 59.09 kB / 4.244 GB, free: 202.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003914/7.286, allocations: 2.79 MB / 4.246 GB, free: 202.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.047e-05/7.286, allocations: 29.55 kB / 4.246 GB, free: 202.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003912/7.286, allocations: 0.676 MB / 4.247 GB, free: 202.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002259/7.287, allocations: 209.9 kB / 4.247 GB, free: 202 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.3e-05/7.287, allocations: 2.438 kB / 4.247 GB, free: 202 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.529e-05/7.287, allocations: 349.7 kB / 4.248 GB, free: 201.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006816/7.287, allocations: 0.6052 MB / 4.248 GB, free: 201.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009209/7.288, allocations: 1.162 MB / 4.249 GB, free: 201 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001733/7.29, allocations: 0.8357 MB / 4.25 GB, free: 201 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/7.29, allocations: 6.375 kB / 4.25 GB, free: 201 MB / 0.948 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.003685/7.294, allocations: 2.217 MB / 4.252 GB, free: 200.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001501/7.295, allocations: 6.183 MB / 4.258 GB, free: 194.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.471e-05/7.295, allocations: 18.66 kB / 4.258 GB, free: 194.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001105/7.296, allocations: 483.2 kB / 4.259 GB, free: 194.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009273/7.297, allocations: 242.8 kB / 4.259 GB, free: 194.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002112/7.3, allocations: 2.597 MB / 4.262 GB, free: 192.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00201/7.302, allocations: 183 kB / 4.262 GB, free: 192.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001861/7.302, allocations: 121 kB / 4.262 GB, free: 192.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.488e-06/7.302, allocations: 7.312 kB / 4.262 GB, free: 192.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003492/7.305, allocations: 1.75 MB / 4.264 GB, free: 192.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.865e-05/7.305, allocations: 15.38 kB / 4.264 GB, free: 192.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001304/7.307, allocations: 0.5734 MB / 4.264 GB, free: 192.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008202/7.307, allocations: 220.8 kB / 4.264 GB, free: 192.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01093/7.318, allocations: 7.949 MB / 4.272 GB, free: 189.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002619/7.321, allocations: 147.6 kB / 4.272 GB, free: 189.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003684/7.321, allocations: 104.1 kB / 4.272 GB, free: 189.2 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.0005795/7.322, allocations: 149.5 kB / 4.273 GB, free: 189.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008236/7.323, allocations: 244.7 kB / 4.273 GB, free: 188.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004518/7.327, allocations: 1.676 MB / 4.274 GB, free: 188.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.627e-05/7.327, allocations: 14.31 kB / 4.274 GB, free: 188.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/7.327, allocations: 0 / 4.274 GB, free: 188.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002124/7.33, allocations: 1.361 MB / 4.276 GB, free: 188.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008072/7.338, allocations: 3.625 MB / 4.279 GB, free: 187.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/7.338, allocations: 0 / 4.279 GB, free: 187.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006525/7.338, allocations: 127.1 kB / 4.279 GB, free: 187.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004986/7.339, allocations: 247.9 kB / 4.28 GB, free: 187.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.137e-05/7.339, allocations: 22.8 kB / 4.28 GB, free: 187.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001297/7.34, allocations: 2.035 MB / 4.282 GB, free: 186.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/7.34, allocations: 3.969 kB / 4.282 GB, free: 186.3 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003803/7.344, allocations: 2.101 MB / 4.284 GB, free: 185.9 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00488/7.349, allocations: 3.152 MB / 4.287 GB, free: 185.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001657/7.351, allocations: 0.5715 MB / 4.287 GB, free: 184.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008761/7.352, allocations: 6.719 kB / 4.287 GB, free: 184.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001711/7.353, allocations: 98.42 kB / 4.287 GB, free: 184.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/7.353, allocations: 43.17 kB / 4.288 GB, free: 184.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001069/7.354, allocations: 45.16 kB / 4.288 GB, free: 184.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.00408/7.358, allocations: 2.092 MB / 4.29 GB, free: 184.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.007903/7.366, allocations: 1.639 MB / 4.291 GB, free: 184.7 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.002905/7.368, allocations: 1.33 MB / 4.292 GB, free: 184.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004138/7.373, allocations: 2.415 MB / 4.295 GB, free: 184.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/7.373, allocations: 0 / 4.295 GB, free: 184.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008156/7.373, allocations: 489 kB / 4.295 GB, free: 184.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005293/7.379, allocations: 1.133 MB / 4.296 GB, free: 184.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008578/7.387, allocations: 3.35 MB / 4.3 GB, free: 183.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002943/7.39, allocations: 2.062 MB / 4.302 GB, free: 182.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.503e-06/7.39, allocations: 0 / 4.302 GB, free: 182.7 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.Pump_stratos.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.Pump_stratos.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.Pump_stratos.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.Pump_stratos.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Movers_Validation_Pump_stratos_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Movers_Validation_Pump_stratos.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.Pump_stratos.pipe 2>&1)