Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_CoolingTowers_Validation_MerkelEnergyPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.716/1.716, allocations: 289.8 MB / 297.1 MB, free: 6.602 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.001381/0.001381, allocations: 172.3 kB / 366.3 MB, free: 1.977 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.502/1.502, allocations: 205.1 MB / 0.6256 GB, free: 5.816 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.0009498/0.0009498, allocations: 83.45 kB / 0.7395 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2581/0.2591, allocations: 122.4 MB / 0.8591 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.541/0.8001, allocations: 116.3 MB / 0.9727 GB, free: 68.36 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.068/5.869, allocations: 2.36 GB / 3.332 GB, free: 98.25 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002849/5.869, allocations: 103.9 kB / 3.333 GB, free: 98.15 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.35/7.219, allocations: 352.2 MB / 3.677 GB, free: 125.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/7.219, allocations: 8 kB / 3.677 GB, free: 125.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001358/7.22, allocations: 222.2 kB / 3.677 GB, free: 125.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003656/7.224, allocations: 1.638 MB / 3.678 GB, free: 123.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.27e-05/7.224, allocations: 16 kB / 3.678 GB, free: 123.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002047/7.224, allocations: 39.98 kB / 3.678 GB, free: 123.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001329/7.226, allocations: 0.6897 MB / 3.679 GB, free: 122.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/7.227, allocations: 0.6535 MB / 3.68 GB, free: 122.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.336e-05/7.227, allocations: 0 / 3.68 GB, free: 122.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.122e-05/7.227, allocations: 0 / 3.68 GB, free: 122.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.973e-05/7.227, allocations: 20 kB / 3.68 GB, free: 122.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005151/7.232, allocations: 3.526 MB / 3.683 GB, free: 118.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/7.233, allocations: 0.6995 MB / 3.684 GB, free: 117.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000391/7.233, allocations: 310 kB / 3.684 GB, free: 117.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00413/7.238, allocations: 3.743 MB / 3.688 GB, free: 113.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005141/7.238, allocations: 364.4 kB / 3.688 GB, free: 112.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=52): time 4.849e-06/7.238, allocations: 0 / 3.688 GB, free: 112.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=52): time 0.03881/7.277, allocations: 6.758 MB / 3.695 GB, free: 106 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/7.277, allocations: 85.55 kB / 3.695 GB, free: 105.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002068/7.279, allocations: 1.423 MB / 3.696 GB, free: 104.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000136/7.279, allocations: 29.7 kB / 3.696 GB, free: 104.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002638/7.279, allocations: 320.5 kB / 3.697 GB, free: 104.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001672/7.28, allocations: 173.4 kB / 3.697 GB, free: 103.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.411e-05/7.28, allocations: 0 / 3.697 GB, free: 103.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.216e-05/7.28, allocations: 337.9 kB / 3.697 GB, free: 103.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003783/7.28, allocations: 281.2 kB / 3.697 GB, free: 103.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005883/7.281, allocations: 0.5839 MB / 3.698 GB, free: 102.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07168/7.352, allocations: 12.05 MB / 3.71 GB, free: 90.64 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.47e-05/7.353, allocations: 0 / 3.71 GB, free: 90.64 MB / 0.948 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.07306/7.426, allocations: 12.6 MB / 3.722 GB, free: 78.01 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002673/7.426, allocations: 0.9742 MB / 3.723 GB, free: 76.96 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/7.426, allocations: 4 kB / 3.723 GB, free: 76.96 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005629/7.426, allocations: 161.6 kB / 3.723 GB, free: 76.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005241/7.427, allocations: 123.8 kB / 3.723 GB, free: 76.68 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07083/7.498, allocations: 12.73 MB / 3.736 GB, free: 63.89 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001601/7.5, allocations: 83.53 kB / 3.736 GB, free: 63.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/7.5, allocations: 39.88 kB / 3.736 GB, free: 63.77 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/7.5, allocations: 4 kB / 3.736 GB, free: 63.76 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07283/7.573, allocations: 12.47 MB / 3.748 GB, free: 51.27 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/7.573, allocations: 4 kB / 3.748 GB, free: 51.27 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005146/7.573, allocations: 165.9 kB / 3.748 GB, free: 51.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005256/7.574, allocations: 123.9 kB / 3.748 GB, free: 50.98 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0712/7.645, allocations: 12.73 MB / 3.761 GB, free: 38.18 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001352/7.646, allocations: 67.61 kB / 3.761 GB, free: 38.12 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/7.646, allocations: 39.98 kB / 3.761 GB, free: 38.08 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.0002858/7.647, allocations: 119.6 kB / 3.761 GB, free: 37.96 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002238/7.647, allocations: 114.6 kB / 3.761 GB, free: 37.84 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.03686/7.684, allocations: 6.455 MB / 3.767 GB, free: 31.38 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