Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.261/2.261, allocations: 253.1 MB / 260.4 MB, free: 7.469 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001704/0.001703, allocations: 184.5 kB / 319.6 MB, free: 3.301 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.833/1.833, allocations: 205.4 MB / 0.5704 GB, free: 15.05 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001368/0.001367, allocations: 98.59 kB / 0.6746 GB, free: 4.391 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.084e-05/1.106e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2023/0.2023, allocations: 106.2 MB / 0.888 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.439/1.642, allocations: 410.3 MB / 1.289 GB, free: 260.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000413/1.642, allocations: 82.64 kB / 1.289 GB, free: 260.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.086/5.729, allocations: 0.9106 GB / 2.199 GB, free: 49.26 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0005057/5.729, allocations: 74.25 kB / 2.199 GB, free: 49.19 MB / 0.8698 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.01121/5.74, allocations: 2.942 MB / 2.202 GB, free: 46.21 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/5.74, allocations: 8.031 kB / 2.202 GB, free: 46.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005199/5.746, allocations: 0.6245 MB / 2.203 GB, free: 45.57 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01091/5.757, allocations: 2.965 MB / 2.206 GB, free: 42.61 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004572/5.757, allocations: 226.6 kB / 2.206 GB, free: 42.36 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000744/5.758, allocations: 120 kB / 2.206 GB, free: 42.25 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006583/5.765, allocations: 1.816 MB / 2.208 GB, free: 40.43 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007265/5.772, allocations: 2.085 MB / 2.21 GB, free: 38.21 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.443e-05/5.772, allocations: 15.84 kB / 2.21 GB, free: 38.19 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003944/5.772, allocations: 4 kB / 2.21 GB, free: 38.19 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-05/5.772, allocations: 69.72 kB / 2.21 GB, free: 38.12 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02717/5.8, allocations: 11.74 MB / 2.221 GB, free: 25.97 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003067/5.803, allocations: 1.184 MB / 2.223 GB, free: 24.74 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001742/5.805, allocations: 0.6604 MB / 2.223 GB, free: 24.08 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001209/5.806, allocations: 1.327 MB / 2.225 GB, free: 22.46 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002244/5.808, allocations: 0.9188 MB / 2.225 GB, free: 21.46 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=107): time 4.378e-06/5.808, allocations: 0 / 2.225 GB, free: 21.46 MB / 0.8698 GB Notification: Performance of matching and sorting (n=107): time 0.005612/5.814, allocations: 1.472 MB / 2.227 GB, free: 19.98 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001807/5.814, allocations: 0.6729 MB / 2.228 GB, free: 19.15 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005364/5.819, allocations: 2.008 MB / 2.23 GB, free: 17.13 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005436/5.82, allocations: 29.7 kB / 2.23 GB, free: 17.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001303/5.821, allocations: 0.8954 MB / 2.23 GB, free: 16.18 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008549/5.822, allocations: 362.7 kB / 2.231 GB, free: 15.82 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001885/5.822, allocations: 0 / 2.231 GB, free: 15.82 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001327/5.823, allocations: 369.9 kB / 2.231 GB, free: 15.45 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00176/5.824, allocations: 0.6171 MB / 2.232 GB, free: 14.84 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002293/5.827, allocations: 1.189 MB / 2.233 GB, free: 13.39 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002659/5.829, allocations: 0.7652 MB / 2.234 GB, free: 12.63 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.602e-05/5.829, allocations: 4 kB / 2.234 GB, free: 12.63 MB / 0.8698 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.006642/5.836, allocations: 1.843 MB / 2.235 GB, free: 10.77 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009214/5.837, allocations: 4.215 MB / 2.24 GB, free: 6.184 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.752e-05/5.837, allocations: 12 kB / 2.24 GB, free: 6.172 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.945e-05/5.837, allocations: 20 kB / 2.24 GB, free: 6.152 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003772/5.841, allocations: 403.4 kB / 2.24 GB, free: 5.758 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-05/5.841, allocations: 27.94 kB / 2.24 GB, free: 5.73 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004937/5.846, allocations: 258.2 kB / 2.24 GB, free: 5.477 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005793/5.847, allocations: 67.97 kB / 2.24 GB, free: 5.41 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/5.847, allocations: 14.09 kB / 2.24 GB, free: 5.398 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005132/5.852, allocations: 1.555 MB / 2.242 GB, free: 3.84 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.504e-05/5.852, allocations: 12 kB / 2.242 GB, free: 3.828 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.949e-05/5.852, allocations: 20.16 kB / 2.242 GB, free: 3.809 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003654/5.856, allocations: 399.4 kB / 2.242 GB, free: 3.418 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.899e-05/5.856, allocations: 23.92 kB / 2.242 GB, free: 3.395 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004625/5.86, allocations: 226.7 kB / 2.243 GB, free: 3.172 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005758/5.861, allocations: 63.98 kB / 2.243 GB, free: 3.109 MB / 0.8698 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.0006376/5.861, allocations: 156.8 kB / 2.243 GB, free: 2.949 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009588/5.862, allocations: 249 kB / 2.243 GB, free: 2.703 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005387/5.868, allocations: 1.716 MB / 2.245 GB, free: 0.9609 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.972e-05/5.868, allocations: 15.91 kB / 2.245 GB, free: 0.9453 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/5.868, allocations: 7.938 kB / 2.245 GB, free: 0.9375 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003598/5.872, allocations: 1.311 MB / 2.246 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01544/5.887, allocations: 5.134 MB / 2.251 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.602e-05/5.887, allocations: 4 kB / 2.251 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002989/5.89, allocations: 276.2 kB / 2.251 GB, free: 10.02 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.718e-05/5.89, allocations: 8 kB / 2.251 GB, free: 10.01 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000275/5.89, allocations: 19.98 kB / 2.251 GB, free: 9.988 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.847e-05/5.891, allocations: 11.94 kB / 2.251 GB, free: 9.977 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.608e-06/5.891, allocations: 4 kB / 2.251 GB, free: 9.973 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008357/5.899, allocations: 2.959 MB / 2.254 GB, free: 6.82 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002695/5.902, allocations: 0.5873 MB / 2.255 GB, free: 6.211 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001139/5.903, allocations: 11.94 kB / 2.255 GB, free: 6.199 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004096/5.907, allocations: 147.6 kB / 2.255 GB, free: 6.055 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005651/5.908, allocations: 96.02 kB / 2.255 GB, free: 5.965 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003497/5.908, allocations: 55.86 kB / 2.255 GB, free: 5.91 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.004837/5.913, allocations: 1.548 MB / 2.257 GB, free: 4.355 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.008602/5.921, allocations: 1.492 MB / 2.258 GB, free: 2.859 MB / 0.8855 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.003645/5.925, allocations: 1.236 MB / 2.259 GB, free: 1.645 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.4055/6.331, allocations: 2.513 MB / 2.262 GB, free: 190.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-05/6.331, allocations: 4.062 kB / 2.262 GB, free: 190.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002216/6.333, allocations: 0.7522 MB / 2.262 GB, free: 190.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009804/6.343, allocations: 1.011 MB / 2.263 GB, free: 190.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01458/6.357, allocations: 3.728 MB / 2.267 GB, free: 189.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004542/6.362, allocations: 2.057 MB / 2.269 GB, free: 188.8 MB / 0.8855 GB Notification: Performance of SimCode: time 1.743e-06/6.362, allocations: 0 / 2.269 GB, free: 188.8 MB / 0.8855 GB Notification: Performance of Templates: time 0.1563/6.518, allocations: 61.22 MB / 2.329 GB, free: 187.1 MB / 0.8855 GB