Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.3/1.3, allocations: 249.4 MB / 256.7 MB, free: 7.641 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001126/0.001126, allocations: 181.2 kB / 316 MB, free: 7.953 MB / 254.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.263/1.263, allocations: 205.1 MB / 0.5667 GB, free: 3.371 MB / 414.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008606/0.0008607, allocations: 81.41 kB / 0.671 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.3522/0.3531, allocations: 112.5 MB / 0.7808 GB, free: 106.7 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.5254, allocations: 106.3 MB / 0.8847 GB, free: 296 kB / 0.545 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.453/4.978, allocations: 2.477 GB / 3.361 GB, free: 201.4 MB / 0.8575 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002527/4.979, allocations: 95.94 kB / 3.361 GB, free: 201.3 MB / 0.8575 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.008/5.987, allocations: 344.3 MB / 3.698 GB, free: 182.7 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/5.987, allocations: 9 kB / 3.698 GB, free: 182.7 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009172/5.988, allocations: 223.3 kB / 3.698 GB, free: 182.6 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00292/5.991, allocations: 1.638 MB / 3.699 GB, free: 181.6 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.897e-05/5.991, allocations: 18.28 kB / 3.699 GB, free: 181.6 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/5.991, allocations: 37.06 kB / 3.7 GB, free: 181.6 MB / 0.8575 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001173/5.992, allocations: 0.7061 MB / 3.7 GB, free: 181.1 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008683/5.993, allocations: 0.6377 MB / 3.701 GB, free: 180.4 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/5.993, allocations: 0 / 3.701 GB, free: 180.4 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.351e-05/5.993, allocations: 0 / 3.701 GB, free: 180.4 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.402e-05/5.993, allocations: 21.16 kB / 3.701 GB, free: 180.4 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004075/5.997, allocations: 3.526 MB / 3.704 GB, free: 176.8 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008573/5.998, allocations: 0.7064 MB / 3.705 GB, free: 176.1 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000344/5.999, allocations: 314.1 kB / 3.705 GB, free: 175.8 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00338/6.002, allocations: 3.735 MB / 3.709 GB, free: 171.6 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004347/6.002, allocations: 360.4 kB / 3.709 GB, free: 171.2 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=52): time 1.904e-06/6.002, allocations: 0 / 3.709 GB, free: 171.2 MB / 0.8575 GB Notification: Performance of matching and sorting (n=52): time 0.03562/6.038, allocations: 6.766 MB / 3.716 GB, free: 164.4 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/6.038, allocations: 81.55 kB / 3.716 GB, free: 164.3 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002177/6.04, allocations: 1.419 MB / 3.717 GB, free: 162.9 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001199/6.04, allocations: 37.69 kB / 3.717 GB, free: 162.8 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003166/6.041, allocations: 316.5 kB / 3.718 GB, free: 162.5 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001602/6.041, allocations: 169.5 kB / 3.718 GB, free: 162.4 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.93e-05/6.041, allocations: 0 / 3.718 GB, free: 162.4 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.673e-05/6.041, allocations: 334 kB / 3.718 GB, free: 162 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003691/6.041, allocations: 285.2 kB / 3.718 GB, free: 161.7 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005777/6.042, allocations: 0.5831 MB / 3.719 GB, free: 161.1 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06648/6.109, allocations: 12.05 MB / 3.731 GB, free: 149 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-05/6.109, allocations: 0 / 3.731 GB, free: 149 MB / 0.8575 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.06804/6.177, allocations: 12.61 MB / 3.743 GB, free: 136.4 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002146/6.177, allocations: 0.9699 MB / 3.744 GB, free: 135.4 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/6.177, allocations: 4 kB / 3.744 GB, free: 135.4 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005755/6.178, allocations: 157.6 kB / 3.744 GB, free: 135.2 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005655/6.178, allocations: 131.8 kB / 3.744 GB, free: 135.1 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06581/6.244, allocations: 12.73 MB / 3.757 GB, free: 122.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001477/6.245, allocations: 79.53 kB / 3.757 GB, free: 122.2 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002544/6.246, allocations: 35.92 kB / 3.757 GB, free: 122.2 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/6.246, allocations: 7.906 kB / 3.757 GB, free: 122.2 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06676/6.313, allocations: 12.48 MB / 3.769 GB, free: 109.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/6.313, allocations: 0 / 3.769 GB, free: 109.7 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004591/6.313, allocations: 161.9 kB / 3.769 GB, free: 109.5 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000551/6.314, allocations: 131.8 kB / 3.769 GB, free: 109.4 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06618/6.38, allocations: 12.72 MB / 3.782 GB, free: 96.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001581/6.381, allocations: 71.55 kB / 3.782 GB, free: 96.54 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002648/6.382, allocations: 35.98 kB / 3.782 GB, free: 96.5 MB / 0.8575 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.0004268/6.382, allocations: 120.8 kB / 3.782 GB, free: 96.38 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004734/6.383, allocations: 110.6 kB / 3.782 GB, free: 96.27 MB / 0.8575 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.03465/6.417, allocations: 6.452 MB / 3.788 GB, free: 89.8 MB / 0.8575 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