Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.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.Examples.FixedApproachDryBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tow.TAir|tow.vol.heatPort.Q_flow|tow.m_flow|onOffCon.u|onOffCon.reference",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tow.TAir|tow.vol.heatPort.Q_flow|tow.m_flow|onOffCon.u|onOffCon.reference",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb") [: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.119/2.119, allocations: 387.2 MB / 394.5 MB, free: 13.73 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.001337/0.001337, allocations: 181.3 kB / 487 MB, free: 5.406 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.49/1.49, allocations: 221.3 MB / 0.7819 GB, free: 1.367 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.001186/0.001186, allocations: 99.58 kB / 0.9213 GB, free: 2.621 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.817e-06/8.997e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.2869, allocations: 142.3 MB / 1.205 GB, free: 26.25 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.886/5.173, allocations: 2.213 GB / 3.418 GB, free: 96.98 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002523/5.173, allocations: 99.94 kB / 3.419 GB, free: 96.88 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.748/7.922, allocations: 0.7796 GB / 4.198 GB, free: 193.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0004299/7.922, allocations: 73.48 kB / 4.198 GB, free: 193.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: 497 * Number of variables: 497 Notification: Performance of Generate backend data structure: time 0.009894/7.932, allocations: 2.745 MB / 4.201 GB, free: 191.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.515e-05/7.932, allocations: 8.031 kB / 4.201 GB, free: 191.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004324/7.936, allocations: 0.5732 MB / 4.201 GB, free: 190.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008342/7.945, allocations: 2.872 MB / 4.204 GB, free: 187.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.092e-05/7.945, allocations: 64 kB / 4.204 GB, free: 187.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002964/7.945, allocations: 117.1 kB / 4.204 GB, free: 187.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003112/7.948, allocations: 1.831 MB / 4.206 GB, free: 185.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003182/7.951, allocations: 1.803 MB / 4.208 GB, free: 183.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.578e-05/7.952, allocations: 0 / 4.208 GB, free: 183.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001867/7.952, allocations: 4 kB / 4.208 GB, free: 183.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.679e-05/7.952, allocations: 79.72 kB / 4.208 GB, free: 183.6 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01446/7.966, allocations: 8.391 MB / 4.216 GB, free: 175.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001751/7.968, allocations: 1.244 MB / 4.218 GB, free: 173.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008392/7.969, allocations: 0.5945 MB / 4.218 GB, free: 173.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00625/7.975, allocations: 3.481 MB / 4.221 GB, free: 169.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009457/7.976, allocations: 0.7021 MB / 4.222 GB, free: 169 MB / 1.151 GB Notification: Performance of pre-optimization done (n=135): time 3.286e-06/7.976, allocations: 0 / 4.222 GB, free: 169 MB / 1.151 GB Notification: Performance of matching and sorting (n=135): time 0.003253/7.98, allocations: 1.378 MB / 4.224 GB, free: 167.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.481e-05/7.98, allocations: 252.6 kB / 4.224 GB, free: 167.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002053/7.982, allocations: 1.523 MB / 4.225 GB, free: 165.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001168/7.982, allocations: 29.64 kB / 4.225 GB, free: 165.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006418/7.982, allocations: 0.776 MB / 4.226 GB, free: 164.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003573/7.983, allocations: 444.8 kB / 4.226 GB, free: 164.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.786e-05/7.983, allocations: 0 / 4.226 GB, free: 164.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.299e-05/7.983, allocations: 365.9 kB / 4.227 GB, free: 164.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006316/7.984, allocations: 459.9 kB / 4.227 GB, free: 163.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008243/7.984, allocations: 0.8954 MB / 4.228 GB, free: 162.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001548/7.986, allocations: 0.6859 MB / 4.229 GB, free: 161.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.725e-06/7.986, allocations: 4 kB / 4.229 GB, free: 161.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=193) (initialization): time 0.003562/7.99, allocations: 1.672 MB / 4.23 GB, free: 160.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007683/7.99, allocations: 4.021 MB / 4.234 GB, free: 156 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.735e-05/7.99, allocations: 15.28 kB / 4.234 GB, free: 155.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006375/7.991, allocations: 100.2 kB / 4.234 GB, free: 155.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001524/7.993, allocations: 390 kB / 4.235 GB, free: 155.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001754/7.994, allocations: 1.468 MB / 4.236 GB, free: 153.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002359/7.997, allocations: 213.7 kB / 4.236 GB, free: 153.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001827/7.997, allocations: 75.97 kB / 4.237 GB, free: 153.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.526e-06/7.997, allocations: 7.125 kB / 4.237 GB, free: 153.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003505/8, allocations: 1.388 MB / 4.238 GB, free: 152.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.029e-05/8, allocations: 8 kB / 4.238 GB, free: 152.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006022/8.001, allocations: 100 kB / 4.238 GB, free: 152.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001533/8.003, allocations: 378.7 kB / 4.238 GB, free: 151.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001894/8.005, allocations: 1.479 MB / 4.24 GB, free: 150.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002925/8.007, allocations: 193.9 kB / 4.24 GB, free: 150 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002819/8.008, allocations: 75.97 kB / 4.24 GB, free: 149.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.onOffCon.y,onOffCon.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (190): * Single equations (assignments): 188 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006922/8.008, allocations: 147.3 kB / 4.24 GB, free: 149.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001092/8.01, allocations: 217.3 kB / 4.24 GB, free: 149.6 MB / 1.151 GB Error: Too many equations, over-determined system. The model has 165 equation(s) and 164 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003732/8.013, allocations: 1.187 MB / 4.242 GB, free: 148.4 MB / 1.151 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.