Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.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: translateModel(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus") translateModel(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus") [: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.477/1.477, allocations: 285.5 MB / 292.8 MB, free: 10.38 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.001119/0.001119, allocations: 185.2 kB / 361.1 MB, free: 7.086 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.521/1.521, allocations: 205.1 MB / 0.6195 GB, free: 10.37 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.000972/0.0009721, allocations: 97.39 kB / 0.7326 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.687e-06/8.727e-06, allocations: 4 kB / 0.8511 GB, free: 2.98 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7105/0.7106, allocations: 115.3 MB / 0.9637 GB, free: 78.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.016/1.727, allocations: 417.8 MB / 1.372 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002549/1.727, allocations: 86.27 kB / 1.372 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.428/4.155, allocations: 0.6174 GB / 1.989 GB, free: 188 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001349/4.156, allocations: 43.38 kB / 1.989 GB, free: 188 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.003469/4.159, allocations: 1.756 MB / 1.991 GB, free: 187.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/4.159, allocations: 10.62 kB / 1.991 GB, free: 187.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002161/4.161, allocations: 0.5345 MB / 1.991 GB, free: 187.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002768/4.164, allocations: 1.51 MB / 1.993 GB, free: 187.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007056/4.165, allocations: 258.2 kB / 1.993 GB, free: 187 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/4.165, allocations: 55.5 kB / 1.993 GB, free: 187 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0016/4.167, allocations: 1.002 MB / 1.994 GB, free: 187 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001478/4.168, allocations: 0.9819 MB / 1.995 GB, free: 186.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.308e-05/4.168, allocations: 0 / 1.995 GB, free: 186.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.142e-05/4.168, allocations: 3.938 kB / 1.995 GB, free: 186.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.692e-05/4.168, allocations: 18.53 kB / 1.995 GB, free: 186.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007092/4.175, allocations: 4.665 MB / 2 GB, free: 185.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/4.176, allocations: 0.7682 MB / 2 GB, free: 185.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004451/4.177, allocations: 372.5 kB / 2.001 GB, free: 185.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006596/4.177, allocations: 1.154 MB / 2.002 GB, free: 183.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005901/4.178, allocations: 449.5 kB / 2.002 GB, free: 183.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=58): time 3.015e-06/4.178, allocations: 6.484 kB / 2.002 GB, free: 183.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=58): time 0.001638/4.18, allocations: 0.8465 MB / 2.003 GB, free: 183.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/4.18, allocations: 84.91 kB / 2.003 GB, free: 183.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001577/4.181, allocations: 1.2 MB / 2.004 GB, free: 183.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.246e-05/4.181, allocations: 28.27 kB / 2.004 GB, free: 183.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003134/4.182, allocations: 435.9 kB / 2.005 GB, free: 183.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000203/4.182, allocations: 190.7 kB / 2.005 GB, free: 183 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.085e-05/4.182, allocations: 0 / 2.005 GB, free: 183 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.157e-05/4.182, allocations: 338 kB / 2.005 GB, free: 182.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004796/4.183, allocations: 351.5 kB / 2.006 GB, free: 182.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005932/4.183, allocations: 0.5334 MB / 2.006 GB, free: 182.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008849/4.184, allocations: 445.7 kB / 2.007 GB, free: 182.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/4.184, allocations: 0 / 2.007 GB, free: 182.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00168/4.186, allocations: 1.007 MB / 2.008 GB, free: 182.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002099/4.186, allocations: 0.897 MB / 2.009 GB, free: 181.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/4.186, allocations: 0 / 2.009 GB, free: 181.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/4.186, allocations: 10.38 kB / 2.009 GB, free: 181.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/4.187, allocations: 233.8 kB / 2.009 GB, free: 181.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/4.187, allocations: 3.969 kB / 2.009 GB, free: 181.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001476/4.189, allocations: 216.7 kB / 2.009 GB, free: 181.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/4.189, allocations: 34.94 kB / 2.009 GB, free: 181.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.873e-06/4.189, allocations: 5.562 kB / 2.009 GB, free: 181.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001547/4.19, allocations: 0.8464 MB / 2.01 GB, free: 181.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/4.19, allocations: 2.938 kB / 2.01 GB, free: 181.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.813e-06/4.19, allocations: 3.969 kB / 2.01 GB, free: 181.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/4.191, allocations: 224.5 kB / 2.01 GB, free: 181.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/4.191, allocations: 10.5 kB / 2.01 GB, free: 181.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001254/4.193, allocations: 183.5 kB / 2.01 GB, free: 181.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.021e-05/4.193, allocations: 34.55 kB / 2.01 GB, free: 181.4 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.datRea.nextTimeEvent,datRea.nextTimeEvent,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * 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.0002278/4.193, allocations: 126.2 kB / 2.01 GB, free: 181.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002046/4.193, allocations: 140.2 kB / 2.011 GB, free: 181.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002074/4.195, allocations: 1.116 MB / 2.012 GB, free: 181.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.509e-05/4.195, allocations: 18.34 kB / 2.012 GB, free: 181.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/4.195, allocations: 0 / 2.012 GB, free: 181.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.308e-06/4.195, allocations: 2.953 kB / 2.012 GB, free: 181.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003736/4.199, allocations: 2.514 MB / 2.014 GB, free: 180.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/4.199, allocations: 0 / 2.014 GB, free: 180.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007846/4.2, allocations: 163.2 kB / 2.014 GB, free: 180.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.626e-06/4.2, allocations: 7.062 kB / 2.014 GB, free: 180.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.175e-05/4.2, allocations: 23.88 kB / 2.014 GB, free: 180.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/4.2, allocations: 6.594 kB / 2.014 GB, free: 180.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/4.2, allocations: 7.188 kB / 2.014 GB, free: 180.8 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001642/4.202, allocations: 1.279 MB / 2.016 GB, free: 180.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005609/4.202, allocations: 387.4 kB / 2.016 GB, free: 180.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002203/4.202, allocations: 7.031 kB / 2.016 GB, free: 180.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/4.204, allocations: 119.3 kB / 2.016 GB, free: 180.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/4.204, allocations: 58.58 kB / 2.016 GB, free: 180.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.107e-05/4.204, allocations: 37.64 kB / 2.016 GB, free: 180.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001152/4.205, allocations: 0.9149 MB / 2.017 GB, free: 180 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002141/4.207, allocations: 0.7612 MB / 2.018 GB, free: 179.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of discrete states: 2 (datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.001797/4.209, allocations: 1.029 MB / 2.019 GB, free: 179.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001992/4.211, allocations: 1.358 MB / 2.02 GB, free: 179.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/4.211, allocations: 1.219 kB / 2.02 GB, free: 179.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005831/4.211, allocations: 452.6 kB / 2.021 GB, free: 179.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002235/4.214, allocations: 470.6 kB / 2.021 GB, free: 179.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003967/4.218, allocations: 1.922 MB / 2.023 GB, free: 179.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001138/4.219, allocations: 1.415 MB / 2.024 GB, free: 178.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.533e-06/4.219, allocations: 0 / 2.024 GB, free: 178.4 MB / 0.948 GB Notification: Performance of Templates: time 0.05452/4.273, allocations: 33.38 MB / 2.057 GB, free: 177.8 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe 2>&1)