Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.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.Examples.PumpsSeries,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Examples_PumpsSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.PumpsSeries,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Examples_PumpsSeries",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 2.026/2.026, allocations: 387.2 MB / 394.5 MB, free: 13.64 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 180.3 kB / 487 MB, free: 5.379 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 221.3 MB / 0.7819 GB, free: 1.375 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 111 kB / 0.9213 GB, free: 2.625 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6161/0.6173, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.898, allocations: 142.3 MB / 1.205 GB, free: 26.12 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.055/1.953, allocations: 434.2 MB / 1.629 GB, free: 5.57 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002806/1.953, allocations: 86.86 kB / 1.629 GB, free: 5.531 MB / 1.057 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 2.765/4.718, allocations: 0.6879 GB / 2.317 GB, free: 237.6 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 5.772e-05/4.718, allocations: 8.75 kB / 2.317 GB, free: 237.6 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005017/4.723, allocations: 0.7731 MB / 2.318 GB, free: 237.4 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03825/4.761, allocations: 14.39 MB / 2.332 GB, free: 231.7 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.492e-05/4.761, allocations: 31.84 kB / 2.332 GB, free: 231.7 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002768/4.762, allocations: 66 kB / 2.332 GB, free: 231.7 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002042/4.764, allocations: 0.8925 MB / 2.333 GB, free: 231.3 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00195/4.766, allocations: 1.076 MB / 2.334 GB, free: 230.6 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.83e-05/4.766, allocations: 1.344 kB / 2.334 GB, free: 230.6 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/4.766, allocations: 1.438 kB / 2.334 GB, free: 230.6 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.699e-05/4.766, allocations: 35.62 kB / 2.334 GB, free: 230.6 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009888/4.776, allocations: 5.688 MB / 2.34 GB, free: 226 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008251/4.777, allocations: 485.2 kB / 2.34 GB, free: 225.7 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005795/4.777, allocations: 387.3 kB / 2.341 GB, free: 225.5 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003989/4.781, allocations: 2.355 MB / 2.343 GB, free: 223.5 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/4.781, allocations: 45.56 kB / 2.343 GB, free: 223.4 MB / 1.135 GB Notification: Performance of pre-optimization done (n=66): time 2.494e-06/4.781, allocations: 0 / 2.343 GB, free: 223.4 MB / 1.135 GB Notification: Performance of matching and sorting (n=66): time 0.004354/4.786, allocations: 1.239 MB / 2.344 GB, free: 222.8 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/4.786, allocations: 58.03 kB / 2.344 GB, free: 222.7 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002279/4.788, allocations: 1.158 MB / 2.345 GB, free: 222.1 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 0.0001103/4.788, allocations: 31.33 kB / 2.345 GB, free: 222.1 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.000365/4.789, allocations: 0.4905 MB / 2.346 GB, free: 221.7 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002707/4.789, allocations: 226.3 kB / 2.346 GB, free: 221.5 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.347e-05/4.789, allocations: 0 / 2.346 GB, free: 221.5 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 9.459e-05/4.789, allocations: 342.8 kB / 2.346 GB, free: 221.2 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006284/4.79, allocations: 361.3 kB / 2.347 GB, free: 221 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008382/4.791, allocations: 0.6936 MB / 2.347 GB, free: 220.4 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001948/4.792, allocations: 0.5592 MB / 2.348 GB, free: 220.1 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.666e-06/4.792, allocations: 1.969 kB / 2.348 GB, free: 220.1 MB / 1.135 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.003597/4.796, allocations: 1.396 MB / 2.349 GB, free: 219.4 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006871/4.797, allocations: 3.327 MB / 2.353 GB, free: 215.8 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.986e-05/4.797, allocations: 7.906 kB / 2.353 GB, free: 215.8 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000994/4.798, allocations: 299.2 kB / 2.353 GB, free: 215.7 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/4.799, allocations: 242 kB / 2.353 GB, free: 215.7 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001589/4.801, allocations: 1.564 MB / 2.355 GB, free: 214.3 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001787/4.802, allocations: 143.8 kB / 2.355 GB, free: 214.3 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001621/4.803, allocations: 76.3 kB / 2.355 GB, free: 214.3 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/4.803, allocations: 3.562 kB / 2.355 GB, free: 214.3 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002974/4.806, allocations: 1.129 MB / 2.356 GB, free: 213.7 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/4.806, allocations: 12.66 kB / 2.356 GB, free: 213.7 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009932/4.807, allocations: 310.3 kB / 2.356 GB, free: 213.6 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/4.808, allocations: 235.9 kB / 2.356 GB, free: 213.5 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006569/4.814, allocations: 3.889 MB / 2.36 GB, free: 210.6 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00185/4.816, allocations: 128 kB / 2.36 GB, free: 210.5 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001748/4.816, allocations: 69.23 kB / 2.36 GB, free: 210.5 MB / 1.135 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: floMac1.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real floMac2.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: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 91 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004422/4.817, allocations: 138.7 kB / 2.361 GB, free: 210.4 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003739/4.817, allocations: 160.8 kB / 2.361 GB, free: 210.3 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004235/4.821, allocations: 1.479 MB / 2.362 GB, free: 209.5 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.29e-05/4.821, allocations: 15.8 kB / 2.362 GB, free: 209.5 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/4.821, allocations: 0 / 2.362 GB, free: 209.5 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.445e-05/4.821, allocations: 7.516 kB / 2.362 GB, free: 209.5 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005529/4.827, allocations: 2.499 MB / 2.365 GB, free: 207.9 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/4.827, allocations: 1.469 kB / 2.365 GB, free: 207.9 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008311/4.828, allocations: 145.3 kB / 2.365 GB, free: 207.9 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005871/4.828, allocations: 225.7 kB / 2.365 GB, free: 207.8 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-05/4.829, allocations: 25.06 kB / 2.365 GB, free: 207.8 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001168/4.83, allocations: 1.445 MB / 2.366 GB, free: 206.5 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/4.83, allocations: 0.9062 kB / 2.366 GB, free: 206.5 MB / 1.135 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003759/4.834, allocations: 1.856 MB / 2.368 GB, free: 205.4 MB / 1.135 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004889/4.838, allocations: 2.794 MB / 2.371 GB, free: 203.7 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009224/4.839, allocations: 343.7 kB / 2.371 GB, free: 203.4 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002272/4.84, allocations: 3.406 kB / 2.371 GB, free: 203.4 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/4.841, allocations: 92.31 kB / 2.371 GB, free: 203.4 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/4.841, allocations: 56.86 kB / 2.371 GB, free: 203.4 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001101/4.841, allocations: 35.66 kB / 2.371 GB, free: 203.3 MB / 1.135 GB Notification: Performance of sort global known variables: time 0.001619/4.843, allocations: 0.8817 MB / 2.372 GB, free: 202.9 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.005763/4.848, allocations: 1.271 MB / 2.374 GB, free: 202.3 MB / 1.135 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (floMac1.filter.s[1],floMac1.filter.s[2],floMac2.filter.s[1],floMac2.filter.s[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.002589/4.851, allocations: 1.265 MB / 2.375 GB, free: 201.9 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.003772/4.855, allocations: 1.664 MB / 2.376 GB, free: 200.8 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/4.855, allocations: 4 kB / 2.376 GB, free: 200.8 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.000759/4.856, allocations: 465.5 kB / 2.377 GB, free: 200.3 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003132/4.859, allocations: 0.6182 MB / 2.377 GB, free: 199.7 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004594/4.863, allocations: 2.226 MB / 2.38 GB, free: 197.5 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00122/4.865, allocations: 1.549 MB / 2.381 GB, free: 195.9 MB / 1.135 GB Notification: Performance of SimCode: time 1.172e-06/4.865, allocations: 0 / 2.381 GB, free: 195.9 MB / 1.135 GB (rm -f Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Movers_Examples_PumpsSeries_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Movers_Examples_PumpsSeries.fmu > Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe 2>&1)