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: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus") [: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.616/1.616, allocations: 289.8 MB / 297.1 MB, free: 6.656 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.001215/0.001215, allocations: 185.2 kB / 366.3 MB, free: 1.945 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.692/1.692, allocations: 205.1 MB / 0.6256 GB, free: 5.801 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.0009353/0.0009354, allocations: 86.33 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.048e-05/1.05e-05, allocations: 4 kB / 0.859 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6684/0.6685, allocations: 116.3 MB / 0.9726 GB, free: 68.77 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.471/5.139, allocations: 2.36 GB / 3.332 GB, free: 92.93 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002491/5.14, allocations: 92.81 kB / 3.332 GB, free: 92.84 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.129/6.269, allocations: 350.7 MB / 3.675 GB, free: 121.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001015/6.269, allocations: 24 kB / 3.675 GB, free: 121.2 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 0.003264/6.272, allocations: 1.504 MB / 3.676 GB, free: 119.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/6.272, allocations: 11.97 kB / 3.676 GB, free: 119.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008905/6.273, allocations: 238.2 kB / 3.677 GB, free: 119.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002726/6.276, allocations: 1.63 MB / 3.678 GB, free: 117.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.894e-05/6.276, allocations: 16 kB / 3.678 GB, free: 117.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.457e-05/6.276, allocations: 43.98 kB / 3.678 GB, free: 117.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001005/6.277, allocations: 0.6936 MB / 3.679 GB, free: 116.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008842/6.278, allocations: 0.6479 MB / 3.68 GB, free: 116.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/6.278, allocations: 0 / 3.68 GB, free: 116.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.51e-05/6.278, allocations: 0 / 3.68 GB, free: 116.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.471e-05/6.278, allocations: 20 kB / 3.68 GB, free: 116.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004311/6.282, allocations: 3.518 MB / 3.683 GB, free: 112.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008905/6.283, allocations: 0.6995 MB / 3.684 GB, free: 111.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003558/6.284, allocations: 314.1 kB / 3.684 GB, free: 111.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003481/6.287, allocations: 3.743 MB / 3.688 GB, free: 107.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004513/6.288, allocations: 364.4 kB / 3.688 GB, free: 107 MB / 0.948 GB Notification: Performance of pre-optimization done (n=52): time 2.555e-06/6.288, allocations: 4 kB / 3.688 GB, free: 107 MB / 0.948 GB Notification: Performance of matching and sorting (n=52): time 0.03679/6.325, allocations: 6.758 MB / 3.695 GB, free: 100.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/6.325, allocations: 81.55 kB / 3.695 GB, free: 100.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001964/6.327, allocations: 1.423 MB / 3.696 GB, free: 98.64 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001301/6.327, allocations: 29.7 kB / 3.696 GB, free: 98.61 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002527/6.327, allocations: 324.4 kB / 3.696 GB, free: 98.29 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001574/6.327, allocations: 177.5 kB / 3.697 GB, free: 98.11 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.252e-05/6.327, allocations: 0 / 3.697 GB, free: 98.11 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.328e-05/6.327, allocations: 330 kB / 3.697 GB, free: 97.79 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003613/6.328, allocations: 281.2 kB / 3.697 GB, free: 97.51 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000569/6.328, allocations: 0.5839 MB / 3.698 GB, free: 96.87 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06748/6.396, allocations: 12.05 MB / 3.71 GB, free: 84.81 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-05/6.396, allocations: 0 / 3.71 GB, free: 84.81 MB / 0.948 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.07039/6.466, allocations: 12.61 MB / 3.722 GB, free: 72.18 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002142/6.466, allocations: 0.9584 MB / 3.723 GB, free: 71.14 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/6.466, allocations: 7.984 kB / 3.723 GB, free: 71.14 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005449/6.467, allocations: 161.6 kB / 3.723 GB, free: 70.97 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005028/6.468, allocations: 127.8 kB / 3.723 GB, free: 70.85 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06764/6.535, allocations: 12.73 MB / 3.736 GB, free: 58.05 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/6.537, allocations: 75.55 kB / 3.736 GB, free: 57.98 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/6.537, allocations: 39.89 kB / 3.736 GB, free: 57.94 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/6.537, allocations: 4 kB / 3.736 GB, free: 57.93 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0688/6.606, allocations: 12.47 MB / 3.748 GB, free: 45.44 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/6.606, allocations: 0 / 3.748 GB, free: 45.44 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004811/6.606, allocations: 161.6 kB / 3.748 GB, free: 45.28 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005001/6.607, allocations: 131.8 kB / 3.748 GB, free: 45.15 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06742/6.674, allocations: 12.72 MB / 3.761 GB, free: 32.36 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001844/6.676, allocations: 79.64 kB / 3.761 GB, free: 32.29 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001513/6.676, allocations: 35.98 kB / 3.761 GB, free: 32.25 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.0003992/6.677, allocations: 112.9 kB / 3.761 GB, free: 32.13 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002538/6.677, allocations: 114.5 kB / 3.761 GB, free: 32.02 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.03515/6.712, allocations: 6.456 MB / 3.767 GB, free: 25.55 MB / 0.948 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.