Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.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: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tow.PFan|PFan_EP.y|tow.Q_flow|Q_flow_EP.y|tow.TLvg|TLvg_EP.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tow.PFan|PFan_EP.y|tow.Q_flow|Q_flow_EP.y|tow.TLvg|TLvg_EP.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus") [: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.23/1.23, allocations: 249.4 MB / 256.7 MB, free: 7.102 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009936/0.0009935, allocations: 181.2 kB / 316 MB, free: 3.602 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.071/1.071, allocations: 205.2 MB / 0.5667 GB, free: 15.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.0008324/0.0008325, allocations: 90.19 kB / 0.671 GB, free: 4.746 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.735e-06/7.765e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1639, allocations: 106.3 MB / 0.8846 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.296/4.46, allocations: 2.477 GB / 3.361 GB, free: 211.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/4.46, allocations: 95.38 kB / 3.361 GB, free: 211.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.8943/5.354, allocations: 342.7 MB / 3.696 GB, free: 200.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.064e-05/5.354, allocations: 26.66 kB / 3.696 GB, free: 200.4 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.002635/5.357, allocations: 1.51 MB / 3.698 GB, free: 199.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/5.357, allocations: 9.469 kB / 3.698 GB, free: 199.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000823/5.358, allocations: 221.5 kB / 3.698 GB, free: 199.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002735/5.361, allocations: 1.639 MB / 3.699 GB, free: 198.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.337e-05/5.361, allocations: 19.25 kB / 3.699 GB, free: 198.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/5.361, allocations: 35.75 kB / 3.7 GB, free: 198.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001109/5.362, allocations: 0.6975 MB / 3.7 GB, free: 197.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009786/5.363, allocations: 0.6448 MB / 3.701 GB, free: 197.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/5.363, allocations: 0 / 3.701 GB, free: 197.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.546e-05/5.363, allocations: 1.125 kB / 3.701 GB, free: 197.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.737e-05/5.363, allocations: 15.62 kB / 3.701 GB, free: 197.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004371/5.368, allocations: 3.524 MB / 3.704 GB, free: 194.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/5.369, allocations: 0.7121 MB / 3.705 GB, free: 194.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004189/5.369, allocations: 311.2 kB / 3.705 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00355/5.373, allocations: 3.73 MB / 3.709 GB, free: 190.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004814/5.373, allocations: 362.5 kB / 3.709 GB, free: 190.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=52): time 2.295e-06/5.373, allocations: 0 / 3.709 GB, free: 190.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=52): time 0.03769/5.411, allocations: 6.76 MB / 3.716 GB, free: 188.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/5.411, allocations: 83.42 kB / 3.716 GB, free: 188.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002072/5.413, allocations: 1.419 MB / 3.717 GB, free: 187.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001181/5.413, allocations: 32.45 kB / 3.717 GB, free: 187.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002444/5.413, allocations: 324.5 kB / 3.718 GB, free: 187 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001696/5.413, allocations: 173.7 kB / 3.718 GB, free: 186.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.253e-05/5.414, allocations: 0 / 3.718 GB, free: 186.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.441e-05/5.414, allocations: 336.7 kB / 3.718 GB, free: 186.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004398/5.414, allocations: 282.1 kB / 3.718 GB, free: 186.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007522/5.415, allocations: 0.5822 MB / 3.719 GB, free: 186.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06917/5.484, allocations: 12.05 MB / 3.731 GB, free: 179.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.435e-05/5.484, allocations: 0 / 3.731 GB, free: 179.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.06818/5.552, allocations: 12.61 MB / 3.743 GB, free: 166.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002241/5.553, allocations: 0.9739 MB / 3.744 GB, free: 165.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/5.553, allocations: 0 / 3.744 GB, free: 165.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005467/5.553, allocations: 165.1 kB / 3.744 GB, free: 165.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004945/5.554, allocations: 123.9 kB / 3.744 GB, free: 165.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06619/5.62, allocations: 12.72 MB / 3.757 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001383/5.621, allocations: 75.55 kB / 3.757 GB, free: 152.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002148/5.621, allocations: 35.98 kB / 3.757 GB, free: 152.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/5.621, allocations: 11.84 kB / 3.757 GB, free: 152.4 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06614/5.688, allocations: 12.47 MB / 3.769 GB, free: 139.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/5.688, allocations: 4.312 kB / 3.769 GB, free: 139.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000432/5.688, allocations: 168.3 kB / 3.769 GB, free: 139.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004656/5.689, allocations: 130.8 kB / 3.769 GB, free: 139.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06354/5.752, allocations: 12.73 MB / 3.782 GB, free: 126.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001347/5.754, allocations: 71.61 kB / 3.782 GB, free: 126.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.457e-05/5.754, allocations: 35.92 kB / 3.782 GB, free: 126.7 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (70): * Single equations (assignments): 68 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002397/5.754, allocations: 128.4 kB / 3.782 GB, free: 126.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000212/5.754, allocations: 110.6 kB / 3.782 GB, free: 126.5 MB / 0.8698 GB Error: Too many equations, over-determined system. The model has 67 equation(s) and 66 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03329/5.787, allocations: 6.436 MB / 3.788 GB, free: 120 MB / 0.8698 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.