Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Movers.Examples.PumpsSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.PumpsSeries,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Movers_Examples_PumpsSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.PumpsSeries,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.613/2.613, allocations: 284.8 MB / 292.1 MB, free: 10.74 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.001662/0.001661, allocations: 193.2 kB / 360.3 MB, free: 7.535 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.87/1.87, allocations: 205.1 MB / 0.6187 GB, free: 13.24 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.00123/0.001229, allocations: 84.42 kB / 0.7317 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2672/0.2685, allocations: 121.4 MB / 0.8502 GB, free: 3.949 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6958/0.9644, allocations: 115.2 MB / 0.9627 GB, free: 78.47 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.047/2.012, allocations: 435.7 MB / 1.388 GB, free: 133.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003226/2.012, allocations: 90.17 kB / 1.388 GB, free: 133.1 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 3.304/5.316, allocations: 0.6862 GB / 2.074 GB, free: 142.6 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/5.316, allocations: 10.16 kB / 2.074 GB, free: 142.6 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005968/5.322, allocations: 0.5911 MB / 2.075 GB, free: 142.5 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05129/5.373, allocations: 14.14 MB / 2.089 GB, free: 141.6 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001005/5.373, allocations: 31.81 kB / 2.089 GB, free: 141.6 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004564/5.374, allocations: 71.09 kB / 2.089 GB, free: 141.6 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003002/5.377, allocations: 0.8638 MB / 2.09 GB, free: 141.6 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003124/5.38, allocations: 1.113 MB / 2.091 GB, free: 141.4 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.8e-05/5.38, allocations: 0 / 2.091 GB, free: 141.4 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001824/5.38, allocations: 6.312 kB / 2.091 GB, free: 141.4 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.56e-05/5.38, allocations: 26.38 kB / 2.091 GB, free: 141.4 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01403/5.394, allocations: 5.535 MB / 2.096 GB, free: 138.8 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002293/5.397, allocations: 0.8079 MB / 2.097 GB, free: 138.6 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009121/5.398, allocations: 372.5 kB / 2.097 GB, free: 138.6 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00528/5.403, allocations: 2.205 MB / 2.1 GB, free: 137.4 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/5.403, allocations: 56.11 kB / 2.1 GB, free: 137.3 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=62): time 3.426e-06/5.403, allocations: 0 / 2.1 GB, free: 137.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=62): time 0.006621/5.41, allocations: 1.173 MB / 2.101 GB, free: 137.2 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.476e-05/5.41, allocations: 217.5 kB / 2.101 GB, free: 136.9 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002832/5.413, allocations: 1.192 MB / 2.102 GB, free: 136.8 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0003245/5.413, allocations: 31.98 kB / 2.102 GB, free: 136.7 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004269/5.413, allocations: 0.5049 MB / 2.103 GB, free: 136.5 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003562/5.414, allocations: 212.7 kB / 2.103 GB, free: 136.3 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.264e-05/5.414, allocations: 3.391 kB / 2.103 GB, free: 136.3 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001008/5.414, allocations: 343.3 kB / 2.103 GB, free: 136 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009228/5.415, allocations: 363.9 kB / 2.104 GB, free: 136 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001247/5.416, allocations: 0.741 MB / 2.104 GB, free: 135.6 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002959/5.419, allocations: 0.5705 MB / 2.105 GB, free: 135.5 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.686e-05/5.419, allocations: 0 / 2.105 GB, free: 135.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.006096/5.425, allocations: 1.419 MB / 2.106 GB, free: 135.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007808/5.426, allocations: 3.336 MB / 2.11 GB, free: 131.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-05/5.426, allocations: 13.28 kB / 2.11 GB, free: 131.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00155/5.428, allocations: 292.2 kB / 2.11 GB, free: 131.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001755/5.43, allocations: 202.7 kB / 2.11 GB, free: 131.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002494/5.432, allocations: 1.564 MB / 2.112 GB, free: 130.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002433/5.435, allocations: 131.9 kB / 2.112 GB, free: 130.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003484/5.435, allocations: 72.58 kB / 2.112 GB, free: 130.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/5.435, allocations: 6.656 kB / 2.112 GB, free: 130.8 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005104/5.44, allocations: 1.145 MB / 2.113 GB, free: 130.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.455e-05/5.44, allocations: 11.55 kB / 2.113 GB, free: 130.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001603/5.442, allocations: 318.7 kB / 2.113 GB, free: 130.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001471/5.443, allocations: 188.3 kB / 2.113 GB, free: 130.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01023/5.454, allocations: 3.898 MB / 2.117 GB, free: 128.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002278/5.456, allocations: 106.8 kB / 2.117 GB, free: 128.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002907/5.456, allocations: 67.44 kB / 2.117 GB, free: 128.5 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.0004599/5.457, allocations: 129.4 kB / 2.117 GB, free: 128.4 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004998/5.457, allocations: 160.2 kB / 2.118 GB, free: 128.3 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006284/5.464, allocations: 1.42 MB / 2.119 GB, free: 128.2 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-05/5.464, allocations: 7.875 kB / 2.119 GB, free: 128.2 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/5.464, allocations: 3.797 kB / 2.119 GB, free: 128.2 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.296e-05/5.464, allocations: 3.844 kB / 2.119 GB, free: 128.2 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007678/5.471, allocations: 2.352 MB / 2.121 GB, free: 127.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/5.472, allocations: 3.969 kB / 2.121 GB, free: 127.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001247/5.473, allocations: 111.9 kB / 2.121 GB, free: 127.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000995/5.474, allocations: 227.6 kB / 2.122 GB, free: 127.9 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000139/5.474, allocations: 18.72 kB / 2.122 GB, free: 127.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001848/5.476, allocations: 1.448 MB / 2.123 GB, free: 126.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.685e-06/5.476, allocations: 3.406 kB / 2.123 GB, free: 126.8 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005263/5.481, allocations: 1.736 MB / 2.125 GB, free: 126.4 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007209/5.488, allocations: 2.64 MB / 2.127 GB, free: 125.7 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00123/5.49, allocations: 346.7 kB / 2.128 GB, free: 125.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005354/5.49, allocations: 3.719 kB / 2.128 GB, free: 125.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002095/5.492, allocations: 74.52 kB / 2.128 GB, free: 125.5 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001875/5.493, allocations: 48.19 kB / 2.128 GB, free: 125.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001516/5.493, allocations: 36.11 kB / 2.128 GB, free: 125.5 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0021/5.495, allocations: 0.9 MB / 2.129 GB, free: 125.3 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.008693/5.504, allocations: 1.328 MB / 2.13 GB, free: 125.2 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.006269/5.51, allocations: 1.314 MB / 2.131 GB, free: 124.9 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.009171/5.519, allocations: 1.795 MB / 2.133 GB, free: 124.6 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.245e-05/5.519, allocations: 4.781 kB / 2.133 GB, free: 124.6 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001732/5.521, allocations: 434.1 kB / 2.133 GB, free: 124.6 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006246/5.527, allocations: 0.6396 MB / 2.134 GB, free: 124.6 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009105/5.536, allocations: 2.261 MB / 2.136 GB, free: 124 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002352/5.539, allocations: 1.566 MB / 2.138 GB, free: 123.2 MB / 0.9323 GB Notification: Performance of SimCode: time 2.585e-06/5.539, allocations: 1.031 kB / 2.138 GB, free: 123.2 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Movers.Examples.PumpsSeries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Movers_Examples_PumpsSeries_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Movers_Examples_PumpsSeries.fmu > Buildings_8.0.0_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe 2>&1)