Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.PumpsSeries,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Movers_Examples_PumpsSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.PumpsSeries,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.245/1.245, allocations: 249.4 MB / 256.7 MB, free: 7.035 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009786/0.0009786, allocations: 177.3 kB / 316 MB, free: 3.582 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.123/1.123, allocations: 205.2 MB / 0.5667 GB, free: 15.66 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009115/0.0009115, allocations: 83.58 kB / 0.671 GB, free: 4.797 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3574/0.3584, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.5233, allocations: 106.3 MB / 0.8846 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.004/1.527, allocations: 429.3 MB / 1.304 GB, free: 317.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002566/1.527, allocations: 86.33 kB / 1.304 GB, free: 317.3 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 1.84/3.367, allocations: 0.6679 GB / 1.972 GB, free: 154.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/3.368, allocations: 14.59 kB / 1.972 GB, free: 154.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002717/3.37, allocations: 0.5868 MB / 1.972 GB, free: 154.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02714/3.397, allocations: 13.8 MB / 1.986 GB, free: 154 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.425e-05/3.397, allocations: 32.62 kB / 1.986 GB, free: 154 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001704/3.398, allocations: 70.53 kB / 1.986 GB, free: 154 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001417/3.399, allocations: 0.86 MB / 1.987 GB, free: 154 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001453/3.401, allocations: 1.12 MB / 1.988 GB, free: 153.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.242e-05/3.401, allocations: 0.9375 kB / 1.988 GB, free: 153.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.245e-05/3.401, allocations: 6.906 kB / 1.988 GB, free: 153.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.589e-05/3.401, allocations: 32.91 kB / 1.988 GB, free: 153.7 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006501/3.407, allocations: 5.518 MB / 1.993 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/3.408, allocations: 0.814 MB / 1.994 GB, free: 151 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004027/3.409, allocations: 363.4 kB / 1.995 GB, free: 151 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002408/3.411, allocations: 2.2 MB / 1.997 GB, free: 149.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.71e-05/3.411, allocations: 38.44 kB / 1.997 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=62): time 1.823e-06/3.411, allocations: 3.906 kB / 1.997 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=62): time 0.003281/3.414, allocations: 1.177 MB / 1.998 GB, free: 149.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.517e-05/3.414, allocations: 211.9 kB / 1.998 GB, free: 149.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001282/3.416, allocations: 1.196 MB / 1.999 GB, free: 149.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.37e-05/3.416, allocations: 25.7 kB / 1.999 GB, free: 149.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002483/3.416, allocations: 0.5098 MB / 2 GB, free: 148.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001376/3.416, allocations: 211.2 kB / 2 GB, free: 148.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.258e-05/3.416, allocations: 0 / 2 GB, free: 148.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.006e-05/3.416, allocations: 346.8 kB / 2 GB, free: 148.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004595/3.417, allocations: 365.5 kB / 2.001 GB, free: 148.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006103/3.417, allocations: 0.7397 MB / 2.001 GB, free: 148 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001609/3.419, allocations: 0.5682 MB / 2.002 GB, free: 148 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.545e-06/3.419, allocations: 3.688 kB / 2.002 GB, free: 148 MB / 0.8698 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002915/3.422, allocations: 1.417 MB / 2.003 GB, free: 147.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005018/3.422, allocations: 3.335 MB / 2.007 GB, free: 144.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.502e-05/3.423, allocations: 15.33 kB / 2.007 GB, free: 144.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008082/3.423, allocations: 297.6 kB / 2.007 GB, free: 144.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007889/3.424, allocations: 198.1 kB / 2.007 GB, free: 144.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001237/3.425, allocations: 1.569 MB / 2.009 GB, free: 143.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00112/3.427, allocations: 125.6 kB / 2.009 GB, free: 143.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001233/3.427, allocations: 78.83 kB / 2.009 GB, free: 143.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.742e-06/3.427, allocations: 6 kB / 2.009 GB, free: 143.2 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002549/3.429, allocations: 1.156 MB / 2.01 GB, free: 143.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.793e-05/3.429, allocations: 13.28 kB / 2.01 GB, free: 143.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008269/3.43, allocations: 306.3 kB / 2.01 GB, free: 143.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006307/3.431, allocations: 184.7 kB / 2.01 GB, free: 143.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005329/3.436, allocations: 3.902 MB / 2.014 GB, free: 141 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009712/3.437, allocations: 106.7 kB / 2.014 GB, free: 141 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.607e-05/3.437, allocations: 62.62 kB / 2.014 GB, free: 141 MB / 0.8698 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 (96): * Single equations (assignments): 88 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 2 * 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.0002514/3.437, allocations: 143.6 kB / 2.015 GB, free: 140.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001837/3.438, allocations: 158.7 kB / 2.015 GB, free: 140.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003184/3.441, allocations: 1.416 MB / 2.016 GB, free: 140.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/3.441, allocations: 16.42 kB / 2.016 GB, free: 140.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/3.441, allocations: 0 / 2.016 GB, free: 140.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/3.441, allocations: 3.562 kB / 2.016 GB, free: 140.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003482/3.444, allocations: 2.341 MB / 2.018 GB, free: 140.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/3.444, allocations: 0 / 2.018 GB, free: 140.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000571/3.445, allocations: 118.4 kB / 2.018 GB, free: 140.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005121/3.445, allocations: 228 kB / 2.019 GB, free: 140.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.632e-05/3.446, allocations: 26.05 kB / 2.019 GB, free: 140.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009666/3.446, allocations: 1.448 MB / 2.02 GB, free: 139.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/3.447, allocations: 0 / 2.02 GB, free: 139.3 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002395/3.449, allocations: 1.729 MB / 2.022 GB, free: 138.9 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003138/3.452, allocations: 2.65 MB / 2.024 GB, free: 138.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006879/3.453, allocations: 339.5 kB / 2.025 GB, free: 137.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002135/3.453, allocations: 7.375 kB / 2.025 GB, free: 137.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009144/3.454, allocations: 70.28 kB / 2.025 GB, free: 137.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.173e-05/3.454, allocations: 42.8 kB / 2.025 GB, free: 137.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.232e-05/3.454, allocations: 46.45 kB / 2.025 GB, free: 137.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001311/3.455, allocations: 0.9001 MB / 2.026 GB, free: 137.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004881/3.46, allocations: 1.307 MB / 2.027 GB, free: 137.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (floMac1.filter.x[1],floMac1.filter.x[2],floMac2.filter.x[1],floMac2.filter.x[2]) * 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: 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.001924/3.462, allocations: 1.301 MB / 2.028 GB, free: 137.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002716/3.465, allocations: 1.796 MB / 2.03 GB, free: 137 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/3.465, allocations: 3.812 kB / 2.03 GB, free: 137 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006119/3.466, allocations: 436.9 kB / 2.031 GB, free: 137 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002349/3.468, allocations: 0.6196 MB / 2.031 GB, free: 137 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003613/3.472, allocations: 2.26 MB / 2.033 GB, free: 136.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009833/3.473, allocations: 1.564 MB / 2.035 GB, free: 135.7 MB / 0.8698 GB Notification: Performance of SimCode: time 4.61e-07/3.473, allocations: 0 / 2.035 GB, free: 135.7 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Movers_Examples_PumpsSeries_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Movers_Examples_PumpsSeries.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe 2>&1)