Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.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.HeatPumps.Validation.ReciprocatingWaterToWater_Static,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static",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.069/2.069, allocations: 387.2 MB / 394.5 MB, free: 13.69 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.001091/0.00109, allocations: 172.7 kB / 487 MB, free: 5.422 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.416/1.416, allocations: 221.3 MB / 0.7819 GB, free: 1.402 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.0009392/0.0009389, allocations: 103.9 kB / 0.9213 GB, free: 2.645 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6326/0.6336, allocations: 148.4 MB / 1.066 GB, free: 167.9 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.8834, allocations: 142.3 MB / 1.205 GB, free: 25.83 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.066/1.95, allocations: 433.9 MB / 1.629 GB, free: 5.059 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003154/1.95, allocations: 93.97 kB / 1.629 GB, free: 5.012 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: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 2.449/4.399, allocations: 0.5623 GB / 2.191 GB, free: 213.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/4.399, allocations: 9.875 kB / 2.192 GB, free: 213.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005402/4.404, allocations: 0.6595 MB / 2.192 GB, free: 213.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004633/4.409, allocations: 1.789 MB / 2.194 GB, free: 212.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001317/4.409, allocations: 89.05 kB / 2.194 GB, free: 212.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003326/4.41, allocations: 70.97 kB / 2.194 GB, free: 212.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002408/4.412, allocations: 1.006 MB / 2.195 GB, free: 212.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002635/4.415, allocations: 1.27 MB / 2.196 GB, free: 212.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.145e-05/4.415, allocations: 7.875 kB / 2.196 GB, free: 212.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001219/4.415, allocations: 3.688 kB / 2.196 GB, free: 212.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.625e-05/4.415, allocations: 57.81 kB / 2.196 GB, free: 212.5 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01047/4.425, allocations: 7.292 MB / 2.203 GB, free: 209 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000862/4.426, allocations: 0.5224 MB / 2.204 GB, free: 209 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000409/4.427, allocations: 309.8 kB / 2.204 GB, free: 209 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001054/4.428, allocations: 1.268 MB / 2.205 GB, free: 207.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/4.428, allocations: 43.81 kB / 2.206 GB, free: 207.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=64): time 3.196e-06/4.428, allocations: 0 / 2.206 GB, free: 207.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=64): time 0.002094/4.43, allocations: 0.804 MB / 2.206 GB, free: 207.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/4.43, allocations: 110.7 kB / 2.206 GB, free: 207.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001388/4.431, allocations: 0.9714 MB / 2.207 GB, free: 207.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001118/4.431, allocations: 29.64 kB / 2.207 GB, free: 207.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003677/4.432, allocations: 0.5124 MB / 2.208 GB, free: 206.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001999/4.432, allocations: 223.3 kB / 2.208 GB, free: 206.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.463e-05/4.432, allocations: 3.969 kB / 2.208 GB, free: 206.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.204e-05/4.432, allocations: 333.2 kB / 2.208 GB, free: 206.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004254/4.433, allocations: 291.1 kB / 2.209 GB, free: 206.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005758/4.433, allocations: 0.5655 MB / 2.209 GB, free: 206.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/4.434, allocations: 404.4 kB / 2.21 GB, free: 206.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/4.434, allocations: 0 / 2.21 GB, free: 206.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002251/4.437, allocations: 1.078 MB / 2.211 GB, free: 206 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004131/4.437, allocations: 2.454 MB / 2.213 GB, free: 203.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/4.437, allocations: 6.812 kB / 2.213 GB, free: 203.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008254/4.438, allocations: 360 kB / 2.213 GB, free: 203.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001389/4.439, allocations: 258.6 kB / 2.214 GB, free: 203.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001532/4.441, allocations: 1.1 MB / 2.215 GB, free: 202.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002837/4.444, allocations: 227.1 kB / 2.215 GB, free: 202.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001408/4.444, allocations: 51.75 kB / 2.215 GB, free: 202.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/4.444, allocations: 5.25 kB / 2.215 GB, free: 202.9 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002256/4.446, allocations: 0.9215 MB / 2.216 GB, free: 202.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/4.446, allocations: 7.531 kB / 2.216 GB, free: 202.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007327/4.447, allocations: 353.9 kB / 2.216 GB, free: 202.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001368/4.448, allocations: 253.5 kB / 2.217 GB, free: 202.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001367/4.45, allocations: 1.101 MB / 2.218 GB, free: 202.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002363/4.452, allocations: 186.9 kB / 2.218 GB, free: 202.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001346/4.452, allocations: 56.09 kB / 2.218 GB, free: 202.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 22} Notification: Performance of prepare postOptimizeDAE: time 0.0004375/4.453, allocations: 128.5 kB / 2.218 GB, free: 202.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003616/4.453, allocations: 128.5 kB / 2.218 GB, free: 202.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002573/4.456, allocations: 0.9249 MB / 2.219 GB, free: 202 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/4.456, allocations: 9.125 kB / 2.219 GB, free: 202 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/4.456, allocations: 6.703 kB / 2.219 GB, free: 202 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00152/4.457, allocations: 0.8141 MB / 2.22 GB, free: 201.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00551/4.463, allocations: 2.854 MB / 2.223 GB, free: 201 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/4.463, allocations: 7 kB / 2.223 GB, free: 201 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009765/4.464, allocations: 161.1 kB / 2.223 GB, free: 201 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000748/4.464, allocations: 352.3 kB / 2.223 GB, free: 201 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.557e-05/4.465, allocations: 19.92 kB / 2.223 GB, free: 201 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002126/4.467, allocations: 1.2 MB / 2.224 GB, free: 200.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.012e-06/4.467, allocations: 5.188 kB / 2.224 GB, free: 200.4 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001964/4.469, allocations: 1.226 MB / 2.225 GB, free: 199.9 MB / 1.167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001961/4.471, allocations: 1.672 MB / 2.227 GB, free: 198.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006193/4.471, allocations: 362.8 kB / 2.227 GB, free: 198.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002182/4.472, allocations: 6.75 kB / 2.227 GB, free: 198.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001634/4.473, allocations: 135.5 kB / 2.228 GB, free: 198.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.671e-05/4.473, allocations: 52.17 kB / 2.228 GB, free: 198.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.741e-05/4.473, allocations: 44.56 kB / 2.228 GB, free: 198.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.0009383/4.474, allocations: 0.736 MB / 2.228 GB, free: 198.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00416/4.478, allocations: 1.242 MB / 2.23 GB, free: 198.6 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.00198/4.48, allocations: 0.887 MB / 2.23 GB, free: 198.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002828/4.483, allocations: 1.252 MB / 2.232 GB, free: 198.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/4.483, allocations: 0 / 2.232 GB, free: 198.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001326/4.485, allocations: 463.3 kB / 2.232 GB, free: 198.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003029/4.488, allocations: 0.5573 MB / 2.233 GB, free: 198.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005873/4.494, allocations: 1.961 MB / 2.235 GB, free: 197.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001134/4.495, allocations: 1.376 MB / 2.236 GB, free: 197 MB / 1.167 GB Notification: Performance of SimCode: time 6.81e-07/4.495, allocations: 0 / 2.236 GB, free: 197 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)