Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.062/2.062, allocations: 387.2 MB / 394.5 MB, free: 13.72 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 181.2 kB / 487 MB, free: 5.383 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 221.3 MB / 0.7819 GB, free: 1.484 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 92.62 kB / 0.9213 GB, free: 2.727 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.236e-06/8.256e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2672/0.2672, allocations: 142.3 MB / 1.205 GB, free: 26.3 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.546/4.813, allocations: 2.2 GB / 3.406 GB, free: 115.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002381/4.813, allocations: 99.94 kB / 3.406 GB, free: 115.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.255/6.068, allocations: 356 MB / 3.753 GB, free: 222.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001193/6.069, allocations: 28 kB / 3.753 GB, free: 222.4 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 147 * Number of variables: 147 Notification: Performance of Generate backend data structure: time 0.003062/6.072, allocations: 1.527 MB / 3.755 GB, free: 220.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/6.072, allocations: 9.031 kB / 3.755 GB, free: 220.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008833/6.073, allocations: 222.2 kB / 3.755 GB, free: 220.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00271/6.075, allocations: 1.638 MB / 3.757 GB, free: 218.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.959e-05/6.075, allocations: 24 kB / 3.757 GB, free: 218.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/6.075, allocations: 36 kB / 3.757 GB, free: 218.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001048/6.076, allocations: 0.7052 MB / 3.757 GB, free: 218.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009164/6.077, allocations: 0.6596 MB / 3.758 GB, free: 217.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/6.077, allocations: 4 kB / 3.758 GB, free: 217.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.793e-05/6.078, allocations: 0 / 3.758 GB, free: 217.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.57e-05/6.078, allocations: 19.94 kB / 3.758 GB, free: 217.5 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004436/6.082, allocations: 3.551 MB / 3.762 GB, free: 213.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009527/6.083, allocations: 0.7144 MB / 3.762 GB, free: 213.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003707/6.083, allocations: 326.1 kB / 3.763 GB, free: 212.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003658/6.087, allocations: 3.758 MB / 3.766 GB, free: 208.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004616/6.087, allocations: 364.4 kB / 3.767 GB, free: 208.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=54): time 2.815e-06/6.088, allocations: 0 / 3.767 GB, free: 208.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=54): time 0.03545/6.123, allocations: 6.641 MB / 3.773 GB, free: 201.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.851e-05/6.123, allocations: 81.55 kB / 3.773 GB, free: 201.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002252/6.125, allocations: 1.427 MB / 3.775 GB, free: 199.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001449/6.125, allocations: 25.7 kB / 3.775 GB, free: 199.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003/6.126, allocations: 324.4 kB / 3.775 GB, free: 199.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001828/6.126, allocations: 185.4 kB / 3.775 GB, free: 199.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.51e-05/6.126, allocations: 0 / 3.775 GB, free: 199.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001044/6.126, allocations: 329.9 kB / 3.775 GB, free: 199 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003871/6.127, allocations: 289.2 kB / 3.776 GB, free: 198.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005883/6.127, allocations: 0.584 MB / 3.776 GB, free: 198.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0669/6.194, allocations: 12.05 MB / 3.788 GB, free: 186.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.21e-05/6.194, allocations: 0 / 3.788 GB, free: 186.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.06788/6.262, allocations: 12.61 MB / 3.8 GB, free: 173.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001996/6.262, allocations: 0.9782 MB / 3.801 GB, free: 172.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/6.262, allocations: 0 / 3.801 GB, free: 172.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005301/6.263, allocations: 165.6 kB / 3.801 GB, free: 172.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005229/6.263, allocations: 131.8 kB / 3.802 GB, free: 172.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06663/6.33, allocations: 12.73 MB / 3.814 GB, free: 159.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001562/6.332, allocations: 79.45 kB / 3.814 GB, free: 159.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003101/6.332, allocations: 39.97 kB / 3.814 GB, free: 159.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/6.332, allocations: 4 kB / 3.814 GB, free: 159.2 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06754/6.399, allocations: 12.47 MB / 3.826 GB, free: 146.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/6.4, allocations: 3.938 kB / 3.826 GB, free: 146.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004801/6.4, allocations: 161.7 kB / 3.826 GB, free: 146.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005796/6.401, allocations: 135.8 kB / 3.827 GB, free: 146.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06647/6.467, allocations: 12.73 MB / 3.839 GB, free: 133.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001433/6.469, allocations: 75.59 kB / 3.839 GB, free: 133.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000234/6.469, allocations: 31.98 kB / 3.839 GB, free: 133.5 MB / 1.151 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 (72): * Single equations (assignments): 70 * 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.0003804/6.469, allocations: 124.8 kB / 3.839 GB, free: 133.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004052/6.47, allocations: 110.6 kB / 3.839 GB, free: 133.2 MB / 1.151 GB Error: Too many equations, over-determined system. The model has 69 equation(s) and 68 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0347/6.504, allocations: 6.455 MB / 3.846 GB, free: 126.8 MB / 1.151 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.