Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.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.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed",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.666/1.666, allocations: 289.8 MB / 297.1 MB, free: 6.668 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.001928/0.001928, allocations: 185.3 kB / 366.3 MB, free: 2 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.747/1.747, allocations: 205.2 MB / 0.6256 GB, free: 5.824 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.0009521/0.0009521, allocations: 86.12 kB / 0.7395 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3092/0.3102, allocations: 122.4 MB / 0.8591 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7424/1.053, allocations: 116.3 MB / 0.9726 GB, free: 68.55 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9942/2.047, allocations: 423 MB / 1.386 GB, free: 61.59 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002356/2.047, allocations: 88.17 kB / 1.386 GB, free: 61.55 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 1.708/3.755, allocations: 0.5498 GB / 1.936 GB, free: 12.86 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/3.756, allocations: 8 kB / 1.936 GB, free: 12.85 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005168/3.761, allocations: 0.6613 MB / 1.936 GB, free: 12.19 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004948/3.766, allocations: 1.786 MB / 1.938 GB, free: 10.34 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001572/3.766, allocations: 91.95 kB / 1.938 GB, free: 10.25 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004625/3.766, allocations: 75.91 kB / 1.938 GB, free: 10.17 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002605/3.769, allocations: 1.02 MB / 1.939 GB, free: 9.148 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003023/3.772, allocations: 1.271 MB / 1.94 GB, free: 7.785 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.684e-05/3.772, allocations: 0 / 1.94 GB, free: 7.785 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002301/3.772, allocations: 11.98 kB / 1.94 GB, free: 7.773 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.873e-05/3.772, allocations: 39.94 kB / 1.94 GB, free: 7.734 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01248/3.785, allocations: 7.079 MB / 1.947 GB, free: 380 kB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4273/4.212, allocations: 0.4883 MB / 1.948 GB, free: 248.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007256/4.213, allocations: 327.5 kB / 1.948 GB, free: 248.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00116/4.214, allocations: 1.266 MB / 1.949 GB, free: 246.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007446/4.215, allocations: 0.4951 MB / 1.95 GB, free: 246.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=65): time 3.587e-06/4.215, allocations: 0 / 1.95 GB, free: 246.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=65): time 0.002518/4.217, allocations: 0.8268 MB / 1.951 GB, free: 246.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001246/4.218, allocations: 480.5 kB / 1.951 GB, free: 246.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001492/4.219, allocations: 0.9881 MB / 1.952 GB, free: 245.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001134/4.219, allocations: 29.45 kB / 1.952 GB, free: 245.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004362/4.22, allocations: 0.5334 MB / 1.953 GB, free: 245.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000194/4.22, allocations: 220.2 kB / 1.953 GB, free: 245.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.808e-05/4.22, allocations: 3 kB / 1.953 GB, free: 245.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.003e-05/4.22, allocations: 346.4 kB / 1.953 GB, free: 245.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005026/4.221, allocations: 309.3 kB / 1.953 GB, free: 245.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006651/4.221, allocations: 0.6088 MB / 1.954 GB, free: 245 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/4.222, allocations: 438.7 kB / 1.954 GB, free: 245 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/4.222, allocations: 0 / 1.954 GB, free: 245 MB / 0.948 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003978/4.226, allocations: 1.178 MB / 1.956 GB, free: 244.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005197/4.227, allocations: 2.456 MB / 1.958 GB, free: 242.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/4.227, allocations: 6.906 kB / 1.958 GB, free: 242.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000675/4.228, allocations: 273.9 kB / 1.958 GB, free: 242.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001511/4.229, allocations: 279.6 kB / 1.959 GB, free: 242.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001213/4.23, allocations: 0.8986 MB / 1.959 GB, free: 241.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002725/4.233, allocations: 251.9 kB / 1.96 GB, free: 241.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001263/4.233, allocations: 59.39 kB / 1.96 GB, free: 241.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.834e-06/4.233, allocations: 3.781 kB / 1.96 GB, free: 241.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003616/4.237, allocations: 1.023 MB / 1.961 GB, free: 241.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/4.237, allocations: 7.188 kB / 1.961 GB, free: 241.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005658/4.238, allocations: 268.2 kB / 1.961 GB, free: 241.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001475/4.239, allocations: 267.1 kB / 1.961 GB, free: 241.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001049/4.24, allocations: 0.9055 MB / 1.962 GB, free: 241.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002389/4.243, allocations: 208.9 kB / 1.962 GB, free: 241.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001217/4.243, allocations: 54.03 kB / 1.962 GB, free: 241.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 1 * 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 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.000379/4.243, allocations: 143.1 kB / 1.963 GB, free: 241.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002609/4.243, allocations: 125 kB / 1.963 GB, free: 241 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003122/4.246, allocations: 0.9339 MB / 1.964 GB, free: 240.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.277e-05/4.246, allocations: 14.05 kB / 1.964 GB, free: 240.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/4.246, allocations: 3.875 kB / 1.964 GB, free: 240.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002355/4.249, allocations: 0.8237 MB / 1.964 GB, free: 240.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005576/4.254, allocations: 3.096 MB / 1.967 GB, free: 239.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.809e-06/4.254, allocations: 9.969 kB / 1.967 GB, free: 239.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001072/4.256, allocations: 174 kB / 1.968 GB, free: 239.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006174/4.256, allocations: 262.4 kB / 1.968 GB, free: 239.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.729e-05/4.256, allocations: 23.91 kB / 1.968 GB, free: 239.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00103/4.257, allocations: 0.8949 MB / 1.969 GB, free: 239.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/4.257, allocations: 10.94 kB / 1.969 GB, free: 239.2 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003522/4.261, allocations: 1.756 MB / 1.97 GB, free: 238.6 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004138/4.265, allocations: 2.588 MB / 1.973 GB, free: 237.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00074/4.266, allocations: 366 kB / 1.973 GB, free: 237.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002506/4.266, allocations: 9.875 kB / 1.973 GB, free: 237.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001806/4.268, allocations: 147 kB / 1.973 GB, free: 237.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001448/4.268, allocations: 63.28 kB / 1.974 GB, free: 237.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.098e-05/4.268, allocations: 40.23 kB / 1.974 GB, free: 237.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001233/4.269, allocations: 0.7471 MB / 1.974 GB, free: 237.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005313/4.275, allocations: 1.263 MB / 1.976 GB, free: 237.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,heaPum.com.isOn,N.T_start,N.count) * Number of discrete states: 2 (N.count,heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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 {2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.001997/4.277, allocations: 0.8857 MB / 1.976 GB, free: 237.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002589/4.279, allocations: 1.344 MB / 1.978 GB, free: 237 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/4.279, allocations: 0 / 1.978 GB, free: 237 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007209/4.28, allocations: 399.5 kB / 1.978 GB, free: 237 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00257/4.283, allocations: 0.5678 MB / 1.979 GB, free: 237 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005668/4.288, allocations: 2.12 MB / 1.981 GB, free: 236.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001113/4.289, allocations: 1.401 MB / 1.982 GB, free: 235.7 MB / 0.948 GB Notification: Performance of SimCode: time 9.82e-07/4.289, allocations: 3.75 kB / 1.982 GB, free: 235.7 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed_fmu --startTime=0 --stopTime=2000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed.fmu > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1)