Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_Examples_Merkel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_Examples_Merkel",fmuType="me",version="2.0",platforms={"static"}) [: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.078/2.078, allocations: 387.2 MB / 394.5 MB, free: 13.67 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.00112/0.00112, allocations: 173.3 kB / 487 MB, free: 5.371 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.387/1.387, allocations: 221.3 MB / 0.7819 GB, free: 1.328 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.0009819/0.0009819, allocations: 96.8 kB / 0.9213 GB, free: 2.578 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6463/0.6473, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.9492, allocations: 142.3 MB / 1.205 GB, free: 26.11 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.27/6.22, allocations: 2.238 GB / 3.443 GB, free: 68.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002716/6.22, allocations: 111.3 kB / 3.443 GB, free: 68.8 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: 567 * Number of variables: 567 Notification: Performance of Generate backend data structure: time 3.195/9.415, allocations: 0.8126 GB / 4.256 GB, free: 133.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.101e-05/9.416, allocations: 9 kB / 4.256 GB, free: 133.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00548/9.421, allocations: 0.7138 MB / 4.257 GB, free: 132.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01361/9.435, allocations: 3.289 MB / 4.26 GB, free: 129.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000326/9.435, allocations: 75.91 kB / 4.26 GB, free: 129.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001562/9.437, allocations: 132 kB / 4.26 GB, free: 129.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005771/9.442, allocations: 2.14 MB / 4.262 GB, free: 127 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006873/9.449, allocations: 2.077 MB / 4.264 GB, free: 124.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001163/9.45, allocations: 7.938 kB / 4.264 GB, free: 124.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007546/9.45, allocations: 4 kB / 4.264 GB, free: 124.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001121/9.45, allocations: 84.25 kB / 4.264 GB, free: 124.7 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02127/9.472, allocations: 9.632 MB / 4.274 GB, free: 114.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002848/9.475, allocations: 1.639 MB / 4.275 GB, free: 113.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001222/9.476, allocations: 0.7633 MB / 4.276 GB, free: 112.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01047/9.486, allocations: 6.053 MB / 4.282 GB, free: 105.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001352/9.488, allocations: 0.8826 MB / 4.283 GB, free: 105 MB / 1.151 GB Notification: Performance of pre-optimization done (n=167): time 4.628e-06/9.488, allocations: 0 / 4.283 GB, free: 105 MB / 1.151 GB Notification: Performance of matching and sorting (n=167): time 0.03976/9.528, allocations: 7.645 MB / 4.29 GB, free: 97.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.849e-05/9.528, allocations: 275 kB / 4.291 GB, free: 96.96 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004443/9.532, allocations: 1.946 MB / 4.293 GB, free: 95.01 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0003848/9.533, allocations: 29.7 kB / 4.293 GB, free: 94.97 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009111/9.533, allocations: 0.871 MB / 4.293 GB, free: 94.09 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006098/9.534, allocations: 0.5349 MB / 4.294 GB, free: 93.55 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/9.534, allocations: 0 / 4.294 GB, free: 93.55 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.602e-05/9.534, allocations: 377.9 kB / 4.294 GB, free: 93.17 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009875/9.535, allocations: 0.6131 MB / 4.295 GB, free: 92.56 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001298/9.537, allocations: 1.173 MB / 4.296 GB, free: 91.18 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.069/9.606, allocations: 12.56 MB / 4.308 GB, free: 78.62 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.013e-05/9.606, allocations: 4 kB / 4.308 GB, free: 78.62 MB / 1.151 GB Notification: Performance of matching and sorting (n=240) (initialization): time 0.07314/9.679, allocations: 13.85 MB / 4.322 GB, free: 64.73 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.00102/9.68, allocations: 4.309 MB / 4.326 GB, free: 60.04 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.112e-05/9.68, allocations: 8 kB / 4.326 GB, free: 60.04 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001061/9.681, allocations: 258.4 kB / 4.326 GB, free: 59.77 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001923/9.683, allocations: 455.3 kB / 4.327 GB, free: 59.33 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06783/9.751, allocations: 14.19 MB / 4.341 GB, free: 44.96 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003541/9.754, allocations: 262.2 kB / 4.341 GB, free: 44.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004275/9.755, allocations: 95.95 kB / 4.341 GB, free: 44.61 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/9.755, allocations: 4 kB / 4.341 GB, free: 44.61 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07057/9.825, allocations: 13.53 MB / 4.354 GB, free: 31.05 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.291e-05/9.825, allocations: 11.38 kB / 4.354 GB, free: 31.05 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009654/9.826, allocations: 259.2 kB / 4.354 GB, free: 30.79 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001751/9.828, allocations: 435.3 kB / 4.355 GB, free: 30.36 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06874/9.897, allocations: 14.2 MB / 4.369 GB, free: 15.98 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003209/9.9, allocations: 234.6 kB / 4.369 GB, free: 15.75 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003101/9.901, allocations: 91.95 kB / 4.369 GB, free: 15.66 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$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 (230): * Single equations (assignments): 226 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 6,1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005238/9.901, allocations: 156.4 kB / 4.369 GB, free: 15.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000587/9.902, allocations: 256.8 kB / 4.369 GB, free: 15.25 MB / 1.151 GB Error: Too many equations, over-determined system. The model has 197 equation(s) and 196 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0367/9.938, allocations: 7.291 MB / 4.377 GB, free: 7.945 MB / 1.151 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. Error: Internal error SimCode: The model Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel could not be translated to FMU