Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_CoolingTowers_Validation_MerkelEnergyPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.42/2.42, allocations: 284.8 MB / 292.1 MB, free: 10.79 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.001714/0.001714, allocations: 185.3 kB / 360.3 MB, free: 7.551 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.889/1.889, allocations: 205.1 MB / 0.6187 GB, free: 13.23 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.0022/0.002199, allocations: 85.47 kB / 0.7317 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2903/0.2926, allocations: 121.4 MB / 0.8502 GB, free: 3.957 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6801/0.9727, allocations: 115.2 MB / 0.9628 GB, free: 78.52 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.302/6.275, allocations: 2.359 GB / 3.322 GB, free: 31.09 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000327/6.275, allocations: 101.1 kB / 3.322 GB, free: 31.04 MB / 0.9323 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.539/7.815, allocations: 351.9 MB / 3.665 GB, free: 56.17 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/7.815, allocations: 12 kB / 3.665 GB, free: 56.16 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001616/7.817, allocations: 226.2 kB / 3.666 GB, free: 55.94 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004963/7.822, allocations: 1.643 MB / 3.667 GB, free: 54.24 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.684e-05/7.822, allocations: 20 kB / 3.667 GB, free: 54.22 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/7.822, allocations: 36 kB / 3.667 GB, free: 54.19 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00187/7.824, allocations: 0.6936 MB / 3.668 GB, free: 53.49 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001564/7.825, allocations: 0.6479 MB / 3.669 GB, free: 52.82 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.031e-05/7.825, allocations: 0 / 3.669 GB, free: 52.82 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-05/7.825, allocations: 8 kB / 3.669 GB, free: 52.81 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.659e-05/7.825, allocations: 12 kB / 3.669 GB, free: 52.8 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007874/7.833, allocations: 3.523 MB / 3.672 GB, free: 49.17 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00173/7.835, allocations: 0.6996 MB / 3.673 GB, free: 48.46 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006636/7.836, allocations: 314.1 kB / 3.673 GB, free: 48.15 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006412/7.842, allocations: 3.738 MB / 3.677 GB, free: 43.88 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008354/7.843, allocations: 368.3 kB / 3.677 GB, free: 43.51 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=52): time 4.038e-06/7.843, allocations: 0 / 3.677 GB, free: 43.51 MB / 0.9323 GB Notification: Performance of matching and sorting (n=52): time 0.07702/7.92, allocations: 6.758 MB / 3.684 GB, free: 36.74 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/7.92, allocations: 81.55 kB / 3.684 GB, free: 36.64 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003606/7.924, allocations: 1.423 MB / 3.685 GB, free: 35.2 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002839/7.924, allocations: 33.69 kB / 3.685 GB, free: 35.16 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003361/7.925, allocations: 316.5 kB / 3.685 GB, free: 34.85 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002584/7.925, allocations: 177.4 kB / 3.686 GB, free: 34.68 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.426e-05/7.925, allocations: 0 / 3.686 GB, free: 34.68 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.788e-05/7.925, allocations: 334 kB / 3.686 GB, free: 34.34 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007351/7.926, allocations: 281.2 kB / 3.686 GB, free: 34.07 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001037/7.927, allocations: 0.5878 MB / 3.687 GB, free: 33.42 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1451/8.072, allocations: 12.04 MB / 3.698 GB, free: 21.37 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.376e-05/8.072, allocations: 0 / 3.698 GB, free: 21.37 MB / 0.9323 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.1471/8.219, allocations: 12.61 MB / 3.711 GB, free: 8.734 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002268/8.219, allocations: 0.9663 MB / 3.712 GB, free: 7.699 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/8.219, allocations: 0 / 3.712 GB, free: 7.699 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008627/8.22, allocations: 169.5 kB / 3.712 GB, free: 7.527 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/8.221, allocations: 131.9 kB / 3.712 GB, free: 7.398 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5063/8.728, allocations: 12.72 MB / 3.724 GB, free: 292.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001967/8.73, allocations: 74.17 kB / 3.724 GB, free: 292.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001941/8.73, allocations: 43.17 kB / 3.725 GB, free: 292.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/8.73, allocations: 3.969 kB / 3.725 GB, free: 292.3 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1468/8.877, allocations: 12.47 MB / 3.737 GB, free: 292.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/8.877, allocations: 0 / 3.737 GB, free: 292.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000824/8.878, allocations: 163.3 kB / 3.737 GB, free: 292.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/8.879, allocations: 131.3 kB / 3.737 GB, free: 292.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1447/9.024, allocations: 12.72 MB / 3.749 GB, free: 291.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001892/9.026, allocations: 73 kB / 3.749 GB, free: 291.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002031/9.026, allocations: 41.83 kB / 3.75 GB, free: 291.1 MB / 0.9323 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.0003385/9.026, allocations: 115.4 kB / 3.75 GB, free: 291 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003945/9.027, allocations: 110.1 kB / 3.75 GB, free: 291 MB / 0.9323 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.07406/9.101, allocations: 6.452 MB / 3.756 GB, free: 290.4 MB / 0.9323 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