Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.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.EquationFitReversible_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.526/1.526, allocations: 289.8 MB / 297.1 MB, free: 6.594 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.001033/0.001033, allocations: 173.3 kB / 366.3 MB, free: 1.938 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.213/1.213, allocations: 205.1 MB / 0.6256 GB, free: 5.793 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.0009223/0.0009223, allocations: 83.33 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.163e-06/7.183e-06, allocations: 4 kB / 0.859 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5804/0.5804, allocations: 116.3 MB / 0.9725 GB, free: 68.27 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8594/1.44, allocations: 418.1 MB / 1.381 GB, free: 66.77 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002622/1.44, allocations: 87.08 kB / 1.381 GB, free: 66.72 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.461/4.901, allocations: 0.936 GB / 2.317 GB, free: 127.1 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0002924/4.901, allocations: 76.2 kB / 2.317 GB, free: 127.1 MB / 0.9636 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.008266/4.909, allocations: 2.946 MB / 2.32 GB, free: 126.2 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/4.909, allocations: 11.66 kB / 2.32 GB, free: 126.2 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003224/4.913, allocations: 0.627 MB / 2.321 GB, free: 126.1 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006979/4.92, allocations: 2.969 MB / 2.323 GB, free: 125.6 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002551/4.92, allocations: 223.6 kB / 2.324 GB, free: 125.5 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003481/4.92, allocations: 121.1 kB / 2.324 GB, free: 125.5 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003404/4.924, allocations: 1.818 MB / 2.326 GB, free: 125.5 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00335/4.927, allocations: 2.112 MB / 2.328 GB, free: 125.1 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.82e-05/4.927, allocations: 12.75 kB / 2.328 GB, free: 125.1 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001948/4.927, allocations: 7 kB / 2.328 GB, free: 125.1 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.365e-05/4.928, allocations: 60.81 kB / 2.328 GB, free: 125.1 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0168/4.944, allocations: 11.78 MB / 2.339 GB, free: 119.4 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00174/4.946, allocations: 1.19 MB / 2.34 GB, free: 119.2 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009371/4.947, allocations: 0.6598 MB / 2.341 GB, free: 119.2 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009158/4.948, allocations: 1.334 MB / 2.342 GB, free: 117.7 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001254/4.949, allocations: 0.9546 MB / 2.343 GB, free: 117.4 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=107): time 4.639e-06/4.949, allocations: 0 / 2.343 GB, free: 117.4 MB / 0.9636 GB Notification: Performance of matching and sorting (n=107): time 0.002988/4.952, allocations: 1.475 MB / 2.345 GB, free: 117.3 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002228/4.953, allocations: 0.7833 MB / 2.345 GB, free: 116.3 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002743/4.955, allocations: 2.005 MB / 2.347 GB, free: 116.1 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001932/4.955, allocations: 29.67 kB / 2.347 GB, free: 116.1 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008017/4.956, allocations: 0.8927 MB / 2.348 GB, free: 115.6 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004388/4.957, allocations: 358.7 kB / 2.349 GB, free: 115.4 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.474e-05/4.957, allocations: 0 / 2.349 GB, free: 115.4 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001179/4.957, allocations: 367.4 kB / 2.349 GB, free: 115.1 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000875/4.958, allocations: 0.6228 MB / 2.35 GB, free: 115.1 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001226/4.959, allocations: 1.199 MB / 2.351 GB, free: 114.5 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001385/4.96, allocations: 0.7649 MB / 2.351 GB, free: 114.4 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.565e-06/4.96, allocations: 3.75 kB / 2.351 GB, free: 114.4 MB / 0.9636 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.003275/4.964, allocations: 1.839 MB / 2.353 GB, free: 114.2 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009257/4.965, allocations: 4.224 MB / 2.357 GB, free: 109.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.682e-05/4.965, allocations: 10.62 kB / 2.357 GB, free: 109.8 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.487e-05/4.965, allocations: 17.94 kB / 2.357 GB, free: 109.8 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001744/4.967, allocations: 401.3 kB / 2.358 GB, free: 109.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.061e-05/4.967, allocations: 25.73 kB / 2.358 GB, free: 109.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002644/4.969, allocations: 261 kB / 2.358 GB, free: 109.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001713/4.969, allocations: 73.72 kB / 2.358 GB, free: 109.7 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 9.809e-06/4.969, allocations: 5.438 kB / 2.358 GB, free: 109.7 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002679/4.972, allocations: 1.561 MB / 2.36 GB, free: 109.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/4.972, allocations: 15.72 kB / 2.36 GB, free: 109.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/4.972, allocations: 19.47 kB / 2.36 GB, free: 109.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001588/4.974, allocations: 400.4 kB / 2.36 GB, free: 109.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.515e-05/4.974, allocations: 20.69 kB / 2.36 GB, free: 109.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002385/4.976, allocations: 226.6 kB / 2.36 GB, free: 109.6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000161/4.976, allocations: 71.33 kB / 2.36 GB, free: 109.6 MB / 0.9636 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.0004322/4.977, allocations: 144.8 kB / 2.361 GB, free: 109.5 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004473/4.977, allocations: 252.5 kB / 2.361 GB, free: 109.4 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003022/4.98, allocations: 1.725 MB / 2.362 GB, free: 109.3 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.55e-05/4.98, allocations: 16.88 kB / 2.362 GB, free: 109.3 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/4.98, allocations: 6.594 kB / 2.363 GB, free: 109.3 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001741/4.982, allocations: 1.308 MB / 2.364 GB, free: 109 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006788/4.989, allocations: 5.168 MB / 2.369 GB, free: 107.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.754e-06/4.989, allocations: 3.188 kB / 2.369 GB, free: 107.4 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001364/4.99, allocations: 271.5 kB / 2.369 GB, free: 107.4 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-05/4.99, allocations: 16.98 kB / 2.369 GB, free: 107.4 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001043/4.99, allocations: 21.48 kB / 2.369 GB, free: 107.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-05/4.99, allocations: 9.312 kB / 2.369 GB, free: 107.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.183e-06/4.99, allocations: 5.094 kB / 2.369 GB, free: 107.4 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003593/4.994, allocations: 2.962 MB / 2.372 GB, free: 106.5 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001171/4.995, allocations: 0.5931 MB / 2.373 GB, free: 106.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003975/4.996, allocations: 15.16 kB / 2.373 GB, free: 106.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001662/4.997, allocations: 141.4 kB / 2.373 GB, free: 106.2 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002204/4.997, allocations: 100.3 kB / 2.373 GB, free: 106.2 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001247/4.998, allocations: 55.36 kB / 2.373 GB, free: 106.2 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.002228/5, allocations: 1.549 MB / 2.374 GB, free: 106.1 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.004383/5.004, allocations: 1.508 MB / 2.376 GB, free: 105.8 MB / 0.9636 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.002039/5.006, allocations: 1.203 MB / 2.377 GB, free: 105.5 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.003766/5.01, allocations: 2.52 MB / 2.38 GB, free: 105.4 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/5.01, allocations: 3.891 kB / 2.38 GB, free: 105.4 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001057/5.011, allocations: 0.7514 MB / 2.38 GB, free: 105.4 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00463/5.016, allocations: 1.013 MB / 2.381 GB, free: 105.4 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007369/5.023, allocations: 3.74 MB / 2.385 GB, free: 104.4 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001932/5.025, allocations: 2.061 MB / 2.387 GB, free: 103.7 MB / 0.9636 GB Notification: Performance of SimCode: time 8.82e-07/5.025, allocations: 0 / 2.387 GB, free: 103.7 MB / 0.9636 GB Notification: Performance of Templates: time 0.09247/5.118, allocations: 61.77 MB / 2.447 GB, free: 101.5 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe 2>&1)