Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_Validation_MerkelEnergyPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.361/2.361, allocations: 390.4 MB / 397.7 MB, free: 1.922 MB / 307 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 184.8 kB / 490.8 MB, free: 7.496 MB / 403 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 221.4 MB / 0.7863 GB, free: 316 kB / 0.5498 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 100.6 kB / 0.9264 GB, free: 0.6953 MB / 0.6904 GB Notification: Performance of FrontEnd - loaded program: time 0.6249/0.626, allocations: 149.1 MB / 1.072 GB, free: 137.4 MB / 0.7217 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.9252, allocations: 143 MB / 1.212 GB, free: 10.49 MB / 0.7373 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.254/6.179, allocations: 2.201 GB / 3.413 GB, free: 52.07 MB / 1.159 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002592/6.18, allocations: 99.94 kB / 3.413 GB, free: 51.97 MB / 1.159 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 147 * Number of variables: 147 Notification: Performance of Generate backend data structure: time 1.566/7.746, allocations: 357.5 MB / 3.762 GB, free: 164.3 MB / 1.159 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/7.746, allocations: 8 kB / 3.762 GB, free: 164.3 MB / 1.159 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008727/7.747, allocations: 222.2 kB / 3.762 GB, free: 164.1 MB / 1.159 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002692/7.75, allocations: 1.642 MB / 3.764 GB, free: 162.4 MB / 1.159 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.055e-05/7.75, allocations: 20 kB / 3.764 GB, free: 162.3 MB / 1.159 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.98e-05/7.75, allocations: 36 kB / 3.764 GB, free: 162.3 MB / 1.159 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001065/7.751, allocations: 0.7014 MB / 3.765 GB, free: 161.6 MB / 1.159 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009432/7.752, allocations: 0.6634 MB / 3.765 GB, free: 160.9 MB / 1.159 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.228e-05/7.752, allocations: 7.984 kB / 3.765 GB, free: 160.9 MB / 1.159 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.619e-05/7.752, allocations: 0 / 3.765 GB, free: 160.9 MB / 1.159 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.305e-05/7.752, allocations: 16 kB / 3.765 GB, free: 160.9 MB / 1.159 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004478/7.756, allocations: 3.55 MB / 3.769 GB, free: 157.2 MB / 1.159 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009851/7.757, allocations: 0.7193 MB / 3.77 GB, free: 156.5 MB / 1.159 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003713/7.758, allocations: 325.3 kB / 3.77 GB, free: 156.2 MB / 1.159 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003817/7.762, allocations: 3.756 MB / 3.774 GB, free: 151.9 MB / 1.159 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005029/7.762, allocations: 364.5 kB / 3.774 GB, free: 151.6 MB / 1.159 GB Notification: Performance of pre-optimization done (n=54): time 2.525e-06/7.762, allocations: 0 / 3.774 GB, free: 151.6 MB / 1.159 GB Notification: Performance of matching and sorting (n=54): time 0.03569/7.798, allocations: 6.633 MB / 3.78 GB, free: 144.9 MB / 1.159 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/7.798, allocations: 85.48 kB / 3.78 GB, free: 144.8 MB / 1.159 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001925/7.8, allocations: 1.427 MB / 3.782 GB, free: 143.4 MB / 1.159 GB Notification: Performance of collectPreVariables (initialization): time 0.0001095/7.8, allocations: 29.7 kB / 3.782 GB, free: 143.3 MB / 1.159 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002557/7.8, allocations: 320.5 kB / 3.782 GB, free: 143 MB / 1.159 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001574/7.8, allocations: 181.4 kB / 3.782 GB, free: 142.8 MB / 1.159 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.328e-05/7.8, allocations: 0 / 3.782 GB, free: 142.8 MB / 1.159 GB Notification: Performance of setup shared object (initialization): time 7.89e-05/7.801, allocations: 333.9 kB / 3.783 GB, free: 142.5 MB / 1.159 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003724/7.801, allocations: 289.2 kB / 3.783 GB, free: 142.2 MB / 1.159 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005754/7.802, allocations: 0.584 MB / 3.783 GB, free: 141.6 MB / 1.159 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06951/7.871, allocations: 12.05 MB / 3.795 GB, free: 129.5 MB / 1.159 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.477e-05/7.871, allocations: 0 / 3.795 GB, free: 129.5 MB / 1.159 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.07107/7.942, allocations: 12.62 MB / 3.808 GB, free: 116.9 MB / 1.159 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002763/7.943, allocations: 0.9744 MB / 3.809 GB, free: 115.8 MB / 1.159 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/7.943, allocations: 0 / 3.809 GB, free: 115.8 MB / 1.159 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005601/7.943, allocations: 161.6 kB / 3.809 GB, free: 115.7 MB / 1.159 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005313/7.944, allocations: 131.8 kB / 3.809 GB, free: 115.5 MB / 1.159 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06943/8.013, allocations: 12.73 MB / 3.821 GB, free: 102.7 MB / 1.159 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001657/8.015, allocations: 79.45 kB / 3.821 GB, free: 102.7 MB / 1.159 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003059/8.015, allocations: 43.97 kB / 3.821 GB, free: 102.6 MB / 1.159 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/8.015, allocations: 4 kB / 3.821 GB, free: 102.6 MB / 1.159 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07161/8.087, allocations: 12.47 MB / 3.834 GB, free: 90.12 MB / 1.159 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.211e-05/8.087, allocations: 3.938 kB / 3.834 GB, free: 90.12 MB / 1.159 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006175/8.088, allocations: 165.8 kB / 3.834 GB, free: 89.95 MB / 1.159 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006686/8.088, allocations: 127.8 kB / 3.834 GB, free: 89.82 MB / 1.159 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07038/8.159, allocations: 12.73 MB / 3.846 GB, free: 77.04 MB / 1.159 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001677/8.16, allocations: 79.53 kB / 3.846 GB, free: 76.96 MB / 1.159 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000318/8.161, allocations: 35.98 kB / 3.846 GB, free: 76.92 MB / 1.159 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 (72): * Single equations (assignments): 70 * 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.0004934/8.161, allocations: 120.9 kB / 3.846 GB, free: 76.8 MB / 1.159 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004952/8.162, allocations: 114.6 kB / 3.847 GB, free: 76.68 MB / 1.159 GB Error: Too many equations, over-determined system. The model has 69 equation(s) and 68 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03651/8.198, allocations: 6.452 MB / 3.853 GB, free: 70.23 MB / 1.159 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