Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.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.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",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.347/1.347, allocations: 285.5 MB / 292.8 MB, free: 10.51 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.001055/0.001055, allocations: 177.3 kB / 361.1 MB, free: 7.117 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.128/1.128, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.00082/0.00082, allocations: 96 kB / 0.7326 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1951/0.196, allocations: 121.4 MB / 0.8512 GB, free: 2.898 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.483/0.679, allocations: 115.3 MB / 0.9638 GB, free: 78.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1517/0.8308, allocations: 141.5 MB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002117/0.831, allocations: 91.94 kB / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0205/0.8515, allocations: 8.209 MB / 1.11 GB, free: 6.367 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.8516, allocations: 8 kB / 1.11 GB, free: 6.359 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007189/0.8523, allocations: 167.4 kB / 1.11 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004718/0.8528, allocations: 347.9 kB / 1.111 GB, free: 5.812 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.539e-05/0.8529, allocations: 80.56 kB / 1.111 GB, free: 5.719 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.936e-05/0.8529, allocations: 11.94 kB / 1.111 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005152/0.8535, allocations: 312.4 kB / 1.111 GB, free: 5.402 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003521/0.8538, allocations: 235.1 kB / 1.111 GB, free: 5.168 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.8538, allocations: 0 / 1.111 GB, free: 5.168 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.718e-05/0.8539, allocations: 4 kB / 1.111 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.8539, allocations: 0 / 1.111 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001457/0.8553, allocations: 0.8272 MB / 1.112 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000322/0.8557, allocations: 214.8 kB / 1.112 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002434/0.8559, allocations: 171.2 kB / 1.112 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.21e-05/0.856, allocations: 4 kB / 1.112 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.856, allocations: 35.75 kB / 1.112 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 1.202e-06/0.856, allocations: 3.938 kB / 1.112 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0006516/0.8567, allocations: 353.1 kB / 1.113 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.615e-05/0.8567, allocations: 55.41 kB / 1.113 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003601/0.8571, allocations: 350 kB / 1.113 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.045e-05/0.8571, allocations: 29.64 kB / 1.113 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.242e-05/0.8572, allocations: 124.4 kB / 1.113 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.618e-05/0.8573, allocations: 55.17 kB / 1.113 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.185e-05/0.8573, allocations: 0 / 1.113 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.8574, allocations: 346.8 kB / 1.114 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002166/0.8576, allocations: 148 kB / 1.114 GB, free: 2.387 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002453/0.8579, allocations: 180.7 kB / 1.114 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002047/0.8581, allocations: 128.7 kB / 1.114 GB, free: 2.074 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.8581, allocations: 0 / 1.114 GB, free: 2.074 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006215/0.8587, allocations: 363.4 kB / 1.114 GB, free: 1.715 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.8587, allocations: 4 kB / 1.114 GB, free: 1.711 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.8588, allocations: 0 / 1.114 GB, free: 1.711 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.889e-06/0.8588, allocations: 0 / 1.114 GB, free: 1.711 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005076/0.8593, allocations: 75.88 kB / 1.114 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.8593, allocations: 7.906 kB / 1.114 GB, free: 1.629 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000339/0.8596, allocations: 51.89 kB / 1.115 GB, free: 1.578 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.401e-05/0.8597, allocations: 11.98 kB / 1.115 GB, free: 1.566 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (equFit.uMod) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * 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.0001027/0.8598, allocations: 104.9 kB / 1.115 GB, free: 1.457 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.674e-05/0.8599, allocations: 35.56 kB / 1.115 GB, free: 1.422 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.957e-05/0.8599, allocations: 36.5 kB / 1.115 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.8599, allocations: 7.906 kB / 1.115 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.86, allocations: 1.312 kB / 1.115 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.86, allocations: 7.984 kB / 1.115 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000467/0.8604, allocations: 448.9 kB / 1.115 GB, free: 0.9023 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.8604, allocations: 0 / 1.115 GB, free: 0.9023 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004469/0.8609, allocations: 79.92 kB / 1.115 GB, free: 0.8242 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.8609, allocations: 4 kB / 1.115 GB, free: 0.8203 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.921e-05/0.8609, allocations: 0 / 1.115 GB, free: 0.8203 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.861, allocations: 0 / 1.115 GB, free: 0.8203 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.861, allocations: 1.562 kB / 1.115 GB, free: 0.8203 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005905/0.8616, allocations: 466.8 kB / 1.116 GB, free: 356 kB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000707/0.8623, allocations: 0.8299 MB / 1.116 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.448e-05/0.8624, allocations: 116.6 kB / 1.117 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.856e-05/0.8624, allocations: 1.594 kB / 1.117 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003819/0.8628, allocations: 43.95 kB / 1.117 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.096e-05/0.8629, allocations: 23.95 kB / 1.117 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.974e-05/0.863, allocations: 12 kB / 1.117 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0002853/0.8633, allocations: 276.6 kB / 1.117 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008825/0.8641, allocations: 83.84 kB / 1.117 GB, free: 14.93 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (equFit.uMod) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0002926/0.8644, allocations: 227.7 kB / 1.117 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005334/0.865, allocations: 331.9 kB / 1.118 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.865, allocations: 0 / 1.118 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002684/0.8653, allocations: 175.9 kB / 1.118 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.8656, allocations: 39.42 kB / 1.118 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/0.8667, allocations: 0.4899 MB / 1.118 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006357/0.8673, allocations: 0.8372 MB / 1.119 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of SimCode: time 5.51e-07/0.8674, allocations: 0.5625 kB / 1.119 GB, free: 12.8 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible_fmu --startTime=0 --stopTime=2600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1)