Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,fileNamePrefix="Buildings_7_0_0_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 7.0.1/package.mo): time 2.101/2.101, allocations: 248.6 MB / 255.9 MB, free: 7.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001705/0.001704, allocations: 193.2 kB / 315.1 MB, free: 4.203 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.873/1.873, allocations: 205.1 MB / 0.5658 GB, free: 340 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001966/0.001966, allocations: 86.62 kB / 0.67 GB, free: 5.535 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5705/0.5725, allocations: 112.4 MB / 0.7797 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.7965, allocations: 106.2 MB / 0.8835 GB, free: 13.31 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.104/6.901, allocations: 2.477 GB / 3.36 GB, free: 234.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003649/6.901, allocations: 99.44 kB / 3.36 GB, free: 234.6 MB / 0.8698 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.571/8.472, allocations: 344 MB / 3.696 GB, free: 204.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/8.472, allocations: 7.781 kB / 3.696 GB, free: 204.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002042/8.474, allocations: 227.3 kB / 3.696 GB, free: 204.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006008/8.48, allocations: 1.636 MB / 3.698 GB, free: 203.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.007e-05/8.48, allocations: 15.47 kB / 3.698 GB, free: 203.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002101/8.48, allocations: 41.84 kB / 3.698 GB, free: 203.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002185/8.482, allocations: 0.6956 MB / 3.699 GB, free: 203.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001834/8.484, allocations: 0.6434 MB / 3.699 GB, free: 203 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.885e-05/8.484, allocations: 3.75 kB / 3.699 GB, free: 203 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.589e-05/8.485, allocations: 0 / 3.699 GB, free: 203 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.498e-05/8.485, allocations: 12.56 kB / 3.699 GB, free: 203 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009488/8.494, allocations: 3.528 MB / 3.703 GB, free: 201.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001982/8.496, allocations: 0.6952 MB / 3.704 GB, free: 200.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007652/8.497, allocations: 315.4 kB / 3.704 GB, free: 200.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007741/8.505, allocations: 3.743 MB / 3.707 GB, free: 197.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009264/8.506, allocations: 360.6 kB / 3.708 GB, free: 197.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=52): time 4.478e-06/8.506, allocations: 0 / 3.708 GB, free: 197.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=52): time 0.07802/8.584, allocations: 6.755 MB / 3.714 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.716e-05/8.584, allocations: 83.88 kB / 3.714 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004483/8.588, allocations: 1.424 MB / 3.716 GB, free: 196.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002867/8.589, allocations: 29.97 kB / 3.716 GB, free: 196.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004374/8.589, allocations: 316.9 kB / 3.716 GB, free: 195.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003008/8.589, allocations: 175.2 kB / 3.716 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.835e-05/8.59, allocations: 1.312 kB / 3.716 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.758e-05/8.59, allocations: 334.9 kB / 3.717 GB, free: 195.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008209/8.59, allocations: 284.9 kB / 3.717 GB, free: 195.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001235/8.592, allocations: 0.5846 MB / 3.718 GB, free: 195 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1529/8.745, allocations: 12.05 MB / 3.729 GB, free: 193.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.949e-05/8.745, allocations: 1.312 kB / 3.729 GB, free: 193.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.1524/8.897, allocations: 12.61 MB / 3.742 GB, free: 188.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002526/8.897, allocations: 0.9735 MB / 3.743 GB, free: 187.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/8.897, allocations: 1.719 kB / 3.743 GB, free: 187.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009047/8.898, allocations: 158.6 kB / 3.743 GB, free: 187.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/8.9, allocations: 126.2 kB / 3.743 GB, free: 187.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1473/9.047, allocations: 12.73 MB / 3.755 GB, free: 176.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00195/9.049, allocations: 78.17 kB / 3.755 GB, free: 176.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002524/9.049, allocations: 35.98 kB / 3.755 GB, free: 176.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/9.049, allocations: 4 kB / 3.755 GB, free: 176.1 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1469/9.196, allocations: 12.48 MB / 3.768 GB, free: 163.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/9.196, allocations: 3.906 kB / 3.768 GB, free: 163.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007673/9.197, allocations: 157 kB / 3.768 GB, free: 163.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/9.198, allocations: 132.4 kB / 3.768 GB, free: 163.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1452/9.343, allocations: 12.72 MB / 3.78 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001986/9.345, allocations: 67.61 kB / 3.78 GB, free: 150.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001777/9.346, allocations: 43.98 kB / 3.78 GB, free: 150.4 MB / 0.8698 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.0003248/9.346, allocations: 123.6 kB / 3.78 GB, free: 150.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003524/9.346, allocations: 110.4 kB / 3.781 GB, free: 150.2 MB / 0.8698 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.07364/9.42, allocations: 6.458 MB / 3.787 GB, free: 143.7 MB / 0.8698 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