Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.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.Validation.MerkelEnergyPlus,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_Validation_MerkelEnergyPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.329/2.329, allocations: 387.2 MB / 394.5 MB, free: 13.65 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.001373/0.001373, allocations: 192.2 kB / 487 MB, free: 5.367 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.5/1.5, 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.001372/0.001373, allocations: 87.39 kB / 0.9213 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5975/0.599, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.85, allocations: 142.3 MB / 1.205 GB, free: 26.14 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.022/5.872, allocations: 2.2 GB / 3.406 GB, free: 110.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002841/5.872, allocations: 95.78 kB / 3.406 GB, free: 110.6 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: 147 * Number of variables: 147 Notification: Performance of Generate backend data structure: time 1.455/7.327, allocations: 357.5 MB / 3.755 GB, free: 215 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/7.327, allocations: 12 kB / 3.755 GB, free: 215 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008739/7.328, allocations: 226.2 kB / 3.755 GB, free: 214.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002696/7.331, allocations: 1.634 MB / 3.757 GB, free: 213.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.16e-05/7.331, allocations: 24 kB / 3.757 GB, free: 213.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.769e-05/7.331, allocations: 36 kB / 3.757 GB, free: 213 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001041/7.332, allocations: 0.7014 MB / 3.758 GB, free: 212.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009223/7.333, allocations: 0.6557 MB / 3.758 GB, free: 211.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/7.333, allocations: 11.88 kB / 3.758 GB, free: 211.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.784e-05/7.333, allocations: 0 / 3.758 GB, free: 211.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.833e-05/7.333, allocations: 19.98 kB / 3.758 GB, free: 211.6 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004469/7.337, allocations: 3.563 MB / 3.762 GB, free: 208 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009663/7.338, allocations: 0.7141 MB / 3.762 GB, free: 207.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003713/7.339, allocations: 330.2 kB / 3.763 GB, free: 206.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00372/7.342, allocations: 3.739 MB / 3.766 GB, free: 202.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004958/7.343, allocations: 368.4 kB / 3.767 GB, free: 202.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=54): time 3.256e-06/7.343, allocations: 4 kB / 3.767 GB, free: 202.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=54): time 0.03551/7.379, allocations: 6.629 MB / 3.773 GB, free: 195.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/7.379, allocations: 89.53 kB / 3.773 GB, free: 195.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001912/7.381, allocations: 1.427 MB / 3.775 GB, free: 194.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001128/7.381, allocations: 25.7 kB / 3.775 GB, free: 194.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002706/7.381, allocations: 317.4 kB / 3.775 GB, free: 193.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001673/7.381, allocations: 189.3 kB / 3.775 GB, free: 193.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.25e-05/7.381, allocations: 0 / 3.775 GB, free: 193.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.924e-05/7.381, allocations: 329.9 kB / 3.776 GB, free: 193.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003598/7.382, allocations: 289.2 kB / 3.776 GB, free: 193 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005596/7.382, allocations: 0.5902 MB / 3.776 GB, free: 192.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06788/7.45, allocations: 12.04 MB / 3.788 GB, free: 180.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.607e-05/7.45, allocations: 8 kB / 3.788 GB, free: 180.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.06955/7.52, allocations: 12.61 MB / 3.8 GB, free: 167.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002472/7.52, allocations: 0.9795 MB / 3.801 GB, free: 166.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/7.52, allocations: 0 / 3.801 GB, free: 166.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005533/7.521, allocations: 160.6 kB / 3.802 GB, free: 166.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005292/7.521, allocations: 131.8 kB / 3.802 GB, free: 166.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06896/7.59, allocations: 12.72 MB / 3.814 GB, free: 153.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001828/7.592, allocations: 79.45 kB / 3.814 GB, free: 153.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001333/7.592, allocations: 35.98 kB / 3.814 GB, free: 153.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/7.592, allocations: 7.938 kB / 3.814 GB, free: 153.4 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06973/7.662, allocations: 12.48 MB / 3.826 GB, free: 140.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/7.662, allocations: 0 / 3.826 GB, free: 140.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005123/7.662, allocations: 170.8 kB / 3.827 GB, free: 140.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005285/7.663, allocations: 127.8 kB / 3.827 GB, free: 140.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06896/7.732, allocations: 12.72 MB / 3.839 GB, free: 127.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001736/7.734, allocations: 75.55 kB / 3.839 GB, free: 127.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001239/7.734, allocations: 39.97 kB / 3.839 GB, free: 127.7 MB / 1.151 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 (72): * Single equations (assignments): 70 * 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.0003689/7.734, allocations: 121.5 kB / 3.839 GB, free: 127.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002892/7.735, allocations: 110.6 kB / 3.839 GB, free: 127.5 MB / 1.151 GB Error: Too many equations, over-determined system. The model has 69 equation(s) and 68 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03605/7.771, allocations: 6.455 MB / 3.846 GB, free: 121 MB / 1.151 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