Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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 10.0.0-master/package.mo): time 1.945/1.945, allocations: 390.4 MB / 397.7 MB, free: 10.73 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 182.3 kB / 490.8 MB, free: 13.28 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.43/1.43, allocations: 221.4 MB / 0.7863 GB, free: 2.691 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009824/0.0009824, allocations: 94.92 kB / 0.9264 GB, free: 39.98 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 6.182e-06/6.342e-06, allocations: 0 / 1.072 GB, free: 3.18 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7424/0.7424, allocations: 143 MB / 1.212 GB, free: 63.54 MB / 0.7761 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.485/5.228, allocations: 2.201 GB / 3.413 GB, free: 303.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002169/5.228, allocations: 97.81 kB / 3.413 GB, free: 303.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.183/6.411, allocations: 356 MB / 3.761 GB, free: 302 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001085/6.411, allocations: 28.53 kB / 3.761 GB, free: 302 MB / 1.167 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.003147/6.414, allocations: 1.526 MB / 3.762 GB, free: 301.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/6.414, allocations: 8.406 kB / 3.762 GB, free: 301.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009048/6.415, allocations: 230.2 kB / 3.762 GB, free: 301.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002707/6.418, allocations: 1.639 MB / 3.764 GB, free: 301 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.034e-05/6.418, allocations: 19.34 kB / 3.764 GB, free: 301 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.947e-05/6.418, allocations: 40.47 kB / 3.764 GB, free: 301 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0011/6.419, allocations: 0.7014 MB / 3.765 GB, free: 301 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009687/6.42, allocations: 0.6554 MB / 3.765 GB, free: 300.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/6.42, allocations: 2.906 kB / 3.765 GB, free: 300.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.696e-05/6.42, allocations: 0 / 3.765 GB, free: 300.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.714e-05/6.42, allocations: 18.95 kB / 3.765 GB, free: 300.9 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0045/6.425, allocations: 3.549 MB / 3.769 GB, free: 299.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/6.426, allocations: 0.7248 MB / 3.769 GB, free: 299.8 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004062/6.426, allocations: 324.8 kB / 3.77 GB, free: 299.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00406/6.43, allocations: 3.748 MB / 3.773 GB, free: 297 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005274/6.431, allocations: 371.2 kB / 3.774 GB, free: 296.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=54): time 2.564e-06/6.431, allocations: 0 / 3.774 GB, free: 296.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=54): time 0.03631/6.467, allocations: 6.633 MB / 3.78 GB, free: 296.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/6.467, allocations: 85.36 kB / 3.78 GB, free: 296.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001972/6.469, allocations: 1.428 MB / 3.782 GB, free: 296.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.000128/6.469, allocations: 29.52 kB / 3.782 GB, free: 296.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002641/6.47, allocations: 319 kB / 3.782 GB, free: 296.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001742/6.47, allocations: 179.5 kB / 3.782 GB, free: 296.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.313e-05/6.47, allocations: 3.062 kB / 3.782 GB, free: 296.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.243e-05/6.47, allocations: 329.9 kB / 3.783 GB, free: 296 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003794/6.47, allocations: 281.4 kB / 3.783 GB, free: 296 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005803/6.471, allocations: 0.5917 MB / 3.783 GB, free: 295.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06931/6.54, allocations: 12.05 MB / 3.795 GB, free: 295.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.428e-05/6.54, allocations: 0 / 3.795 GB, free: 295.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.07142/6.612, allocations: 12.62 MB / 3.807 GB, free: 294.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003015/6.612, allocations: 0.9721 MB / 3.808 GB, free: 293.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/6.612, allocations: 6.703 kB / 3.808 GB, free: 293.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006124/6.613, allocations: 155.8 kB / 3.809 GB, free: 293.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005579/6.613, allocations: 140.8 kB / 3.809 GB, free: 293.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06855/6.682, allocations: 12.72 MB / 3.821 GB, free: 291.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001394/6.683, allocations: 73.83 kB / 3.821 GB, free: 291.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/6.683, allocations: 34.39 kB / 3.821 GB, free: 291.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/6.683, allocations: 7.875 kB / 3.821 GB, free: 291.6 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06979/6.753, allocations: 12.48 MB / 3.833 GB, free: 290.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/6.753, allocations: 3.719 kB / 3.833 GB, free: 290.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004811/6.754, allocations: 169.5 kB / 3.834 GB, free: 290.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005247/6.754, allocations: 134.1 kB / 3.834 GB, free: 290.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07143/6.826, allocations: 12.72 MB / 3.846 GB, free: 288.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001367/6.827, allocations: 74.88 kB / 3.846 GB, free: 288.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001134/6.827, allocations: 38.66 kB / 3.846 GB, free: 288.4 MB / 1.167 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.0002744/6.828, allocations: 118.2 kB / 3.846 GB, free: 288.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002348/6.828, allocations: 110.3 kB / 3.846 GB, free: 288.3 MB / 1.167 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.03775/6.866, allocations: 6.46 MB / 3.853 GB, free: 287.7 MB / 1.167 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.