Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_ScalingFactor",fmuType="me",version="2.0",platforms={"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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.191/1.191, allocations: 249.4 MB / 256.7 MB, free: 15.83 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009407/0.0009408, allocations: 177 kB / 316 MB, free: 7.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.297/1.297, allocations: 205.1 MB / 0.5667 GB, free: 23.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00088/0.00088, allocations: 90.12 kB / 0.671 GB, free: 0.918 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.2102/0.2111, allocations: 112.5 MB / 0.7808 GB, free: 352 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3919/0.6031, allocations: 106.3 MB / 0.8846 GB, free: 76.29 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6568/1.26, allocations: 409.4 MB / 1.284 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000225/1.26, allocations: 82.16 kB / 1.285 GB, free: 12.77 MB / 0.8073 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 2.753/4.013, allocations: 0.9135 GB / 2.198 GB, free: 114 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/4.013, allocations: 12.75 kB / 2.198 GB, free: 114 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002869/4.016, allocations: 0.6258 MB / 2.199 GB, free: 113.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005882/4.022, allocations: 2.962 MB / 2.202 GB, free: 113.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002275/4.022, allocations: 222.1 kB / 2.202 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003186/4.023, allocations: 121.5 kB / 2.202 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003092/4.026, allocations: 1.823 MB / 2.204 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002949/4.029, allocations: 2.093 MB / 2.206 GB, free: 112.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.501e-05/4.029, allocations: 5.562 kB / 2.206 GB, free: 112.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001774/4.029, allocations: 6.969 kB / 2.206 GB, free: 112.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.274e-05/4.029, allocations: 65.33 kB / 2.206 GB, free: 112.7 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01308/4.042, allocations: 11.75 MB / 2.217 GB, free: 106.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001339/4.044, allocations: 1.182 MB / 2.218 GB, free: 106 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007574/4.044, allocations: 0.6653 MB / 2.219 GB, free: 105.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006613/4.045, allocations: 1.33 MB / 2.22 GB, free: 104.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001024/4.046, allocations: 0.9116 MB / 2.221 GB, free: 103.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=107): time 3.276e-06/4.046, allocations: 0 / 2.221 GB, free: 103.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=107): time 0.002478/4.049, allocations: 1.465 MB / 2.223 GB, free: 103.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001228/4.049, allocations: 0.6824 MB / 2.223 GB, free: 102.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002584/4.051, allocations: 2.006 MB / 2.225 GB, free: 101.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002508/4.052, allocations: 28.73 kB / 2.225 GB, free: 101.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007531/4.052, allocations: 0.8985 MB / 2.226 GB, free: 100.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004346/4.053, allocations: 359 kB / 2.227 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.838e-05/4.053, allocations: 3.062 kB / 2.227 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.718e-05/4.053, allocations: 364.1 kB / 2.227 GB, free: 100.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008782/4.054, allocations: 0.6237 MB / 2.228 GB, free: 99.93 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001068/4.055, allocations: 1.186 MB / 2.229 GB, free: 98.95 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00138/4.056, allocations: 0.7702 MB / 2.229 GB, free: 98.65 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/4.056, allocations: 0 / 2.229 GB, free: 98.65 MB / 0.8698 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.003237/4.06, allocations: 1.845 MB / 2.231 GB, free: 97.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000597/4.06, allocations: 4.211 MB / 2.235 GB, free: 93.38 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/4.06, allocations: 9 kB / 2.235 GB, free: 93.38 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.791e-05/4.06, allocations: 22 kB / 2.235 GB, free: 93.38 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001659/4.062, allocations: 417.4 kB / 2.236 GB, free: 93.34 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.658e-05/4.062, allocations: 24.58 kB / 2.236 GB, free: 93.33 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002614/4.064, allocations: 257.5 kB / 2.236 GB, free: 93.25 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001583/4.065, allocations: 71.28 kB / 2.236 GB, free: 93.24 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.217e-06/4.065, allocations: 3.812 kB / 2.236 GB, free: 93.24 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002618/4.067, allocations: 1.558 MB / 2.238 GB, free: 92.65 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/4.067, allocations: 7.906 kB / 2.238 GB, free: 92.65 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/4.067, allocations: 17.72 kB / 2.238 GB, free: 92.65 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001617/4.069, allocations: 404.9 kB / 2.238 GB, free: 92.62 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/4.069, allocations: 22.62 kB / 2.238 GB, free: 92.61 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002414/4.071, allocations: 221.6 kB / 2.238 GB, free: 92.56 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001365/4.072, allocations: 67.98 kB / 2.238 GB, free: 92.55 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.0003605/4.072, allocations: 165.7 kB / 2.239 GB, free: 92.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003732/4.072, allocations: 253.1 kB / 2.239 GB, free: 92.27 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002686/4.075, allocations: 1.714 MB / 2.24 GB, free: 91.59 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.47e-05/4.075, allocations: 14.41 kB / 2.24 GB, free: 91.59 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/4.075, allocations: 3.781 kB / 2.24 GB, free: 91.59 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001612/4.077, allocations: 1.311 MB / 2.242 GB, free: 90.91 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006808/4.083, allocations: 5.142 MB / 2.247 GB, free: 87.92 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/4.084, allocations: 7.344 kB / 2.247 GB, free: 87.92 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001379/4.085, allocations: 273.9 kB / 2.247 GB, free: 87.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.979e-05/4.085, allocations: 8.062 kB / 2.247 GB, free: 87.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001106/4.085, allocations: 19.81 kB / 2.247 GB, free: 87.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-05/4.085, allocations: 16 kB / 2.247 GB, free: 87.89 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.982e-06/4.085, allocations: 10.94 kB / 2.247 GB, free: 87.89 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003722/4.089, allocations: 2.949 MB / 2.25 GB, free: 86.07 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005242/4.094, allocations: 4.324 MB / 2.254 GB, free: 83.37 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001552/4.096, allocations: 0.5806 MB / 2.255 GB, free: 82.98 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008607/4.096, allocations: 13.19 kB / 2.255 GB, free: 82.98 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00222/4.099, allocations: 139.7 kB / 2.255 GB, free: 82.97 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002554/4.099, allocations: 104.2 kB / 2.255 GB, free: 82.94 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001635/4.099, allocations: 49.27 kB / 2.255 GB, free: 82.93 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.003589/4.103, allocations: 1.553 MB / 2.257 GB, free: 82.26 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.008744/4.112, allocations: 1.89 MB / 2.258 GB, free: 81.54 MB / 0.8698 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.002634/4.114, allocations: 1.233 MB / 2.26 GB, free: 81.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.004236/4.118, allocations: 2.527 MB / 2.262 GB, free: 80.15 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.819e-06/4.118, allocations: 2.438 kB / 2.262 GB, free: 80.15 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001261/4.12, allocations: 0.7505 MB / 2.263 GB, free: 79.61 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005807/4.126, allocations: 1.003 MB / 2.264 GB, free: 78.91 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009069/4.135, allocations: 3.749 MB / 2.267 GB, free: 75.58 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002789/4.137, allocations: 2.055 MB / 2.269 GB, free: 73.98 MB / 0.8698 GB Notification: Performance of SimCode: time 1.082e-06/4.137, allocations: 3.938 kB / 2.269 GB, free: 73.97 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_ScalingFactor_fmu --startTime=0 --stopTime=5000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_ScalingFactor.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe 2>&1)