Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries.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.Examples.PumpsSeries,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Movers_Examples_PumpsSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.PumpsSeries,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.374/1.374, allocations: 285.5 MB / 292.8 MB, free: 10.45 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.001084/0.001084, allocations: 199.5 kB / 361.1 MB, free: 7.078 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.109/1.109, allocations: 205.1 MB / 0.6195 GB, free: 10.27 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.000903/0.0009031, allocations: 88.31 kB / 0.7326 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2239/0.2249, allocations: 121.4 MB / 0.8511 GB, free: 2.84 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5588/0.7837, allocations: 115.3 MB / 0.9637 GB, free: 78.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7087/1.492, allocations: 435.9 MB / 1.389 GB, free: 130.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001818/1.493, allocations: 84.84 kB / 1.389 GB, free: 130.6 MB / 0.8542 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.994/3.487, allocations: 0.6862 GB / 2.076 GB, free: 141.8 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/3.487, allocations: 11.62 kB / 2.076 GB, free: 141.8 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003072/3.49, allocations: 0.5863 MB / 2.076 GB, free: 141.7 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02952/3.519, allocations: 14.14 MB / 2.09 GB, free: 140.8 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.983e-05/3.519, allocations: 34 kB / 2.09 GB, free: 140.8 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000342/3.52, allocations: 71.06 kB / 2.09 GB, free: 140.8 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001688/3.521, allocations: 0.8617 MB / 2.091 GB, free: 140.8 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001936/3.523, allocations: 1.114 MB / 2.092 GB, free: 140.6 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.55e-05/3.523, allocations: 2.844 kB / 2.092 GB, free: 140.6 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001152/3.523, allocations: 3.938 kB / 2.092 GB, free: 140.6 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.116e-05/3.523, allocations: 26.12 kB / 2.092 GB, free: 140.6 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008364/3.532, allocations: 5.55 MB / 2.098 GB, free: 138 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/3.533, allocations: 0.8134 MB / 2.098 GB, free: 137.8 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004381/3.533, allocations: 366.5 kB / 2.099 GB, free: 137.8 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002971/3.536, allocations: 2.202 MB / 2.101 GB, free: 136.6 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/3.536, allocations: 38.66 kB / 2.101 GB, free: 136.5 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=62): time 2.315e-06/3.536, allocations: 2.625 kB / 2.101 GB, free: 136.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=62): time 0.003571/3.54, allocations: 1.178 MB / 2.102 GB, free: 136.4 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.376e-05/3.54, allocations: 213.7 kB / 2.102 GB, free: 136.1 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001633/3.542, allocations: 1.195 MB / 2.103 GB, free: 135.9 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 8.794e-05/3.542, allocations: 28.61 kB / 2.103 GB, free: 135.9 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003127/3.542, allocations: 0.5124 MB / 2.104 GB, free: 135.6 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001967/3.542, allocations: 209.5 kB / 2.104 GB, free: 135.5 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.413e-05/3.542, allocations: 0 / 2.104 GB, free: 135.5 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.27e-05/3.543, allocations: 349.7 kB / 2.104 GB, free: 135.2 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000512/3.543, allocations: 365.6 kB / 2.105 GB, free: 135.2 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006522/3.544, allocations: 0.7323 MB / 2.105 GB, free: 134.8 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001682/3.545, allocations: 0.5731 MB / 2.106 GB, free: 134.8 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/3.545, allocations: 0 / 2.106 GB, free: 134.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003049/3.548, allocations: 1.413 MB / 2.107 GB, free: 134.6 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005408/3.549, allocations: 3.342 MB / 2.111 GB, free: 131.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.048e-05/3.549, allocations: 14.22 kB / 2.111 GB, free: 131.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000821/3.55, allocations: 295.8 kB / 2.111 GB, free: 131.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007986/3.551, allocations: 201.5 kB / 2.111 GB, free: 131.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00131/3.552, allocations: 1.564 MB / 2.113 GB, free: 130 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001225/3.553, allocations: 129.1 kB / 2.113 GB, free: 130 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000133/3.553, allocations: 74.81 kB / 2.113 GB, free: 130 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 6.803e-06/3.553, allocations: 3.094 kB / 2.113 GB, free: 130 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002799/3.556, allocations: 1.145 MB / 2.114 GB, free: 129.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.041e-05/3.556, allocations: 17.84 kB / 2.114 GB, free: 129.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008766/3.557, allocations: 320.3 kB / 2.114 GB, free: 129.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000654/3.558, allocations: 188.1 kB / 2.115 GB, free: 129.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006791/3.565, allocations: 3.902 MB / 2.118 GB, free: 127.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001418/3.566, allocations: 106.3 kB / 2.118 GB, free: 127.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001295/3.566, allocations: 69.69 kB / 2.119 GB, free: 127.7 MB / 0.9323 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.0003539/3.567, allocations: 137.5 kB / 2.119 GB, free: 127.6 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002328/3.567, allocations: 156.6 kB / 2.119 GB, free: 127.5 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003935/3.571, allocations: 1.411 MB / 2.12 GB, free: 127.4 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/3.571, allocations: 16.25 kB / 2.12 GB, free: 127.4 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-06/3.571, allocations: 2.562 kB / 2.12 GB, free: 127.4 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/3.571, allocations: 3.844 kB / 2.12 GB, free: 127.4 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004847/3.576, allocations: 2.347 MB / 2.122 GB, free: 127.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/3.576, allocations: 3.938 kB / 2.122 GB, free: 127.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006928/3.576, allocations: 111.3 kB / 2.123 GB, free: 127.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006454/3.577, allocations: 234.2 kB / 2.123 GB, free: 127 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.721e-05/3.577, allocations: 18.44 kB / 2.123 GB, free: 127 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001154/3.578, allocations: 1.441 MB / 2.124 GB, free: 126 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/3.578, allocations: 5.344 kB / 2.124 GB, free: 126 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003188/3.581, allocations: 1.734 MB / 2.126 GB, free: 125.6 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00406/3.586, allocations: 2.641 MB / 2.129 GB, free: 124.8 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000602/3.586, allocations: 339.2 kB / 2.129 GB, free: 124.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002489/3.586, allocations: 10.69 kB / 2.129 GB, free: 124.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/3.588, allocations: 66.95 kB / 2.129 GB, free: 124.7 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/3.588, allocations: 50.16 kB / 2.129 GB, free: 124.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.289e-05/3.588, allocations: 42.02 kB / 2.129 GB, free: 124.6 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.001347/3.589, allocations: 0.8998 MB / 2.13 GB, free: 124.5 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004864/3.594, allocations: 1.331 MB / 2.131 GB, free: 124.3 MB / 0.9323 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.001943/3.596, allocations: 1.313 MB / 2.132 GB, free: 124 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002936/3.599, allocations: 1.795 MB / 2.134 GB, free: 123.8 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/3.599, allocations: 1.156 kB / 2.134 GB, free: 123.8 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0006667/3.6, allocations: 439.4 kB / 2.135 GB, free: 123.8 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002409/3.602, allocations: 0.634 MB / 2.135 GB, free: 123.8 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003773/3.606, allocations: 2.262 MB / 2.137 GB, free: 122.9 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0011/3.607, allocations: 1.563 MB / 2.139 GB, free: 122.1 MB / 0.9323 GB Notification: Performance of SimCode: time 1.122e-06/3.607, allocations: 0 / 2.139 GB, free: 122.1 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Movers_Examples_PumpsSeries_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Movers_Examples_PumpsSeries.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe 2>&1)