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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.381/1.381, allocations: 285.5 MB / 292.8 MB, free: 0.7578 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009711/0.0009712, allocations: 181.1 kB / 361.1 MB, free: 15.31 MB / 290.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.129/1.129, allocations: 205.1 MB / 0.6195 GB, free: 5.906 MB / 466.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008382/0.0008383, allocations: 95.14 kB / 0.7325 GB, free: 46.98 MB / 0.5184 GB Notification: Performance of FrontEnd - loaded program: time 0.2243/0.2252, allocations: 121.5 MB / 0.8512 GB, free: 12.72 MB / 0.5965 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5569/0.7821, allocations: 115.3 MB / 0.9637 GB, free: 85.64 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7401/1.522, allocations: 416.9 MB / 1.371 GB, free: 167.7 MB / 0.8621 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001845/1.522, allocations: 93.69 kB / 1.371 GB, free: 167.7 MB / 0.8621 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.442/3.964, allocations: 0.939 GB / 2.31 GB, free: 26.76 MB / 0.9403 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/3.964, allocations: 8.75 kB / 2.31 GB, free: 26.75 MB / 0.9403 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00306/3.967, allocations: 0.6245 MB / 2.311 GB, free: 26.12 MB / 0.9403 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005269/3.973, allocations: 2.976 MB / 2.314 GB, free: 23.08 MB / 0.9403 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001954/3.973, allocations: 230.6 kB / 2.314 GB, free: 22.83 MB / 0.9403 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002634/3.973, allocations: 120 kB / 2.314 GB, free: 22.71 MB / 0.9403 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002819/3.976, allocations: 1.816 MB / 2.316 GB, free: 20.89 MB / 0.9403 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002838/3.979, allocations: 2.124 MB / 2.318 GB, free: 18.64 MB / 0.9403 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.388e-05/3.979, allocations: 7.938 kB / 2.318 GB, free: 18.63 MB / 0.9403 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001913/3.979, allocations: 8 kB / 2.318 GB, free: 18.62 MB / 0.9403 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-05/3.979, allocations: 55.98 kB / 2.318 GB, free: 18.57 MB / 0.9403 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01347/3.993, allocations: 11.82 MB / 2.329 GB, free: 6.238 MB / 0.9403 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001417/3.994, allocations: 1.18 MB / 2.33 GB, free: 5.012 MB / 0.9403 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007608/3.995, allocations: 0.6642 MB / 2.331 GB, free: 4.348 MB / 0.9403 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006614/3.995, allocations: 1.327 MB / 2.332 GB, free: 2.727 MB / 0.9403 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001086/3.997, allocations: 0.9551 MB / 2.333 GB, free: 1.68 MB / 0.9403 GB Notification: Performance of pre-optimization done (n=107): time 2.996e-06/3.997, allocations: 0 / 2.333 GB, free: 1.68 MB / 0.9403 GB Notification: Performance of matching and sorting (n=107): time 0.002467/3.999, allocations: 1.464 MB / 2.335 GB, free: 212 kB / 0.9403 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000307/3.999, allocations: 0.7815 MB / 2.336 GB, free: 15.24 MB / 0.9559 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002745/4.002, allocations: 2.008 MB / 2.337 GB, free: 13.22 MB / 0.9559 GB Notification: Performance of collectPreVariables (initialization): time 0.0001764/4.002, allocations: 33.7 kB / 2.338 GB, free: 13.18 MB / 0.9559 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007826/4.003, allocations: 0.8954 MB / 2.338 GB, free: 12.27 MB / 0.9559 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004325/4.004, allocations: 362.7 kB / 2.339 GB, free: 11.91 MB / 0.9559 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.677e-05/4.004, allocations: 3.938 kB / 2.339 GB, free: 11.9 MB / 0.9559 GB Notification: Performance of setup shared object (initialization): time 0.0001462/4.004, allocations: 361.8 kB / 2.339 GB, free: 11.54 MB / 0.9559 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009496/4.005, allocations: 0.6209 MB / 2.34 GB, free: 10.92 MB / 0.9559 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00129/4.006, allocations: 1.193 MB / 2.341 GB, free: 9.484 MB / 0.9559 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001446/4.007, allocations: 0.7701 MB / 2.342 GB, free: 8.715 MB / 0.9559 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/4.007, allocations: 7.938 kB / 2.342 GB, free: 8.707 MB / 0.9559 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.003096/4.011, allocations: 1.839 MB / 2.343 GB, free: 6.859 MB / 0.9559 GB Notification: Performance of prepare postOptimizeDAE: time 0.001093/4.012, allocations: 4.211 MB / 2.348 GB, free: 2.27 MB / 0.9559 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/4.012, allocations: 12 kB / 2.348 GB, free: 2.258 MB / 0.9559 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.787e-05/4.012, allocations: 19.98 kB / 2.348 GB, free: 2.238 MB / 0.9559 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001706/4.013, allocations: 407.4 kB / 2.348 GB, free: 1.84 MB / 0.9559 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.363e-05/4.013, allocations: 27.84 kB / 2.348 GB, free: 1.812 MB / 0.9559 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002259/4.016, allocations: 266.2 kB / 2.348 GB, free: 1.551 MB / 0.9559 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001604/4.016, allocations: 71.97 kB / 2.348 GB, free: 1.48 MB / 0.9559 GB Notification: Performance of prepare postOptimizeDAE: time 6.792e-06/4.016, allocations: 4 kB / 2.348 GB, free: 1.477 MB / 0.9559 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.336/4.352, allocations: 1.555 MB / 2.35 GB, free: 214.2 MB / 0.9559 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.637e-05/4.352, allocations: 7.156 kB / 2.35 GB, free: 214.2 MB / 0.9559 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/4.352, allocations: 22.06 kB / 2.35 GB, free: 214.2 MB / 0.9559 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002057/4.354, allocations: 398.5 kB / 2.35 GB, free: 214.2 MB / 0.9559 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.975e-05/4.354, allocations: 28.72 kB / 2.35 GB, free: 214.2 MB / 0.9559 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002863/4.357, allocations: 228.4 kB / 2.35 GB, free: 214.2 MB / 0.9559 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002257/4.357, allocations: 68.14 kB / 2.351 GB, free: 214.2 MB / 0.9559 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.0004929/4.358, allocations: 149.7 kB / 2.351 GB, free: 214.1 MB / 0.9559 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007025/4.358, allocations: 251.6 kB / 2.351 GB, free: 214.1 MB / 0.9559 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002952/4.361, allocations: 1.724 MB / 2.353 GB, free: 214 MB / 0.9559 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.622e-05/4.361, allocations: 11.69 kB / 2.353 GB, free: 214 MB / 0.9559 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/4.361, allocations: 3.469 kB / 2.353 GB, free: 214 MB / 0.9559 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001636/4.363, allocations: 1.313 MB / 2.354 GB, free: 213.8 MB / 0.9559 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006561/4.37, allocations: 5.16 MB / 2.359 GB, free: 212.3 MB / 0.9559 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.104e-06/4.37, allocations: 3.938 kB / 2.359 GB, free: 212.3 MB / 0.9559 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001332/4.371, allocations: 280.4 kB / 2.359 GB, free: 212.3 MB / 0.9559 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-05/4.371, allocations: 7.594 kB / 2.359 GB, free: 212.3 MB / 0.9559 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.384e-05/4.371, allocations: 20.2 kB / 2.359 GB, free: 212.3 MB / 0.9559 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.346e-06/4.371, allocations: 10.84 kB / 2.359 GB, free: 212.3 MB / 0.9559 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/4.371, allocations: 6.062 kB / 2.359 GB, free: 212.3 MB / 0.9559 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003385/4.375, allocations: 2.971 MB / 2.362 GB, free: 211.4 MB / 0.9559 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004547/4.379, allocations: 4.315 MB / 2.366 GB, free: 210.1 MB / 0.9559 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001224/4.38, allocations: 0.5997 MB / 2.367 GB, free: 209.9 MB / 0.9559 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004259/4.381, allocations: 13.64 kB / 2.367 GB, free: 209.9 MB / 0.9559 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001699/4.383, allocations: 138.8 kB / 2.367 GB, free: 209.9 MB / 0.9559 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002306/4.383, allocations: 106.1 kB / 2.367 GB, free: 209.9 MB / 0.9559 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001252/4.383, allocations: 53.64 kB / 2.367 GB, free: 209.9 MB / 0.9559 GB Notification: Performance of sort global known variables: time 0.00209/4.385, allocations: 1.55 MB / 2.369 GB, free: 209.7 MB / 0.9559 GB Notification: Performance of remove unused functions: time 0.00582/4.391, allocations: 1.905 MB / 2.371 GB, free: 209.6 MB / 0.9559 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.001916/4.393, allocations: 1.228 MB / 2.372 GB, free: 209.4 MB / 0.9559 GB Notification: Performance of simCode: created initialization part: time 0.003521/4.396, allocations: 2.52 MB / 2.374 GB, free: 209.4 MB / 0.9559 GB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/4.396, allocations: 240 / 2.374 GB, free: 209.4 MB / 0.9559 GB Notification: Performance of simCode: created simulation system equations: time 0.001107/4.397, allocations: 0.7527 MB / 2.375 GB, free: 209.4 MB / 0.9559 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005323/4.403, allocations: 1.009 MB / 2.376 GB, free: 209.3 MB / 0.9559 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007214/4.41, allocations: 3.742 MB / 2.38 GB, free: 208.3 MB / 0.9559 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001896/4.412, allocations: 2.064 MB / 2.382 GB, free: 207.6 MB / 0.9559 GB Notification: Performance of SimCode: time 1.573e-06/4.412, allocations: 0 / 2.382 GB, free: 207.6 MB / 0.9559 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_ScalingFactor_fmu --startTime=0 --stopTime=5000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_ScalingFactor.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe 2>&1)