Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor") [: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.0.1-maint.8.0.x/package.mo): time 1.505/1.505, allocations: 285.5 MB / 292.8 MB, free: 10.52 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.001252/0.001252, allocations: 191.1 kB / 361.1 MB, free: 7.102 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.506/1.506, allocations: 205.1 MB / 0.6195 GB, free: 10.32 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.001137/0.001137, allocations: 83.39 kB / 0.7325 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.016e-05/1.018e-05, allocations: 0 / 0.8511 GB, free: 3.008 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7481/0.7481, allocations: 115.3 MB / 0.9637 GB, free: 78.42 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.005/1.753, allocations: 416.9 MB / 1.371 GB, free: 149.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00026/1.754, allocations: 85.03 kB / 1.371 GB, free: 149.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.268/5.022, allocations: 0.936 GB / 2.307 GB, free: 12.27 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0005197/5.022, allocations: 67.98 kB / 2.307 GB, free: 12.2 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: 494 * Number of variables: 494 Notification: Performance of Generate backend data structure: time 0.01069/5.033, allocations: 2.948 MB / 2.31 GB, free: 9.191 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.652e-05/5.033, allocations: 8.531 kB / 2.31 GB, free: 9.184 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004724/5.038, allocations: 0.6283 MB / 2.311 GB, free: 8.551 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0118/5.05, allocations: 2.976 MB / 2.313 GB, free: 5.504 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000564/5.05, allocations: 222.7 kB / 2.314 GB, free: 5.262 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009184/5.051, allocations: 124 kB / 2.314 GB, free: 5.141 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005725/5.057, allocations: 1.816 MB / 2.316 GB, free: 3.324 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006687/5.064, allocations: 2.114 MB / 2.318 GB, free: 1.074 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.851e-05/5.064, allocations: 11.92 kB / 2.318 GB, free: 1.062 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005261/5.064, allocations: 4 kB / 2.318 GB, free: 1.059 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.667e-05/5.064, allocations: 63.98 kB / 2.318 GB, free: 0.9961 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.502/5.566, allocations: 11.78 MB / 2.329 GB, free: 196.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001613/5.568, allocations: 1.188 MB / 2.33 GB, free: 196.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008807/5.569, allocations: 0.6651 MB / 2.331 GB, free: 196.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008246/5.57, allocations: 1.328 MB / 2.332 GB, free: 194.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001291/5.571, allocations: 0.9577 MB / 2.333 GB, free: 194.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=107): time 3.327e-06/5.571, allocations: 0 / 2.333 GB, free: 194.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=107): time 0.002987/5.574, allocations: 1.48 MB / 2.335 GB, free: 194.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002221/5.574, allocations: 0.7762 MB / 2.335 GB, free: 193.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002686/5.577, allocations: 2.01 MB / 2.337 GB, free: 193 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001552/5.577, allocations: 31.52 kB / 2.337 GB, free: 192.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008231/5.578, allocations: 0.8904 MB / 2.338 GB, free: 192.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004131/5.578, allocations: 363.7 kB / 2.339 GB, free: 192.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.727e-05/5.579, allocations: 0 / 2.339 GB, free: 192.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001041/5.579, allocations: 359.4 kB / 2.339 GB, free: 192.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008979/5.58, allocations: 0.6221 MB / 2.34 GB, free: 192.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001219/5.581, allocations: 1.192 MB / 2.341 GB, free: 191.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00138/5.582, allocations: 0.7695 MB / 2.341 GB, free: 191.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/5.582, allocations: 1.844 kB / 2.341 GB, free: 191.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.00317/5.585, allocations: 1.838 MB / 2.343 GB, free: 191.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00103/5.586, allocations: 4.232 MB / 2.347 GB, free: 186.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.775e-05/5.586, allocations: 9.281 kB / 2.347 GB, free: 186.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.84e-05/5.587, allocations: 18.78 kB / 2.347 GB, free: 186.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001748/5.588, allocations: 399.5 kB / 2.348 GB, free: 186.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.577e-05/5.588, allocations: 23.73 kB / 2.348 GB, free: 186.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002522/5.591, allocations: 272.2 kB / 2.348 GB, free: 186.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001629/5.591, allocations: 72.16 kB / 2.348 GB, free: 186.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.396e-06/5.591, allocations: 3.562 kB / 2.348 GB, free: 186.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002606/5.594, allocations: 1.556 MB / 2.35 GB, free: 186.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/5.594, allocations: 10.62 kB / 2.35 GB, free: 186.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/5.594, allocations: 21.31 kB / 2.35 GB, free: 186.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001633/5.595, allocations: 404.2 kB / 2.35 GB, free: 186.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.769e-05/5.595, allocations: 29.17 kB / 2.35 GB, free: 186.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002165/5.598, allocations: 220.8 kB / 2.35 GB, free: 186.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001533/5.598, allocations: 69.45 kB / 2.35 GB, free: 186.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,heaPum.uMod,$PRE.uMod.T_start,uMod.T_start,$PRE.uMod.count,uMod.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 178 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004447/5.598, allocations: 152.6 kB / 2.351 GB, free: 186.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004393/5.599, allocations: 249.6 kB / 2.351 GB, free: 186.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003033/5.602, allocations: 1.721 MB / 2.352 GB, free: 186.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.668e-05/5.602, allocations: 13.84 kB / 2.352 GB, free: 186.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.876e-06/5.602, allocations: 10.59 kB / 2.353 GB, free: 186.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001812/5.604, allocations: 1.307 MB / 2.354 GB, free: 186.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007092/5.611, allocations: 5.166 MB / 2.359 GB, free: 184.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.778e-06/5.611, allocations: 6.469 kB / 2.359 GB, free: 184.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001584/5.612, allocations: 273.6 kB / 2.359 GB, free: 184.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-05/5.612, allocations: 10.97 kB / 2.359 GB, free: 184.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001164/5.612, allocations: 17.12 kB / 2.359 GB, free: 184.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.988e-06/5.612, allocations: 9.344 kB / 2.359 GB, free: 184.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/5.612, allocations: 6.5 kB / 2.359 GB, free: 184.5 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004513/5.617, allocations: 2.963 MB / 2.362 GB, free: 183.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001528/5.618, allocations: 0.5988 MB / 2.363 GB, free: 183.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005357/5.619, allocations: 6.406 kB / 2.363 GB, free: 183.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002041/5.621, allocations: 140.5 kB / 2.363 GB, free: 183.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002658/5.621, allocations: 105.5 kB / 2.363 GB, free: 183.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000156/5.622, allocations: 50.38 kB / 2.363 GB, free: 183.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.002537/5.624, allocations: 1.548 MB / 2.364 GB, free: 183.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005252/5.629, allocations: 1.509 MB / 2.366 GB, free: 183.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (heaPum.vol1.dynBal.U,heaPum.vol2.dynBal.U,heaPum1.vol1.dynBal.U,heaPum1.vol2.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,heaPum.uMod,uMod.T_start,uMod.count) * Number of discrete states: 1 (uMod.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 101 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002766/5.632, allocations: 1.239 MB / 2.367 GB, free: 182.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.005396/5.638, allocations: 2.521 MB / 2.37 GB, free: 182.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.878e-05/5.638, allocations: 4.078 kB / 2.37 GB, free: 182.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001526/5.639, allocations: 0.7523 MB / 2.37 GB, free: 182.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00692/5.646, allocations: 1.012 MB / 2.371 GB, free: 182.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008924/5.655, allocations: 3.739 MB / 2.375 GB, free: 181.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00215/5.657, allocations: 2.058 MB / 2.377 GB, free: 181 MB / 0.948 GB Notification: Performance of SimCode: time 8.02e-07/5.657, allocations: 0 / 2.377 GB, free: 181 MB / 0.948 GB Notification: Performance of Templates: time 0.1046/5.762, allocations: 61.91 MB / 2.437 GB, free: 179.1 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe 2>&1)