Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.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_EnergyPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus") translateModel(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.494/1.494, allocations: 289.8 MB / 297.1 MB, free: 6.621 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.001112/0.001112, allocations: 177.3 kB / 366.3 MB, free: 1.949 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.252/1.252, allocations: 205.1 MB / 0.6256 GB, free: 5.836 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.0009192/0.0009192, allocations: 92.64 kB / 0.7396 GB, free: 39.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.536e-06/8.556e-06, allocations: 0 / 0.859 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6094/0.6094, allocations: 116.3 MB / 0.9726 GB, free: 68.38 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9538/1.563, allocations: 419 MB / 1.382 GB, free: 66.09 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002673/1.564, allocations: 92.7 kB / 1.382 GB, free: 66.05 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.274/3.838, allocations: 0.6173 GB / 1.999 GB, free: 206 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001318/3.838, allocations: 34.44 kB / 1.999 GB, free: 206 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.003781/3.842, allocations: 1.758 MB / 2.001 GB, free: 205.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/3.842, allocations: 8.938 kB / 2.001 GB, free: 205.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002384/3.844, allocations: 0.5358 MB / 2.001 GB, free: 205.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003203/3.848, allocations: 1.517 MB / 2.003 GB, free: 204.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007236/3.848, allocations: 257.2 kB / 2.003 GB, free: 204.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/3.848, allocations: 54.5 kB / 2.003 GB, free: 204.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001687/3.85, allocations: 0.9946 MB / 2.004 GB, free: 204.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001513/3.852, allocations: 0.9824 MB / 2.005 GB, free: 204.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.727e-05/3.852, allocations: 4.688 kB / 2.005 GB, free: 204.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-05/3.852, allocations: 7.344 kB / 2.005 GB, free: 204.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.744e-05/3.852, allocations: 23.94 kB / 2.005 GB, free: 204.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007922/3.86, allocations: 4.672 MB / 2.01 GB, free: 202.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/3.861, allocations: 0.7618 MB / 2.01 GB, free: 202.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004456/3.861, allocations: 365.6 kB / 2.011 GB, free: 202.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006661/3.862, allocations: 1.157 MB / 2.012 GB, free: 201.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006309/3.863, allocations: 452.3 kB / 2.012 GB, free: 201.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=58): time 4.428e-06/3.863, allocations: 0 / 2.012 GB, free: 201.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=58): time 0.001789/3.864, allocations: 0.8443 MB / 2.013 GB, free: 201.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/3.865, allocations: 91.7 kB / 2.013 GB, free: 201.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001526/3.866, allocations: 1.202 MB / 2.014 GB, free: 201.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.026e-05/3.866, allocations: 25.7 kB / 2.014 GB, free: 201.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003243/3.866, allocations: 430.9 kB / 2.015 GB, free: 200.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002195/3.867, allocations: 192.1 kB / 2.015 GB, free: 200.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.139e-05/3.867, allocations: 0 / 2.015 GB, free: 200.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.292e-05/3.867, allocations: 340.1 kB / 2.015 GB, free: 200.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004759/3.867, allocations: 350.8 kB / 2.016 GB, free: 200.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006478/3.868, allocations: 0.5351 MB / 2.016 GB, free: 200.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009258/3.869, allocations: 445.1 kB / 2.017 GB, free: 200.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/3.869, allocations: 0 / 2.017 GB, free: 200.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001825/3.871, allocations: 1.01 MB / 2.018 GB, free: 200.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002276/3.871, allocations: 0.8991 MB / 2.019 GB, free: 199.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/3.871, allocations: 0 / 2.019 GB, free: 199.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.557e-05/3.871, allocations: 9.844 kB / 2.019 GB, free: 199.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/3.872, allocations: 228 kB / 2.019 GB, free: 199.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/3.872, allocations: 3.844 kB / 2.019 GB, free: 199.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001542/3.874, allocations: 215.3 kB / 2.019 GB, free: 199.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/3.874, allocations: 41.31 kB / 2.019 GB, free: 199.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.215e-06/3.874, allocations: 3.938 kB / 2.019 GB, free: 199.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001547/3.875, allocations: 0.8493 MB / 2.02 GB, free: 199.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/3.875, allocations: 0 / 2.02 GB, free: 199.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.887e-06/3.875, allocations: 10.03 kB / 2.02 GB, free: 199.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/3.877, allocations: 226.8 kB / 2.02 GB, free: 199.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/3.877, allocations: 3.688 kB / 2.02 GB, free: 199.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001375/3.878, allocations: 183.4 kB / 2.02 GB, free: 199.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.823e-05/3.878, allocations: 30.67 kB / 2.02 GB, free: 199.2 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.0002489/3.878, allocations: 123 kB / 2.02 GB, free: 199.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002174/3.878, allocations: 136.4 kB / 2.021 GB, free: 199 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002163/3.881, allocations: 1.127 MB / 2.022 GB, free: 198.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/3.881, allocations: 3.969 kB / 2.022 GB, free: 198.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/3.881, allocations: 3.844 kB / 2.022 GB, free: 198.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/3.881, allocations: 3.609 kB / 2.022 GB, free: 198.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00388/3.885, allocations: 2.518 MB / 2.024 GB, free: 198.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/3.885, allocations: 0 / 2.024 GB, free: 198.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007769/3.885, allocations: 162.9 kB / 2.024 GB, free: 198.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.044e-05/3.885, allocations: 7.062 kB / 2.024 GB, free: 198.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.057e-05/3.885, allocations: 17.91 kB / 2.024 GB, free: 198.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.514e-06/3.886, allocations: 11.16 kB / 2.024 GB, free: 198.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/3.886, allocations: 0 / 2.024 GB, free: 198.5 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001683/3.887, allocations: 1.283 MB / 2.026 GB, free: 198 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006667/3.888, allocations: 389.9 kB / 2.026 GB, free: 197.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002168/3.888, allocations: 6.375 kB / 2.026 GB, free: 197.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001097/3.889, allocations: 126 kB / 2.026 GB, free: 197.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/3.889, allocations: 59.14 kB / 2.026 GB, free: 197.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.229e-05/3.889, allocations: 33.58 kB / 2.026 GB, free: 197.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001236/3.891, allocations: 0.912 MB / 2.027 GB, free: 197.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00216/3.893, allocations: 0.766 MB / 2.028 GB, free: 197.6 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.001809/3.895, allocations: 1.007 MB / 2.029 GB, free: 197.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002078/3.897, allocations: 1.353 MB / 2.03 GB, free: 197.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/3.897, allocations: 0 / 2.03 GB, free: 197.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005856/3.897, allocations: 466 kB / 2.031 GB, free: 197.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002528/3.9, allocations: 466.2 kB / 2.031 GB, free: 197.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004387/3.904, allocations: 1.923 MB / 2.033 GB, free: 196.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00122/3.906, allocations: 1.414 MB / 2.034 GB, free: 196 MB / 0.948 GB Notification: Performance of SimCode: time 1.473e-06/3.906, allocations: 0 / 2.034 GB, free: 196 MB / 0.948 GB Notification: Performance of Templates: time 0.05542/3.961, allocations: 33.25 MB / 2.067 GB, free: 195 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe 2>&1)