Running: ./testmodel.py --libraries=/var/lib/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 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.022/2.022, allocations: 253.1 MB / 260.4 MB, free: 7.492 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001598/0.001597, allocations: 185.2 kB / 319.6 MB, free: 3.332 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.1/2.1, allocations: 205.4 MB / 0.5704 GB, free: 15.08 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001391/0.001391, allocations: 98.28 kB / 0.6746 GB, free: 4.445 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.869e-06/1.005e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2074/0.2075, allocations: 106.3 MB / 0.8881 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.356/6.564, allocations: 2.477 GB / 3.365 GB, free: 226 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003268/6.564, allocations: 98.34 kB / 3.365 GB, free: 226 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.577/8.141, allocations: 342.5 MB / 3.699 GB, free: 151.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001483/8.141, allocations: 21.56 kB / 3.699 GB, free: 151.5 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 0.004587/8.146, allocations: 1.513 MB / 3.701 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/8.146, allocations: 10.81 kB / 3.701 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001751/8.148, allocations: 227.1 kB / 3.701 GB, free: 150.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005186/8.153, allocations: 1.635 MB / 3.703 GB, free: 150.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.867e-05/8.153, allocations: 18.56 kB / 3.703 GB, free: 150.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001878/8.153, allocations: 38.78 kB / 3.703 GB, free: 150.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001989/8.155, allocations: 0.6961 MB / 3.703 GB, free: 150.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001625/8.157, allocations: 0.641 MB / 3.704 GB, free: 150.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.215e-05/8.157, allocations: 3.281 kB / 3.704 GB, free: 150.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.115e-05/8.157, allocations: 0 / 3.704 GB, free: 150.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.34e-05/8.157, allocations: 20.84 kB / 3.704 GB, free: 150.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008079/8.165, allocations: 3.524 MB / 3.707 GB, free: 149.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001722/8.167, allocations: 0.6958 MB / 3.708 GB, free: 149.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006814/8.168, allocations: 313.7 kB / 3.708 GB, free: 149.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007113/8.175, allocations: 3.751 MB / 3.712 GB, free: 146 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008366/8.176, allocations: 361.4 kB / 3.712 GB, free: 145.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=52): time 3.937e-06/8.176, allocations: 0 / 3.712 GB, free: 145.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=52): time 0.1011/8.277, allocations: 6.766 MB / 3.719 GB, free: 145.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.724e-05/8.277, allocations: 83 kB / 3.719 GB, free: 145.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004706/8.282, allocations: 1.418 MB / 3.72 GB, free: 144.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003125/8.282, allocations: 31.62 kB / 3.72 GB, free: 144.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004811/8.283, allocations: 314.6 kB / 3.721 GB, free: 144.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003657/8.283, allocations: 174.6 kB / 3.721 GB, free: 144.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.72e-05/8.283, allocations: 3.375 kB / 3.721 GB, free: 144.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001156/8.283, allocations: 332.6 kB / 3.721 GB, free: 144.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001062/8.284, allocations: 286.6 kB / 3.722 GB, free: 143.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001556/8.286, allocations: 0.5786 MB / 3.722 GB, free: 143.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1603/8.446, allocations: 12.04 MB / 3.734 GB, free: 142.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.58e-05/8.446, allocations: 0 / 3.734 GB, free: 142.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.149/8.595, allocations: 12.61 MB / 3.746 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002671/8.595, allocations: 0.9741 MB / 3.747 GB, free: 139.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/8.595, allocations: 4.625 kB / 3.747 GB, free: 139.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000875/8.596, allocations: 154.6 kB / 3.747 GB, free: 139.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/8.597, allocations: 132.3 kB / 3.747 GB, free: 139.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1422/8.74, allocations: 12.72 MB / 3.76 GB, free: 134.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002003/8.742, allocations: 74.36 kB / 3.76 GB, free: 134.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002132/8.742, allocations: 42.94 kB / 3.76 GB, free: 134.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/8.742, allocations: 3.781 kB / 3.76 GB, free: 134.3 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1468/8.889, allocations: 12.47 MB / 3.772 GB, free: 129.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/8.889, allocations: 6.688 kB / 3.772 GB, free: 129.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008481/8.89, allocations: 166.5 kB / 3.772 GB, free: 129.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/8.891, allocations: 131.8 kB / 3.772 GB, free: 129.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1444/9.035, allocations: 12.72 MB / 3.785 GB, free: 122.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001889/9.037, allocations: 79.48 kB / 3.785 GB, free: 122.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002087/9.037, allocations: 43.97 kB / 3.785 GB, free: 122.6 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.0003433/9.038, allocations: 119.2 kB / 3.785 GB, free: 122.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004094/9.038, allocations: 106.7 kB / 3.785 GB, free: 122.4 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.07224/9.11, allocations: 6.455 MB / 3.791 GB, free: 115.9 MB / 0.8698 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.