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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_Examples_FixedApproachDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_Examples_FixedApproachDryBulb",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.055/2.055, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.00119/0.001191, allocations: 180.3 kB / 487 MB, free: 5.375 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.597/1.597, allocations: 221.3 MB / 0.7819 GB, free: 1.395 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.0009629/0.0009631, allocations: 91.02 kB / 0.9213 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.7304/0.7314, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/1.068, allocations: 142.3 MB / 1.205 GB, free: 26.14 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.138/6.207, allocations: 2.213 GB / 3.419 GB, free: 77.54 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002537/6.207, allocations: 99.66 kB / 3.419 GB, free: 77.48 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.595/8.802, allocations: 0.7824 GB / 4.201 GB, free: 175.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/8.802, allocations: 12 kB / 4.201 GB, free: 175.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003119/8.806, allocations: 0.5821 MB / 4.202 GB, free: 175.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006849/8.812, allocations: 2.862 MB / 4.204 GB, free: 172.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.347e-05/8.813, allocations: 71.55 kB / 4.204 GB, free: 172.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002802/8.813, allocations: 123.9 kB / 4.205 GB, free: 172 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002931/8.816, allocations: 1.831 MB / 4.206 GB, free: 170.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002683/8.818, allocations: 1.793 MB / 4.208 GB, free: 168.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.96e-05/8.819, allocations: 3.938 kB / 4.208 GB, free: 168.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001714/8.819, allocations: 4 kB / 4.208 GB, free: 168.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-05/8.819, allocations: 78.97 kB / 4.208 GB, free: 168.2 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01223/8.831, allocations: 8.406 MB / 4.216 GB, free: 159.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001661/8.833, allocations: 1.242 MB / 4.218 GB, free: 158.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000765/8.833, allocations: 0.5895 MB / 4.218 GB, free: 157.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005476/8.839, allocations: 3.486 MB / 4.222 GB, free: 154.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009139/8.84, allocations: 0.7021 MB / 4.222 GB, free: 153.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=135): time 4.328e-06/8.84, allocations: 2.844 kB / 4.222 GB, free: 153.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=135): time 0.003326/8.843, allocations: 1.374 MB / 4.224 GB, free: 152.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.971e-05/8.843, allocations: 248.6 kB / 4.224 GB, free: 151.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002132/8.846, allocations: 1.523 MB / 4.225 GB, free: 150.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001383/8.846, allocations: 29.7 kB / 4.225 GB, free: 150.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006233/8.846, allocations: 0.7722 MB / 4.226 GB, free: 149.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003756/8.847, allocations: 440.7 kB / 4.227 GB, free: 149 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.969e-05/8.847, allocations: 3.938 kB / 4.227 GB, free: 149 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.677e-05/8.847, allocations: 376.7 kB / 4.227 GB, free: 148.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006411/8.847, allocations: 459.9 kB / 4.227 GB, free: 148.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008048/8.848, allocations: 0.8882 MB / 4.228 GB, free: 147.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001558/8.85, allocations: 0.6883 MB / 4.229 GB, free: 146.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/8.85, allocations: 0 / 4.229 GB, free: 146.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=193) (initialization): time 0.00359/8.853, allocations: 1.677 MB / 4.231 GB, free: 144.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007253/8.854, allocations: 4.023 MB / 4.235 GB, free: 140.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/8.854, allocations: 8 kB / 4.235 GB, free: 140.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006731/8.855, allocations: 100.2 kB / 4.235 GB, free: 140.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001602/8.857, allocations: 378.9 kB / 4.235 GB, free: 140 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00171/8.858, allocations: 1.485 MB / 4.236 GB, free: 138.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002329/8.861, allocations: 204.5 kB / 4.237 GB, free: 138.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000174/8.861, allocations: 79.95 kB / 4.237 GB, free: 138.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.847e-06/8.861, allocations: 4 kB / 4.237 GB, free: 138.2 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003088/8.864, allocations: 1.407 MB / 4.238 GB, free: 136.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/8.864, allocations: 8 kB / 4.238 GB, free: 136.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005616/8.865, allocations: 92.38 kB / 4.238 GB, free: 136.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001465/8.866, allocations: 378.8 kB / 4.239 GB, free: 136.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001543/8.868, allocations: 1.473 MB / 4.24 GB, free: 134.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002151/8.87, allocations: 188.1 kB / 4.24 GB, free: 134.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001606/8.87, allocations: 79.44 kB / 4.24 GB, free: 134.5 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.0003869/8.87, allocations: 148.5 kB / 4.24 GB, free: 134.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004036/8.871, allocations: 217.3 kB / 4.241 GB, free: 134.1 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.002832/8.874, allocations: 1.169 MB / 4.242 GB, free: 133 MB / 1.151 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. Error: Internal error SimCode: The model Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb could not be translated to FMU