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: translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") [: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.604/1.604, allocations: 289.8 MB / 297.1 MB, free: 6.676 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.001195/0.001195, allocations: 189.2 kB / 366.3 MB, free: 1.984 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.739/1.739, allocations: 205.1 MB / 0.6256 GB, free: 5.836 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.0009751/0.0009755, allocations: 76.53 kB / 0.7395 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.554e-06/7.584e-06, allocations: 0 / 0.859 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7509/0.7509, allocations: 116.3 MB / 0.9725 GB, free: 68.1 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.98/1.731, allocations: 423 MB / 1.386 GB, free: 65.59 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001973/1.731, allocations: 87.97 kB / 1.386 GB, free: 65.54 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.539/3.271, allocations: 0.5479 GB / 1.934 GB, free: 18.77 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000153/3.271, allocations: 39.98 kB / 1.934 GB, free: 18.73 MB / 0.948 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 0.004114/3.275, allocations: 1.907 MB / 1.935 GB, free: 16.76 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/3.275, allocations: 12.03 kB / 1.936 GB, free: 16.75 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004674/3.28, allocations: 0.6573 MB / 1.936 GB, free: 16.09 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003585/3.283, allocations: 1.798 MB / 1.938 GB, free: 14.23 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.394e-05/3.283, allocations: 80.03 kB / 1.938 GB, free: 14.14 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001689/3.284, allocations: 79.89 kB / 1.938 GB, free: 14.07 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001838/3.285, allocations: 1.016 MB / 1.939 GB, free: 13.05 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001877/3.287, allocations: 1.272 MB / 1.94 GB, free: 11.68 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.456e-05/3.287, allocations: 11.94 kB / 1.94 GB, free: 11.67 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001211/3.288, allocations: 4 kB / 1.94 GB, free: 11.67 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-05/3.288, allocations: 36 kB / 1.94 GB, free: 11.63 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009473/3.297, allocations: 7.079 MB / 1.947 GB, free: 4.266 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007458/3.298, allocations: 0.4955 MB / 1.948 GB, free: 3.758 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004131/3.298, allocations: 314.8 kB / 1.948 GB, free: 3.449 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001011/3.299, allocations: 1.263 MB / 1.949 GB, free: 1.91 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006299/3.3, allocations: 0.5009 MB / 1.95 GB, free: 1.352 MB / 0.948 GB Notification: Performance of pre-optimization done (n=65): time 2.475e-06/3.3, allocations: 4 kB / 1.95 GB, free: 1.348 MB / 0.948 GB Notification: Performance of matching and sorting (n=65): time 0.001977/3.302, allocations: 0.8275 MB / 1.951 GB, free: 0.5078 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.365/3.667, allocations: 479.1 kB / 1.951 GB, free: 248.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001751/3.669, allocations: 0.9868 MB / 1.952 GB, free: 248.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003274/3.669, allocations: 33.3 kB / 1.952 GB, free: 248.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005204/3.67, allocations: 0.5329 MB / 1.953 GB, free: 248.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002429/3.67, allocations: 218.1 kB / 1.953 GB, free: 248.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.764e-05/3.67, allocations: 0 / 1.953 GB, free: 248.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.607e-05/3.67, allocations: 338.8 kB / 1.953 GB, free: 248 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005099/3.671, allocations: 315.9 kB / 1.953 GB, free: 248 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006264/3.671, allocations: 0.612 MB / 1.954 GB, free: 247.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/3.672, allocations: 431.3 kB / 1.954 GB, free: 247.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/3.672, allocations: 3.812 kB / 1.954 GB, free: 247.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003829/3.676, allocations: 1.175 MB / 1.956 GB, free: 247.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004367/3.677, allocations: 2.457 MB / 1.958 GB, free: 245 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/3.677, allocations: 5.531 kB / 1.958 GB, free: 245 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006448/3.677, allocations: 275.8 kB / 1.958 GB, free: 245 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001504/3.679, allocations: 279 kB / 1.958 GB, free: 245 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001068/3.68, allocations: 0.8959 MB / 1.959 GB, free: 244.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002661/3.683, allocations: 257.7 kB / 1.96 GB, free: 244.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001288/3.683, allocations: 62.98 kB / 1.96 GB, free: 244.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/3.683, allocations: 3.156 kB / 1.96 GB, free: 244.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003543/3.686, allocations: 1.016 MB / 1.961 GB, free: 244.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/3.686, allocations: 10.53 kB / 1.961 GB, free: 244.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005569/3.687, allocations: 273 kB / 1.961 GB, free: 244.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001441/3.688, allocations: 273.6 kB / 1.961 GB, free: 244.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001019/3.689, allocations: 0.8998 MB / 1.962 GB, free: 243.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002369/3.692, allocations: 207.4 kB / 1.962 GB, free: 243.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001245/3.692, allocations: 56.67 kB / 1.962 GB, free: 243.8 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.0003685/3.692, allocations: 142.8 kB / 1.962 GB, free: 243.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002575/3.693, allocations: 126 kB / 1.963 GB, free: 243.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003118/3.696, allocations: 0.9239 MB / 1.963 GB, free: 243.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.5e-05/3.696, allocations: 7.094 kB / 1.963 GB, free: 243.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/3.696, allocations: 4.094 kB / 1.963 GB, free: 243.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002382/3.698, allocations: 0.8207 MB / 1.964 GB, free: 243.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005413/3.704, allocations: 3.107 MB / 1.967 GB, free: 242.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.76e-06/3.704, allocations: 10.94 kB / 1.967 GB, free: 242.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001039/3.705, allocations: 173.3 kB / 1.967 GB, free: 242.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000535/3.705, allocations: 263.1 kB / 1.968 GB, free: 242.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.32e-05/3.705, allocations: 29.86 kB / 1.968 GB, free: 242.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009606/3.706, allocations: 0.8943 MB / 1.969 GB, free: 241.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/3.706, allocations: 7.75 kB / 1.969 GB, free: 241.9 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003434/3.71, allocations: 1.756 MB / 1.97 GB, free: 241.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007182/3.71, allocations: 369.8 kB / 1.971 GB, free: 241.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002298/3.711, allocations: 7.625 kB / 1.971 GB, free: 241.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001665/3.712, allocations: 146.1 kB / 1.971 GB, free: 241.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/3.712, allocations: 65.23 kB / 1.971 GB, free: 241.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.63e-05/3.713, allocations: 36.45 kB / 1.971 GB, free: 241.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0009489/3.713, allocations: 0.7463 MB / 1.972 GB, free: 241 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002699/3.716, allocations: 0.9992 MB / 1.973 GB, free: 240.9 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.001467/3.718, allocations: 0.8782 MB / 1.974 GB, free: 240.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002179/3.72, allocations: 1.342 MB / 1.975 GB, free: 240.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/3.72, allocations: 6.75 kB / 1.975 GB, free: 240.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006585/3.721, allocations: 391.4 kB / 1.975 GB, free: 240.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00246/3.723, allocations: 0.568 MB / 1.976 GB, free: 240.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005979/3.729, allocations: 2.12 MB / 1.978 GB, free: 240.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001252/3.73, allocations: 1.395 MB / 1.979 GB, free: 239.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.022e-06/3.73, allocations: 3.312 kB / 1.979 GB, free: 239.4 MB / 0.948 GB Notification: Performance of Templates: time 0.05468/3.785, allocations: 40.2 MB / 2.018 GB, free: 238.7 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.makefile (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 & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1)