Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") translateModel(BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_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/BuildingSystems 2.0.0-master/package.mo): time 0.7856/0.7856, allocations: 141.8 MB / 149.1 MB, free: 4.492 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 184.9 kB / 181.9 MB, free: 172 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 221.3 MB / 436 MB, free: 9.32 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001073, allocations: 96 kB / 0.507 GB, free: 24.13 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001856/0.001856, allocations: 277 kB / 0.5884 GB, free: 12.35 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 7.003e-06/7.043e-06, allocations: 0 / 0.6759 GB, free: 2.719 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4739/0.4739, allocations: 82.76 MB / 0.7567 GB, free: 112.9 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7334/1.207, allocations: 393.3 MB / 1.141 GB, free: 6.109 MB / 0.6669 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002909/1.208, allocations: 89.95 kB / 1.141 GB, free: 6.066 MB / 0.6669 GB Notification: Performance of FrontEnd: time 2.199/3.407, allocations: 0.5581 GB / 1.699 GB, free: 4.789 MB / 0.6983 GB Notification: Performance of Transformations before backend: time 0.000305/3.407, allocations: 35.98 kB / 1.699 GB, free: 4.754 MB / 0.6983 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 0.007977/3.415, allocations: 1.863 MB / 1.701 GB, free: 2.828 MB / 0.6983 GB Notification: Performance of prepare preOptimizeDAE: time 5.805e-05/3.415, allocations: 12.03 kB / 1.701 GB, free: 2.816 MB / 0.6983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007223/3.422, allocations: 0.6612 MB / 1.701 GB, free: 2.152 MB / 0.6983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006997/3.429, allocations: 1.774 MB / 1.703 GB, free: 328 kB / 0.6983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002897/3.43, allocations: 83.97 kB / 1.703 GB, free: 236 kB / 0.6983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005668/3.43, allocations: 68 kB / 1.703 GB, free: 168 kB / 0.6983 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.2827/3.713, allocations: 1.004 MB / 1.704 GB, free: 146.7 MB / 0.6983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002052/3.715, allocations: 1.272 MB / 1.706 GB, free: 146.5 MB / 0.6983 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.989e-05/3.715, allocations: 6.438 kB / 1.706 GB, free: 146.5 MB / 0.6983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000124/3.715, allocations: 9.969 kB / 1.706 GB, free: 146.5 MB / 0.6983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.285e-05/3.716, allocations: 51.61 kB / 1.706 GB, free: 146.5 MB / 0.6983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01039/3.726, allocations: 7.277 MB / 1.713 GB, free: 143.1 MB / 0.6983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009084/3.727, allocations: 0.5211 MB / 1.713 GB, free: 143 MB / 0.6983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004279/3.727, allocations: 313.5 kB / 1.714 GB, free: 143 MB / 0.6983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001065/3.728, allocations: 1.273 MB / 1.715 GB, free: 141.6 MB / 0.6983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/3.728, allocations: 41.69 kB / 1.715 GB, free: 141.6 MB / 0.6983 GB Notification: Performance of pre-optimization done (n=64): time 3.036e-06/3.728, allocations: 0 / 1.715 GB, free: 141.6 MB / 0.6983 GB Notification: Performance of matching and sorting (n=64): time 0.002044/3.73, allocations: 0.8073 MB / 1.716 GB, free: 141.4 MB / 0.6983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/3.731, allocations: 111.1 kB / 1.716 GB, free: 141.3 MB / 0.6983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001248/3.732, allocations: 0.9643 MB / 1.717 GB, free: 141.2 MB / 0.6983 GB Notification: Performance of collectPreVariables (initialization): time 0.0001132/3.732, allocations: 25.7 kB / 1.717 GB, free: 141.1 MB / 0.6983 GB Notification: Performance of collectInitialEqns (initialization): time 0.000397/3.732, allocations: 0.52 MB / 1.717 GB, free: 140.9 MB / 0.6983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001896/3.733, allocations: 214.5 kB / 1.717 GB, free: 140.8 MB / 0.6983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.565e-05/3.733, allocations: 0 / 1.717 GB, free: 140.8 MB / 0.6983 GB Notification: Performance of setup shared object (initialization): time 6.62e-05/3.733, allocations: 336.4 kB / 1.718 GB, free: 140.5 MB / 0.6983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000456/3.733, allocations: 287.9 kB / 1.718 GB, free: 140.5 MB / 0.6983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005675/3.734, allocations: 0.5622 MB / 1.719 GB, free: 140.2 MB / 0.6983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/3.735, allocations: 403 kB / 1.719 GB, free: 140.2 MB / 0.6983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/3.735, allocations: 3.688 kB / 1.719 GB, free: 140.2 MB / 0.6983 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00224/3.737, allocations: 1.08 MB / 1.72 GB, free: 140 MB / 0.6983 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004112/3.737, allocations: 2.453 MB / 1.722 GB, free: 137.5 MB / 0.6983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/3.738, allocations: 13.94 kB / 1.722 GB, free: 137.5 MB / 0.6983 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008515/3.738, allocations: 357.1 kB / 1.723 GB, free: 137.5 MB / 0.6983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001389/3.74, allocations: 252.5 kB / 1.723 GB, free: 137.5 MB / 0.6983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001367/3.741, allocations: 1.096 MB / 1.724 GB, free: 137 MB / 0.6983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002437/3.744, allocations: 232.1 kB / 1.724 GB, free: 136.9 MB / 0.6983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/3.744, allocations: 53.56 kB / 1.724 GB, free: 136.9 MB / 0.6983 GB Notification: Performance of prepare postOptimizeDAE: time 9.809e-06/3.744, allocations: 3.719 kB / 1.724 GB, free: 136.9 MB / 0.6983 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002075/3.746, allocations: 0.919 MB / 1.725 GB, free: 136.9 MB / 0.6983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/3.746, allocations: 10.98 kB / 1.725 GB, free: 136.9 MB / 0.6983 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007586/3.747, allocations: 358.4 kB / 1.726 GB, free: 136.9 MB / 0.6983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001344/3.748, allocations: 255.3 kB / 1.726 GB, free: 136.9 MB / 0.6983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00137/3.749, allocations: 1.098 MB / 1.727 GB, free: 136.4 MB / 0.6983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002178/3.752, allocations: 186.3 kB / 1.727 GB, free: 136.4 MB / 0.6983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/3.752, allocations: 56.89 kB / 1.727 GB, free: 136.4 MB / 0.6983 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.0003146/3.752, allocations: 132.6 kB / 1.727 GB, free: 136.2 MB / 0.6983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000228/3.752, allocations: 127.4 kB / 1.727 GB, free: 136.2 MB / 0.6983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002339/3.755, allocations: 0.9259 MB / 1.728 GB, free: 136.1 MB / 0.6983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/3.755, allocations: 6.719 kB / 1.728 GB, free: 136.1 MB / 0.6983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/3.755, allocations: 0 / 1.728 GB, free: 136.1 MB / 0.6983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001452/3.756, allocations: 0.814 MB / 1.729 GB, free: 135.9 MB / 0.6983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00517/3.761, allocations: 2.852 MB / 1.732 GB, free: 135 MB / 0.6983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/3.761, allocations: 1.781 kB / 1.732 GB, free: 135 MB / 0.6983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001018/3.762, allocations: 160.2 kB / 1.732 GB, free: 135 MB / 0.6983 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007834/3.763, allocations: 361 kB / 1.732 GB, free: 135 MB / 0.6983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.281e-05/3.763, allocations: 18.3 kB / 1.732 GB, free: 135 MB / 0.6983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002228/3.765, allocations: 1.2 MB / 1.734 GB, free: 134.5 MB / 0.6983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/3.765, allocations: 6.594 kB / 1.734 GB, free: 134.5 MB / 0.6983 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002179/3.768, allocations: 1.225 MB / 1.735 GB, free: 133.9 MB / 0.6983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007447/3.768, allocations: 365.3 kB / 1.735 GB, free: 133.8 MB / 0.6983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002191/3.769, allocations: 8.281 kB / 1.735 GB, free: 133.8 MB / 0.6983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001639/3.77, allocations: 139 kB / 1.735 GB, free: 133.8 MB / 0.6983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/3.77, allocations: 48.33 kB / 1.735 GB, free: 133.8 MB / 0.6983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.386e-05/3.77, allocations: 48.16 kB / 1.735 GB, free: 133.8 MB / 0.6983 GB Notification: Performance of sort global known variables: time 0.001053/3.772, allocations: 0.7329 MB / 1.736 GB, free: 133.7 MB / 0.6983 GB Notification: Performance of remove unused functions: time 0.003015/3.775, allocations: 0.9837 MB / 1.737 GB, free: 133.6 MB / 0.6983 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.001868/3.776, allocations: 0.8774 MB / 1.738 GB, free: 133.5 MB / 0.6983 GB Notification: Performance of simCode: created initialization part: time 0.002465/3.779, allocations: 1.25 MB / 1.739 GB, free: 133.4 MB / 0.6983 GB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/3.779, allocations: 2.031 kB / 1.739 GB, free: 133.4 MB / 0.6983 GB Notification: Performance of simCode: created simulation system equations: time 0.001306/3.78, allocations: 466.7 kB / 1.74 GB, free: 133.4 MB / 0.6983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002942/3.783, allocations: 0.5575 MB / 1.74 GB, free: 133.4 MB / 0.6983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005434/3.789, allocations: 1.95 MB / 1.742 GB, free: 132.9 MB / 0.6983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009437/3.79, allocations: 1.372 MB / 1.743 GB, free: 132.1 MB / 0.6983 GB Notification: Performance of SimCode: time 9.72e-07/3.79, allocations: 0 / 1.743 GB, free: 132.1 MB / 0.6983 GB Notification: Performance of Templates: time 0.05809/3.848, allocations: 39.24 MB / 1.782 GB, free: 131.3 MB / 0.6983 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)