Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity",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 7.0.1/package.mo): time 2.094/2.094, allocations: 248.6 MB / 255.9 MB, free: 7.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001715/0.001714, allocations: 186.9 kB / 315.1 MB, free: 4.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.847/1.847, allocations: 205.2 MB / 0.5658 GB, free: 356 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001333/0.001333, allocations: 91.14 kB / 0.67 GB, free: 5.574 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4565/0.4579, allocations: 112.4 MB / 0.7797 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.6699, allocations: 106.3 MB / 0.8835 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.816/6.486, allocations: 2.173 GB / 3.057 GB, free: 144 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003377/6.486, allocations: 92.38 kB / 3.057 GB, free: 143.9 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.09447/6.581, allocations: 27.74 MB / 3.084 GB, free: 121.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/6.581, allocations: 8 kB / 3.084 GB, free: 121.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.257e-05/6.581, allocations: 7.906 kB / 3.084 GB, free: 121.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.454e-05/6.581, allocations: 163 kB / 3.084 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/6.581, allocations: 0 / 3.084 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.929e-05/6.581, allocations: 7.906 kB / 3.084 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001998/6.581, allocations: 70.16 kB / 3.084 GB, free: 120.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/6.581, allocations: 83.98 kB / 3.084 GB, free: 120.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/6.581, allocations: 0 / 3.084 GB, free: 120.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/6.581, allocations: 4 kB / 3.084 GB, free: 120.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.132e-05/6.581, allocations: 19.92 kB / 3.084 GB, free: 120.7 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005551/6.582, allocations: 318.2 kB / 3.085 GB, free: 120.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001994/6.582, allocations: 93.95 kB / 3.085 GB, free: 120.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/6.582, allocations: 48.69 kB / 3.085 GB, free: 120.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001/6.583, allocations: 460.7 kB / 3.085 GB, free: 119.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/6.583, allocations: 38.11 kB / 3.085 GB, free: 119.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=11): time 3.096e-06/6.583, allocations: 0 / 3.085 GB, free: 119.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11): time 0.1812/6.764, allocations: 9.266 MB / 3.094 GB, free: 110.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.8e-05/6.765, allocations: 60.17 kB / 3.094 GB, free: 110.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/6.765, allocations: 104.7 kB / 3.094 GB, free: 110.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/6.765, allocations: 25.7 kB / 3.094 GB, free: 110.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.938e-05/6.765, allocations: 100.2 kB / 3.095 GB, free: 110.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.014e-05/6.765, allocations: 38.89 kB / 3.095 GB, free: 110.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.095e-06/6.765, allocations: 0 / 3.095 GB, free: 110.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.149e-05/6.765, allocations: 314.8 kB / 3.095 GB, free: 110.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.953e-05/6.765, allocations: 27.48 kB / 3.095 GB, free: 110.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.754e-05/6.765, allocations: 69.36 kB / 3.095 GB, free: 110 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2015/6.967, allocations: 9.224 MB / 3.104 GB, free: 101.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/6.967, allocations: 0 / 3.104 GB, free: 101.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.1986/7.165, allocations: 9.312 MB / 3.113 GB, free: 92.02 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/7.165, allocations: 4 kB / 3.113 GB, free: 92.02 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/7.165, allocations: 0 / 3.113 GB, free: 92.02 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/7.165, allocations: 4 kB / 3.113 GB, free: 92.01 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000215/7.166, allocations: 27.92 kB / 3.113 GB, free: 91.98 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/7.166, allocations: 4 kB / 3.113 GB, free: 91.98 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.115e-05/7.166, allocations: 15.78 kB / 3.113 GB, free: 91.96 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/7.166, allocations: 4 kB / 3.113 GB, free: 91.96 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.018e-05/7.166, allocations: 115.3 kB / 3.113 GB, free: 91.84 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.124e-05/7.166, allocations: 7.906 kB / 3.113 GB, free: 91.84 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2021/7.368, allocations: 9.304 MB / 3.122 GB, free: 82.51 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/7.368, allocations: 0 / 3.122 GB, free: 82.51 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/7.368, allocations: 8 kB / 3.122 GB, free: 82.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/7.368, allocations: 0 / 3.122 GB, free: 82.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002095/7.368, allocations: 158.1 kB / 3.122 GB, free: 82.31 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/7.368, allocations: 0 / 3.122 GB, free: 82.31 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001377/7.368, allocations: 15.98 kB / 3.122 GB, free: 82.29 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.456e-06/7.368, allocations: 4 kB / 3.122 GB, free: 82.29 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/7.368, allocations: 0 / 3.122 GB, free: 82.29 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/7.368, allocations: 0 / 3.122 GB, free: 82.29 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/7.368, allocations: 0 / 3.122 GB, free: 82.29 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1853/7.554, allocations: 9.386 MB / 3.132 GB, free: 72.88 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.178/7.732, allocations: 9.753 MB / 3.141 GB, free: 63.09 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.802e-05/7.732, allocations: 97.08 kB / 3.141 GB, free: 62.98 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.973e-05/7.732, allocations: 4 kB / 3.141 GB, free: 62.97 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/7.732, allocations: 3.906 kB / 3.141 GB, free: 62.97 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.1e-05/7.732, allocations: 11.98 kB / 3.141 GB, free: 62.96 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/7.732, allocations: 0 / 3.141 GB, free: 62.96 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.162e-05/7.732, allocations: 91.27 kB / 3.141 GB, free: 62.87 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0016/7.734, allocations: 163.9 kB / 3.142 GB, free: 62.71 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001261/7.735, allocations: 0.7346 MB / 3.142 GB, free: 61.98 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002496/7.735, allocations: 75.86 kB / 3.142 GB, free: 61.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/7.735, allocations: 320 / 3.142 GB, free: 61.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 6.765e-05/7.736, allocations: 43.92 kB / 3.142 GB, free: 61.86 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/7.736, allocations: 7.984 kB / 3.142 GB, free: 61.85 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000355/7.736, allocations: 103.8 kB / 3.142 GB, free: 61.73 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002035/7.736, allocations: 0.7112 MB / 3.143 GB, free: 60.99 MB / 0.8698 GB Notification: Performance of SimCode: time 1.072e-06/7.736, allocations: 0 / 3.143 GB, free: 60.99 MB / 0.8698 GB