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: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TEnt.T|tow.TLvg|tow.TAir|conFan.u_s|conFan.u_m|onOffCon.u|onOffCon.reference",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TEnt.T|tow.TLvg|tow.TAir|conFan.u_s|conFan.u_m|onOffCon.u|onOffCon.reference",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel") [: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.107/2.107, allocations: 387.2 MB / 394.5 MB, free: 13.58 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.001195/0.001195, allocations: 192.6 kB / 487 MB, free: 5.285 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.466/1.466, allocations: 221.3 MB / 0.7819 GB, free: 1.402 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.001078/0.001077, allocations: 98.66 kB / 0.9213 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.834e-06/8.115e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.2665, allocations: 142.3 MB / 1.205 GB, free: 26.19 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.682/4.948, allocations: 2.238 GB / 3.443 GB, free: 75.18 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003029/4.949, allocations: 103.9 kB / 3.443 GB, free: 75.08 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.91/7.859, allocations: 0.8093 GB / 4.253 GB, free: 143.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003252/7.859, allocations: 83.69 kB / 4.253 GB, free: 143.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: 567 * Number of variables: 567 Notification: Performance of Generate backend data structure: time 0.00937/7.869, allocations: 3.221 MB / 4.256 GB, free: 140.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.134e-05/7.869, allocations: 9.031 kB / 4.256 GB, free: 140.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004335/7.873, allocations: 0.7177 MB / 4.257 GB, free: 139.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009839/7.883, allocations: 3.301 MB / 4.26 GB, free: 136.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.503e-05/7.883, allocations: 71.91 kB / 4.26 GB, free: 136 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000403/7.884, allocations: 140 kB / 4.26 GB, free: 135.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003718/7.887, allocations: 2.14 MB / 4.262 GB, free: 133.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003361/7.891, allocations: 2.075 MB / 4.264 GB, free: 131.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.766e-05/7.891, allocations: 4 kB / 4.264 GB, free: 131.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001919/7.891, allocations: 4 kB / 4.264 GB, free: 131.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.479e-05/7.891, allocations: 88.19 kB / 4.264 GB, free: 131.4 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01562/7.907, allocations: 9.626 MB / 4.274 GB, free: 121.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002337/7.909, allocations: 1.64 MB / 4.275 GB, free: 120 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001009/7.91, allocations: 0.7673 MB / 4.276 GB, free: 119.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008773/7.919, allocations: 6.036 MB / 4.282 GB, free: 112.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001232/7.92, allocations: 0.8942 MB / 4.283 GB, free: 111.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=167): time 4.158e-06/7.92, allocations: 3.938 kB / 4.283 GB, free: 111.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=167): time 0.04028/7.96, allocations: 7.638 MB / 4.29 GB, free: 104 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/7.961, allocations: 279 kB / 4.29 GB, free: 103.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00331/7.964, allocations: 1.942 MB / 4.292 GB, free: 101.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0003089/7.964, allocations: 29.7 kB / 4.292 GB, free: 101.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008354/7.965, allocations: 0.8686 MB / 4.293 GB, free: 100.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005583/7.966, allocations: 0.5388 MB / 4.294 GB, free: 100.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.114e-05/7.966, allocations: 0 / 4.294 GB, free: 100.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001446/7.966, allocations: 377.9 kB / 4.294 GB, free: 99.89 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009825/7.967, allocations: 0.6053 MB / 4.295 GB, free: 99.29 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001188/7.968, allocations: 1.181 MB / 4.296 GB, free: 97.91 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06902/8.037, allocations: 12.55 MB / 4.308 GB, free: 85.35 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.163e-05/8.037, allocations: 0 / 4.308 GB, free: 85.35 MB / 1.151 GB Notification: Performance of matching and sorting (n=240) (initialization): time 0.07279/8.11, allocations: 13.86 MB / 4.322 GB, free: 71.46 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007664/8.111, allocations: 4.313 MB / 4.326 GB, free: 66.76 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-05/8.111, allocations: 12 kB / 4.326 GB, free: 66.75 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001072/8.112, allocations: 254.4 kB / 4.326 GB, free: 66.49 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001902/8.114, allocations: 455.3 kB / 4.327 GB, free: 66.05 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06956/8.183, allocations: 14.2 MB / 4.34 GB, free: 51.67 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003466/8.187, allocations: 250.3 kB / 4.341 GB, free: 51.42 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003095/8.187, allocations: 95.95 kB / 4.341 GB, free: 51.33 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/8.187, allocations: 10.34 kB / 4.341 GB, free: 51.32 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07351/8.261, allocations: 13.53 MB / 4.354 GB, free: 37.77 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.009e-05/8.261, allocations: 11.98 kB / 4.354 GB, free: 37.76 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000994/8.262, allocations: 256.9 kB / 4.354 GB, free: 37.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001729/8.264, allocations: 443.3 kB / 4.355 GB, free: 37.07 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06936/8.333, allocations: 14.19 MB / 4.369 GB, free: 22.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003414/8.337, allocations: 218.6 kB / 4.369 GB, free: 22.48 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002655/8.337, allocations: 96.11 kB / 4.369 GB, free: 22.39 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.000616/8.337, allocations: 158.4 kB / 4.369 GB, free: 22.23 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005301/8.338, allocations: 260.8 kB / 4.369 GB, free: 21.97 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.03743/8.375, allocations: 7.295 MB / 4.376 GB, free: 14.66 MB / 1.151 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.