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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_Examples_FixedApproachWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_Examples_FixedApproachWetBulb",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.11/2.11, allocations: 387.2 MB / 394.5 MB, free: 13.69 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.001705/0.001705, allocations: 184.2 kB / 487 MB, free: 5.395 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.518/1.518, allocations: 221.3 MB / 0.7819 GB, free: 1.414 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.001139/0.001138, allocations: 99.05 kB / 0.9213 GB, free: 2.668 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.7284/0.7296, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/1.035, allocations: 142.3 MB / 1.205 GB, free: 26.16 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.237/6.273, allocations: 2.213 GB / 3.418 GB, free: 99.73 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003008/6.273, allocations: 111.7 kB / 3.419 GB, free: 99.63 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 2.656/8.929, allocations: 0.7439 GB / 4.162 GB, free: 218.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.879e-05/8.929, allocations: 9.406 kB / 4.162 GB, free: 218.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003807/8.933, allocations: 0.5859 MB / 4.163 GB, free: 218 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008654/8.942, allocations: 2.869 MB / 4.166 GB, free: 216.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001015/8.942, allocations: 63.06 kB / 4.166 GB, free: 216.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004356/8.942, allocations: 123 kB / 4.166 GB, free: 216.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004364/8.947, allocations: 1.825 MB / 4.168 GB, free: 215.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003603/8.95, allocations: 1.798 MB / 4.17 GB, free: 214.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.196e-05/8.95, allocations: 8.625 kB / 4.17 GB, free: 214.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001813/8.951, allocations: 4.156 kB / 4.17 GB, free: 214.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001083/8.951, allocations: 73.91 kB / 4.17 GB, free: 214.2 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01492/8.966, allocations: 8.403 MB / 4.178 GB, free: 207.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001891/8.968, allocations: 1.244 MB / 4.179 GB, free: 207.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007962/8.968, allocations: 0.5917 MB / 4.18 GB, free: 206.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005925/8.974, allocations: 3.489 MB / 4.183 GB, free: 204.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001021/8.975, allocations: 0.7047 MB / 4.184 GB, free: 203.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=135): time 3.146e-06/8.975, allocations: 3.75 kB / 4.184 GB, free: 203.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=135): time 0.003556/8.979, allocations: 1.371 MB / 4.185 GB, free: 203 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.202e-05/8.979, allocations: 247.8 kB / 4.185 GB, free: 202.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002421/8.981, allocations: 1.524 MB / 4.187 GB, free: 201.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001854/8.982, allocations: 25.7 kB / 4.187 GB, free: 201.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007019/8.982, allocations: 0.7733 MB / 4.188 GB, free: 201.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004709/8.983, allocations: 446.7 kB / 4.188 GB, free: 200.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.365e-05/8.983, allocations: 0 / 4.188 GB, free: 200.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001004/8.983, allocations: 364.3 kB / 4.188 GB, free: 200.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008064/8.984, allocations: 462 kB / 4.189 GB, free: 200.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001122/8.985, allocations: 0.8952 MB / 4.19 GB, free: 199.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001886/8.987, allocations: 0.6806 MB / 4.19 GB, free: 199.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.366e-05/8.987, allocations: 3.344 kB / 4.19 GB, free: 199.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=193) (initialization): time 0.004676/8.992, allocations: 1.674 MB / 4.192 GB, free: 198.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001144/8.993, allocations: 4.029 MB / 4.196 GB, free: 194.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.741e-05/8.993, allocations: 12.28 kB / 4.196 GB, free: 194.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007118/8.994, allocations: 102.3 kB / 4.196 GB, free: 194.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001811/8.995, allocations: 378.2 kB / 4.196 GB, free: 194 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001793/8.997, allocations: 1.475 MB / 4.198 GB, free: 192.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002862/9, allocations: 211.6 kB / 4.198 GB, free: 192.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002858/9, allocations: 76.59 kB / 4.198 GB, free: 192.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/9, allocations: 3.031 kB / 4.198 GB, free: 192.5 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003939/9.004, allocations: 1.393 MB / 4.199 GB, free: 191.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.015e-05/9.004, allocations: 13.88 kB / 4.199 GB, free: 191.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006162/9.005, allocations: 99.7 kB / 4.2 GB, free: 191.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001686/9.007, allocations: 375.1 kB / 4.2 GB, free: 191.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001708/9.008, allocations: 1.471 MB / 4.201 GB, free: 190.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002365/9.011, allocations: 185.2 kB / 4.202 GB, free: 190.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002416/9.011, allocations: 78.66 kB / 4.202 GB, free: 190.2 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.0005349/9.012, allocations: 154.9 kB / 4.202 GB, free: 190.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006031/9.012, allocations: 217.3 kB / 4.202 GB, free: 190 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.003359/9.016, allocations: 1.175 MB / 4.203 GB, free: 189.3 MB / 1.151 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. Error: Internal error SimCode: The model Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb could not be translated to FMU