Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_CoolingTowers_Validation_MerkelEnergyPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_CoolingTowers_Validation_MerkelEnergyPlus",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 8.0.1-maint.8.0.x/package.mo): time 1.425/1.425, allocations: 285.5 MB / 292.8 MB, free: 10.44 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009828/0.000983, allocations: 185.2 kB / 361.1 MB, free: 7.082 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.178/1.178, allocations: 205.1 MB / 0.6195 GB, free: 10.29 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008141/0.0008141, allocations: 88 kB / 0.7325 GB, free: 44.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2228/0.2236, allocations: 121.5 MB / 0.8512 GB, free: 2.867 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5093/0.733, allocations: 115.3 MB / 0.9638 GB, free: 78.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.022/4.755, allocations: 2.359 GB / 3.323 GB, free: 133.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002609/4.756, allocations: 100.8 kB / 3.323 GB, free: 133.7 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 1.075/5.83, allocations: 352.2 MB / 3.667 GB, free: 165 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/5.83, allocations: 8 kB / 3.667 GB, free: 164.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001118/5.831, allocations: 226.2 kB / 3.667 GB, free: 164.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003098/5.835, allocations: 1.639 MB / 3.668 GB, free: 163.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.443e-05/5.835, allocations: 19.91 kB / 3.669 GB, free: 163 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001707/5.835, allocations: 40 kB / 3.669 GB, free: 163 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001126/5.836, allocations: 0.6897 MB / 3.669 GB, free: 162.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009756/5.837, allocations: 0.644 MB / 3.67 GB, free: 161.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.637e-05/5.837, allocations: 4 kB / 3.67 GB, free: 161.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.237e-05/5.837, allocations: 8 kB / 3.67 GB, free: 161.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.243e-05/5.837, allocations: 12 kB / 3.67 GB, free: 161.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004111/5.841, allocations: 3.515 MB / 3.673 GB, free: 158 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008542/5.842, allocations: 0.7106 MB / 3.674 GB, free: 157.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000336/5.842, allocations: 314 kB / 3.674 GB, free: 157 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003216/5.846, allocations: 3.746 MB / 3.678 GB, free: 152.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004143/5.846, allocations: 368.4 kB / 3.678 GB, free: 152.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=52): time 2.014e-06/5.846, allocations: 0 / 3.678 GB, free: 152.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=52): time 0.0346/5.881, allocations: 6.754 MB / 3.685 GB, free: 145.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/5.881, allocations: 81.55 kB / 3.685 GB, free: 145.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001797/5.882, allocations: 1.427 MB / 3.686 GB, free: 144.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.814e-05/5.883, allocations: 29.7 kB / 3.686 GB, free: 144 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002249/5.883, allocations: 320.5 kB / 3.687 GB, free: 143.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001337/5.883, allocations: 173.5 kB / 3.687 GB, free: 143.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/5.883, allocations: 0 / 3.687 GB, free: 143.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.954e-05/5.883, allocations: 330 kB / 3.687 GB, free: 143.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003596/5.883, allocations: 285.2 kB / 3.687 GB, free: 142.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005308/5.884, allocations: 0.5839 MB / 3.688 GB, free: 142.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06528/5.949, allocations: 12.04 MB / 3.7 GB, free: 130.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.746e-06/5.949, allocations: 3.906 kB / 3.7 GB, free: 130.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.06678/6.016, allocations: 12.61 MB / 3.712 GB, free: 117.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001824/6.016, allocations: 0.9708 MB / 3.713 GB, free: 116.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/6.016, allocations: 0 / 3.713 GB, free: 116.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005358/6.017, allocations: 161.6 kB / 3.713 GB, free: 116.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005513/6.017, allocations: 131.8 kB / 3.713 GB, free: 116.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06626/6.084, allocations: 12.73 MB / 3.726 GB, free: 103.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001325/6.085, allocations: 75.55 kB / 3.726 GB, free: 103.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002314/6.085, allocations: 39.97 kB / 3.726 GB, free: 103.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/6.085, allocations: 4 kB / 3.726 GB, free: 103.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06695/6.152, allocations: 12.47 MB / 3.738 GB, free: 90.88 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/6.152, allocations: 4 kB / 3.738 GB, free: 90.87 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004722/6.153, allocations: 169.6 kB / 3.738 GB, free: 90.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005786/6.153, allocations: 127.8 kB / 3.738 GB, free: 90.57 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06525/6.219, allocations: 12.72 MB / 3.751 GB, free: 77.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/6.22, allocations: 75.55 kB / 3.751 GB, free: 77.72 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002587/6.221, allocations: 43.91 kB / 3.751 GB, free: 77.68 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.datRea.nextTimeEvent,datRea.nextTimeEvent,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003729/6.221, allocations: 123 kB / 3.751 GB, free: 77.55 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004717/6.221, allocations: 106.7 kB / 3.751 GB, free: 77.45 MB / 0.948 GB Error: Too many equations, over-determined system. The model has 67 equation(s) and 66 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03419/6.256, allocations: 6.455 MB / 3.757 GB, free: 70.98 MB / 0.948 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. Error: Internal error SimCode: The model Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus could not be translated to FMU