Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor",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 10.0.0-master/package.mo): time 2.302/2.302, allocations: 390.4 MB / 397.7 MB, free: 11.26 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.00117/0.00117, allocations: 185.2 kB / 490.8 MB, free: 1.945 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.555/1.555, allocations: 221.4 MB / 0.7863 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 95.97 kB / 0.9264 GB, free: 14.22 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.7314/0.7326, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/1.06, allocations: 143 MB / 1.212 GB, free: 40.05 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.199/2.259, allocations: 436.3 MB / 1.638 GB, free: 11.44 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/2.259, allocations: 90.12 kB / 1.638 GB, free: 11.39 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: 577 * Number of variables: 577 Notification: Performance of Generate backend data structure: time 4.436/6.695, allocations: 1.07 GB / 2.708 GB, free: 156.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.675e-05/6.695, allocations: 9.062 kB / 2.708 GB, free: 156.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009845/6.705, allocations: 1.305 MB / 2.709 GB, free: 156.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007997/6.713, allocations: 3.346 MB / 2.712 GB, free: 155.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001852/6.713, allocations: 164.4 kB / 2.712 GB, free: 155.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004016/6.714, allocations: 141.3 kB / 2.713 GB, free: 155.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004295/6.718, allocations: 1.975 MB / 2.715 GB, free: 155.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004378/6.722, allocations: 2.458 MB / 2.717 GB, free: 155.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.459e-05/6.722, allocations: 9.938 kB / 2.717 GB, free: 155.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002714/6.723, allocations: 7.844 kB / 2.717 GB, free: 155.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-05/6.723, allocations: 71.3 kB / 2.717 GB, free: 155.3 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0214/6.744, allocations: 13.77 MB / 2.73 GB, free: 149.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001599/6.746, allocations: 1.065 MB / 2.732 GB, free: 148.9 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008443/6.747, allocations: 0.5982 MB / 2.732 GB, free: 148.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001524/6.748, allocations: 1.774 MB / 2.734 GB, free: 146.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001275/6.75, allocations: 0.9039 MB / 2.735 GB, free: 146.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=118): time 3.346e-06/6.75, allocations: 0 / 2.735 GB, free: 146.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=118): time 0.006394/6.756, allocations: 1.684 MB / 2.736 GB, free: 146.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002006/6.756, allocations: 0.9368 MB / 2.737 GB, free: 145.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003257/6.759, allocations: 1.86 MB / 2.739 GB, free: 145.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003651/6.76, allocations: 33.23 kB / 2.739 GB, free: 145 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008724/6.761, allocations: 0.9765 MB / 2.74 GB, free: 144.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004812/6.761, allocations: 409.7 kB / 2.74 GB, free: 144.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/6.761, allocations: 3.188 kB / 2.74 GB, free: 144.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001067/6.761, allocations: 369.4 kB / 2.741 GB, free: 144 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001024/6.763, allocations: 0.6003 MB / 2.741 GB, free: 144 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001387/6.764, allocations: 1.187 MB / 2.743 GB, free: 143.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002371/6.766, allocations: 0.823 MB / 2.743 GB, free: 143.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-06/6.766, allocations: 3.875 kB / 2.743 GB, free: 143.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.005248/6.772, allocations: 2.125 MB / 2.745 GB, free: 143.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008482/6.772, allocations: 4.901 MB / 2.75 GB, free: 137.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.931e-05/6.772, allocations: 11.66 kB / 2.75 GB, free: 137.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00123/6.774, allocations: 0.5282 MB / 2.751 GB, free: 137.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002888/6.777, allocations: 0.5023 MB / 2.751 GB, free: 137.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002324/6.779, allocations: 1.802 MB / 2.753 GB, free: 136.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005349/6.784, allocations: 467.5 kB / 2.753 GB, free: 136.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003309/6.785, allocations: 107.8 kB / 2.754 GB, free: 136.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/6.785, allocations: 3.906 kB / 2.754 GB, free: 136.7 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00441/6.789, allocations: 1.825 MB / 2.755 GB, free: 136.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/6.789, allocations: 14.2 kB / 2.755 GB, free: 136.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001179/6.79, allocations: 0.5291 MB / 2.756 GB, free: 136.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002728/6.793, allocations: 0.4883 MB / 2.756 GB, free: 136.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002144/6.795, allocations: 1.804 MB / 2.758 GB, free: 135.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004827/6.8, allocations: 375.3 kB / 2.758 GB, free: 135.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003528/6.8, allocations: 104.8 kB / 2.759 GB, free: 135.5 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,heaPum.stage,$PRE.heaPum1.com.isOn,heaPum1.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 (170): * Single equations (assignments): 167 * 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: 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 17,2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0006078/6.801, allocations: 157.1 kB / 2.759 GB, free: 135.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006851/6.802, allocations: 247.8 kB / 2.759 GB, free: 135.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00598/6.808, allocations: 1.709 MB / 2.761 GB, free: 135.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.503e-05/6.808, allocations: 17.16 kB / 2.761 GB, free: 135.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.437e-06/6.808, allocations: 7.312 kB / 2.761 GB, free: 135.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004705/6.813, allocations: 1.525 MB / 2.762 GB, free: 134.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01232/6.825, allocations: 6.121 MB / 2.768 GB, free: 132.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/6.825, allocations: 7.594 kB / 2.768 GB, free: 132.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001941/6.827, allocations: 302.7 kB / 2.768 GB, free: 132.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001126/6.828, allocations: 0.525 MB / 2.769 GB, free: 132.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001397/6.828, allocations: 33.75 kB / 2.769 GB, free: 132.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002186/6.83, allocations: 1.793 MB / 2.771 GB, free: 131.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.348e-06/6.83, allocations: 9.938 kB / 2.771 GB, free: 131.9 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00601/6.836, allocations: 3.149 MB / 2.774 GB, free: 130.6 MB / 1.167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007522/6.844, allocations: 4.404 MB / 2.778 GB, free: 129 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001927/6.846, allocations: 0.6283 MB / 2.779 GB, free: 128.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005798/6.847, allocations: 17.31 kB / 2.779 GB, free: 128.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003468/6.85, allocations: 271 kB / 2.779 GB, free: 128.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002039/6.85, allocations: 100.9 kB / 2.779 GB, free: 128.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001827/6.85, allocations: 74.25 kB / 2.779 GB, free: 128.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.002223/6.853, allocations: 1.388 MB / 2.78 GB, free: 128.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.009895/6.863, allocations: 2.343 MB / 2.783 GB, free: 128.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 4 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum.stage,heaPum1.com.isOn,N.T_start,N.count) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 78 * 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: 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 17,2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.003465/6.866, allocations: 1.484 MB / 2.784 GB, free: 127.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004983/6.871, allocations: 2.514 MB / 2.787 GB, free: 127.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.577e-05/6.871, allocations: 4.125 kB / 2.787 GB, free: 127.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001526/6.873, allocations: 0.7467 MB / 2.787 GB, free: 127.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005923/6.879, allocations: 1.038 MB / 2.788 GB, free: 127.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01284/6.891, allocations: 4.087 MB / 2.792 GB, free: 126.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002303/6.894, allocations: 2.046 MB / 2.794 GB, free: 125.9 MB / 1.167 GB Notification: Performance of SimCode: time 9.81e-07/6.894, allocations: 0 / 2.794 GB, free: 125.9 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1)