Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.Examples.PumpsSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.PumpsSeries,fileNamePrefix="Buildings_8_Buildings_Fluid_Movers_Examples_PumpsSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.PumpsSeries,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.574/1.574, allocations: 289.8 MB / 297.1 MB, free: 6.691 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.001148/0.001148, allocations: 177.3 kB / 366.3 MB, free: 2.016 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.472/1.472, allocations: 205.1 MB / 0.6256 GB, free: 7.469 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.0009527/0.0009527, allocations: 84.8 kB / 0.7395 GB, free: 39.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.293/0.294, allocations: 122.4 MB / 0.8591 GB, free: 13.52 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6963/0.9904, allocations: 116.3 MB / 0.9726 GB, free: 76.08 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9247/1.915, allocations: 436.8 MB / 1.399 GB, free: 115.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002505/1.915, allocations: 93.67 kB / 1.399 GB, free: 115.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 2.409/4.325, allocations: 0.6862 GB / 2.085 GB, free: 153.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/4.325, allocations: 10.69 kB / 2.085 GB, free: 153.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00357/4.329, allocations: 0.5899 MB / 2.086 GB, free: 153.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03308/4.362, allocations: 14.15 MB / 2.1 GB, free: 152.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.415e-05/4.362, allocations: 32.97 kB / 2.1 GB, free: 152.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003724/4.362, allocations: 65.97 kB / 2.1 GB, free: 152.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001938/4.364, allocations: 0.8649 MB / 2.101 GB, free: 152.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001648/4.366, allocations: 1.115 MB / 2.102 GB, free: 152.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.456e-05/4.366, allocations: 0 / 2.102 GB, free: 152.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.579e-05/4.366, allocations: 0 / 2.102 GB, free: 152.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.092e-05/4.366, allocations: 31.06 kB / 2.102 GB, free: 152.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008271/4.374, allocations: 5.534 MB / 2.107 GB, free: 149.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001149/4.375, allocations: 0.8149 MB / 2.108 GB, free: 149.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004619/4.376, allocations: 361.5 kB / 2.108 GB, free: 149.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00318/4.379, allocations: 2.215 MB / 2.111 GB, free: 148.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/4.379, allocations: 40.66 kB / 2.111 GB, free: 148.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=62): time 2.364e-06/4.379, allocations: 2.156 kB / 2.111 GB, free: 148.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=62): time 0.003702/4.383, allocations: 1.174 MB / 2.112 GB, free: 148.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.885e-05/4.383, allocations: 215.8 kB / 2.112 GB, free: 147.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001571/4.385, allocations: 1.202 MB / 2.113 GB, free: 147.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.334e-05/4.385, allocations: 25.7 kB / 2.113 GB, free: 147.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002761/4.385, allocations: 0.5054 MB / 2.114 GB, free: 147.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001849/4.385, allocations: 214.5 kB / 2.114 GB, free: 147.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.292e-05/4.385, allocations: 0 / 2.114 GB, free: 147.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.398e-05/4.385, allocations: 340.1 kB / 2.114 GB, free: 147 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004851/4.386, allocations: 369.5 kB / 2.115 GB, free: 147 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006639/4.386, allocations: 0.7341 MB / 2.115 GB, free: 146.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001742/4.388, allocations: 0.5775 MB / 2.116 GB, free: 146.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/4.388, allocations: 0 / 2.116 GB, free: 146.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.00319/4.391, allocations: 1.417 MB / 2.117 GB, free: 146.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007236/4.392, allocations: 3.327 MB / 2.121 GB, free: 142.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.431e-05/4.392, allocations: 17.14 kB / 2.121 GB, free: 142.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009227/4.393, allocations: 286.8 kB / 2.121 GB, free: 142.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008512/4.394, allocations: 203.1 kB / 2.121 GB, free: 142.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001502/4.395, allocations: 1.568 MB / 2.123 GB, free: 141.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001468/4.397, allocations: 126.9 kB / 2.123 GB, free: 141.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001553/4.397, allocations: 77.94 kB / 2.123 GB, free: 141.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/4.397, allocations: 5.969 kB / 2.123 GB, free: 141.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003014/4.4, allocations: 1.153 MB / 2.124 GB, free: 141.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.45e-05/4.4, allocations: 7.875 kB / 2.124 GB, free: 141.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009158/4.401, allocations: 312 kB / 2.124 GB, free: 141.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006745/4.402, allocations: 194.6 kB / 2.124 GB, free: 141.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0062/4.408, allocations: 3.891 MB / 2.128 GB, free: 139.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001549/4.41, allocations: 104.3 kB / 2.128 GB, free: 139.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001465/4.41, allocations: 69.67 kB / 2.128 GB, free: 139.5 MB / 0.948 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.0004192/4.41, allocations: 139.7 kB / 2.128 GB, free: 139.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003132/4.411, allocations: 170.2 kB / 2.129 GB, free: 139.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003785/4.414, allocations: 1.405 MB / 2.13 GB, free: 139.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.745e-05/4.414, allocations: 18.14 kB / 2.13 GB, free: 139.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/4.414, allocations: 1.312 kB / 2.13 GB, free: 139.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/4.414, allocations: 3.891 kB / 2.13 GB, free: 139.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004713/4.419, allocations: 2.349 MB / 2.132 GB, free: 138.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/4.419, allocations: 0 / 2.132 GB, free: 138.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006181/4.42, allocations: 110.8 kB / 2.132 GB, free: 138.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006003/4.42, allocations: 231 kB / 2.133 GB, free: 138.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.385e-05/4.42, allocations: 20.28 kB / 2.133 GB, free: 138.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001203/4.422, allocations: 1.457 MB / 2.134 GB, free: 137.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/4.422, allocations: 1.031 kB / 2.134 GB, free: 137.8 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003105/4.425, allocations: 1.732 MB / 2.136 GB, free: 137.4 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003764/4.429, allocations: 2.631 MB / 2.138 GB, free: 136.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008014/4.429, allocations: 342.3 kB / 2.139 GB, free: 136.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002116/4.43, allocations: 11.64 kB / 2.139 GB, free: 136.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009399/4.431, allocations: 72.5 kB / 2.139 GB, free: 136.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/4.431, allocations: 54.36 kB / 2.139 GB, free: 136.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.432e-05/4.431, allocations: 38.66 kB / 2.139 GB, free: 136.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001336/4.432, allocations: 0.8994 MB / 2.14 GB, free: 136.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005572/4.438, allocations: 1.324 MB / 2.141 GB, free: 136.2 MB / 0.948 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.002477/4.44, allocations: 1.331 MB / 2.142 GB, free: 135.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00327/4.443, allocations: 1.796 MB / 2.144 GB, free: 135.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/4.443, allocations: 3.844 kB / 2.144 GB, free: 135.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006863/4.444, allocations: 425.6 kB / 2.144 GB, free: 135.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003281/4.447, allocations: 0.641 MB / 2.145 GB, free: 135.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004646/4.452, allocations: 2.257 MB / 2.147 GB, free: 135 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001158/4.453, allocations: 1.572 MB / 2.149 GB, free: 134.2 MB / 0.948 GB Notification: Performance of SimCode: time 9.71e-07/4.453, allocations: 3.188 kB / 2.149 GB, free: 134.2 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.Examples.PumpsSeries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Movers_Examples_PumpsSeries_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Movers_Examples_PumpsSeries.fmu > Buildings_8_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe 2>&1)