Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.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.FixedApproachWetBulb,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.FixedApproachWetBulb") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb,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.FixedApproachWetBulb") [: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 1.992/1.992, allocations: 387.2 MB / 394.5 MB, free: 13.32 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.001644/0.001644, allocations: 195.5 kB / 487 MB, free: 0.75 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 221.3 MB / 0.7819 GB, free: 6.816 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.0009041/0.000904, allocations: 93.61 kB / 0.9213 GB, free: 43.73 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 9.909e-06/1.012e-05, allocations: 4 kB / 1.066 GB, free: 7.609 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.827/0.827, allocations: 142.3 MB / 1.205 GB, free: 72.84 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.949/5.776, allocations: 2.213 GB / 3.418 GB, free: 304.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003222/5.776, allocations: 97.22 kB / 3.418 GB, free: 304.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.699/8.475, allocations: 0.7411 GB / 4.16 GB, free: 192.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000329/8.475, allocations: 77.31 kB / 4.16 GB, free: 192.5 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.007539/8.483, allocations: 2.73 MB / 4.162 GB, free: 191.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/8.483, allocations: 9.344 kB / 4.162 GB, free: 191.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003862/8.487, allocations: 0.5773 MB / 4.163 GB, free: 191.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008132/8.495, allocations: 2.877 MB / 4.166 GB, free: 190.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.705e-05/8.495, allocations: 62.41 kB / 4.166 GB, free: 190.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003435/8.495, allocations: 118.2 kB / 4.166 GB, free: 190.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003197/8.499, allocations: 1.831 MB / 4.168 GB, free: 190.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002939/8.502, allocations: 1.801 MB / 4.169 GB, free: 190.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.18e-05/8.502, allocations: 1.688 kB / 4.169 GB, free: 190.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001636/8.502, allocations: 9.578 kB / 4.169 GB, free: 190.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.687e-05/8.502, allocations: 79.67 kB / 4.17 GB, free: 190.6 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01298/8.515, allocations: 8.404 MB / 4.178 GB, free: 187.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001888/8.517, allocations: 1.243 MB / 4.179 GB, free: 187.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008191/8.518, allocations: 0.582 MB / 4.18 GB, free: 187.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005875/8.524, allocations: 3.477 MB / 4.183 GB, free: 186 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009849/8.525, allocations: 0.7076 MB / 4.184 GB, free: 185.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=135): time 3.356e-06/8.525, allocations: 0 / 4.184 GB, free: 185.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=135): time 0.003602/8.528, allocations: 1.377 MB / 4.185 GB, free: 185.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.73e-05/8.528, allocations: 254.5 kB / 4.185 GB, free: 185.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002455/8.531, allocations: 1.512 MB / 4.187 GB, free: 185.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001924/8.531, allocations: 32.55 kB / 4.187 GB, free: 185.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006873/8.532, allocations: 0.7724 MB / 4.187 GB, free: 184.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004644/8.532, allocations: 456.1 kB / 4.188 GB, free: 184.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.288e-05/8.532, allocations: 0 / 4.188 GB, free: 184.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001082/8.532, allocations: 361.6 kB / 4.188 GB, free: 184.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007204/8.533, allocations: 463.9 kB / 4.189 GB, free: 184.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008924/8.534, allocations: 0.8872 MB / 4.19 GB, free: 183.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001606/8.536, allocations: 0.6927 MB / 4.19 GB, free: 183.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.774e-06/8.536, allocations: 3.75 kB / 4.19 GB, free: 183.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=193) (initialization): time 0.004018/8.54, allocations: 1.664 MB / 4.192 GB, free: 183.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008745/8.54, allocations: 4.025 MB / 4.196 GB, free: 179.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.998e-05/8.541, allocations: 10.38 kB / 4.196 GB, free: 179.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006523/8.541, allocations: 101.7 kB / 4.196 GB, free: 179.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001594/8.543, allocations: 389.3 kB / 4.196 GB, free: 179.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001795/8.545, allocations: 1.471 MB / 4.198 GB, free: 178.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002533/8.547, allocations: 209 kB / 4.198 GB, free: 178 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002138/8.547, allocations: 74.64 kB / 4.198 GB, free: 178 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/8.547, allocations: 3.906 kB / 4.198 GB, free: 178 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003519/8.551, allocations: 1.39 MB / 4.199 GB, free: 178 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/8.551, allocations: 10.75 kB / 4.199 GB, free: 178 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005767/8.552, allocations: 97.28 kB / 4.199 GB, free: 178 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001471/8.553, allocations: 376.8 kB / 4.2 GB, free: 178 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001671/8.555, allocations: 1.484 MB / 4.201 GB, free: 176.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002417/8.557, allocations: 191.5 kB / 4.201 GB, free: 176.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002145/8.557, allocations: 71.8 kB / 4.201 GB, free: 176.7 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.0005055/8.558, allocations: 150 kB / 4.202 GB, free: 176.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006466/8.559, allocations: 220.5 kB / 4.202 GB, free: 176.5 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.003144/8.562, allocations: 1.178 MB / 4.203 GB, free: 176.4 MB / 1.151 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.