Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/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"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01505/0.01506, allocations: 88.36 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001815/0.001815, allocations: 174.3 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.271/2.271, allocations: 205.5 MB / 222.2 MB, free: 13.73 MB / 186.8 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.548/2.548, allocations: 252.8 MB / 0.511 GB, free: 8.375 MB / 426.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0004753/0.0004754, allocations: 14.94 kB / 0.6244 GB, free: 21.15 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.2652, allocations: 106.2 MB / 0.7281 GB, free: 8.156 MB / 0.5574 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002324/0.2676, allocations: 1.048 MB / 0.7291 GB, free: 7.098 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.826/1.094, allocations: 125 MB / 0.8512 GB, free: 2.602 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.279e-05/1.094, allocations: 0 / 0.8512 GB, free: 2.602 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 4.312e-05/1.094, allocations: 4.594 kB / 0.8512 GB, free: 2.598 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.000139/1.094, allocations: 29.61 kB / 0.8512 GB, free: 2.598 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.001045/1.095, allocations: 240.7 kB / 0.8514 GB, free: 2.582 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 9.624e-05/1.095, allocations: 35.3 kB / 0.8515 GB, free: 2.582 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 5.38e-05/1.095, allocations: 4.125 kB / 0.8515 GB, free: 2.582 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 4.581e-05/1.095, allocations: 21.77 kB / 0.8515 GB, free: 2.582 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/1.095, allocations: 32.81 kB / 0.8515 GB, free: 2.578 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/1.095, allocations: 0 / 0.8515 GB, free: 2.578 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000946/1.096, allocations: 301.8 kB / 0.8518 GB, free: 2.566 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 5.599e-05/1.097, allocations: 22.91 kB / 0.8518 GB, free: 2.562 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.00012/1.097, allocations: 33.86 kB / 0.8519 GB, free: 18.53 MB / 0.6668 GB Notification: Performance of NFConvertDAE.convert: time 0.0005285/1.097, allocations: 150.9 kB / 0.852 GB, free: 18.52 MB / 0.6668 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/1.097, allocations: 0 / 0.852 GB, free: 18.52 MB / 0.6668 GB Notification: Performance of FrontEnd: time 2.565e-06/1.097, allocations: 0 / 0.852 GB, free: 18.52 MB / 0.6668 GB Notification: Performance of Transformations before backend: time 4.729e-06/1.097, allocations: 0.5469 kB / 0.852 GB, free: 18.52 MB / 0.6668 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.0004503/1.098, allocations: 373 kB / 0.8524 GB, free: 18.14 MB / 0.6668 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/1.098, allocations: 8.719 kB / 0.8524 GB, free: 18.14 MB / 0.6668 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.698e-05/1.098, allocations: 39.11 kB / 0.8524 GB, free: 18.1 MB / 0.6668 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.305e-05/1.098, allocations: 10.22 kB / 0.8524 GB, free: 18.09 MB / 0.6668 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/1.098, allocations: 172.3 kB / 0.8526 GB, free: 17.89 MB / 0.6668 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/1.098, allocations: 2.938 kB / 0.8526 GB, free: 17.89 MB / 0.6668 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/1.098, allocations: 4.375 kB / 0.8526 GB, free: 17.89 MB / 0.6668 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002395/1.098, allocations: 90.88 kB / 0.8527 GB, free: 17.86 MB / 0.6668 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/1.098, allocations: 0 / 0.8527 GB, free: 17.86 MB / 0.6668 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/1.098, allocations: 1.109 kB / 0.8527 GB, free: 17.86 MB / 0.6668 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-05/1.098, allocations: 18.22 kB / 0.8527 GB, free: 17.86 MB / 0.6668 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002077/1.099, allocations: 81.98 kB / 0.8528 GB, free: 17.85 MB / 0.6668 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006054/1.099, allocations: 338.3 kB / 0.8531 GB, free: 17.58 MB / 0.6668 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002428/1.099, allocations: 100.9 kB / 0.8532 GB, free: 17.55 MB / 0.6668 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001302/1.101, allocations: 490.6 kB / 0.8537 GB, free: 17.07 MB / 0.6668 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.226e-05/1.101, allocations: 36.25 kB / 0.8537 GB, free: 17.03 MB / 0.6668 GB Notification: Performance of pre-optimization done (n=11): time 3.556e-06/1.101, allocations: 0 / 0.8537 GB, free: 17.03 MB / 0.6668 GB Notification: Performance of matching and sorting (n=11): time 0.0003996/1.101, allocations: 122.9 kB / 0.8538 GB, free: 17 MB / 0.6668 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/1.101, allocations: 53.31 kB / 0.8539 GB, free: 16.93 MB / 0.6668 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/1.101, allocations: 117.2 kB / 0.854 GB, free: 16.83 MB / 0.6668 GB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/1.101, allocations: 28.08 kB / 0.854 GB, free: 16.8 MB / 0.6668 GB Notification: Performance of collectInitialEqns (initialization): time 6.328e-05/1.102, allocations: 102.7 kB / 0.8541 GB, free: 16.71 MB / 0.6668 GB Notification: Performance of collectInitialBindings (initialization): time 3.629e-05/1.102, allocations: 34.58 kB / 0.8541 GB, free: 16.68 MB / 0.6668 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.828e-06/1.102, allocations: 6.875 kB / 0.8541 GB, free: 16.68 MB / 0.6668 GB Notification: Performance of setup shared object (initialization): time 0.0001405/1.102, allocations: 312.9 kB / 0.8544 GB, free: 16.37 MB / 0.6668 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.259e-05/1.102, allocations: 32.33 kB / 0.8545 GB, free: 16.37 MB / 0.6668 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/1.102, allocations: 75.7 kB / 0.8545 GB, free: 16.32 MB / 0.6668 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/1.102, allocations: 49.95 kB / 0.8546 GB, free: 16.31 MB / 0.6668 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/1.102, allocations: 0 / 0.8546 GB, free: 16.31 MB / 0.6668 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003475/1.103, allocations: 135.1 kB / 0.8547 GB, free: 16.27 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/1.103, allocations: 13.02 kB / 0.8547 GB, free: 16.26 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/1.103, allocations: 5.469 kB / 0.8547 GB, free: 16.26 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/1.103, allocations: 0 / 0.8547 GB, free: 16.26 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/1.103, allocations: 30.75 kB / 0.8548 GB, free: 16.26 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/1.103, allocations: 5.469 kB / 0.8548 GB, free: 16.26 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.689e-05/1.103, allocations: 11.78 kB / 0.8548 GB, free: 16.25 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.967e-05/1.103, allocations: 10.34 kB / 0.8548 GB, free: 16.25 MB / 0.6668 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 () * Number of clocked 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 0.0001396/1.103, allocations: 121 kB / 0.8549 GB, free: 16.14 MB / 0.6668 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.044e-05/1.103, allocations: 6.844 kB / 0.8549 GB, free: 16.13 MB / 0.6668 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003937/1.104, allocations: 130.2 kB / 0.855 GB, free: 16.07 MB / 0.6668 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/1.104, allocations: 1.875 kB / 0.855 GB, free: 16.07 MB / 0.6668 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/1.104, allocations: 0 / 0.855 GB, free: 16.07 MB / 0.6668 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/1.104, allocations: 3.984 kB / 0.855 GB, free: 16.07 MB / 0.6668 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000285/1.104, allocations: 181.2 kB / 0.8552 GB, free: 15.88 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/1.104, allocations: 5.031 kB / 0.8552 GB, free: 15.88 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001392/1.104, allocations: 16.55 kB / 0.8552 GB, free: 15.88 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.244e-06/1.104, allocations: 6.938 kB / 0.8552 GB, free: 15.88 MB / 0.6668 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/1.104, allocations: 5.297 kB / 0.8552 GB, free: 15.88 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/1.104, allocations: 3.953 kB / 0.8552 GB, free: 15.87 MB / 0.6668 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/1.104, allocations: 0 / 0.8552 GB, free: 15.87 MB / 0.6668 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003033/1.104, allocations: 199.6 kB / 0.8554 GB, free: 15.73 MB / 0.6668 GB Notification: Performance of postOpt removeConstants (simulation): time 9.845e-05/1.105, allocations: 87.16 kB / 0.8555 GB, free: 15.64 MB / 0.6668 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.444e-05/1.105, allocations: 1.844 kB / 0.8555 GB, free: 15.64 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.415e-05/1.105, allocations: 2.312 kB / 0.8555 GB, free: 15.64 MB / 0.6668 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.127e-05/1.105, allocations: 17.36 kB / 0.8555 GB, free: 15.63 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/1.105, allocations: 3.938 kB / 0.8555 GB, free: 15.63 MB / 0.6668 GB Notification: Performance of sorting global known variables: time 7.844e-05/1.105, allocations: 90.56 kB / 0.8556 GB, free: 15.56 MB / 0.6668 GB Notification: Performance of sort global known variables: time 5.21e-07/1.105, allocations: 1.5 kB / 0.8556 GB, free: 15.56 MB / 0.6668 GB Notification: Performance of remove unused functions: time 0.0005526/1.105, allocations: 69.59 kB / 0.8557 GB, free: 15.55 MB / 0.6668 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 () * Number of clocked 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.001179/1.107, allocations: 0.8207 MB / 0.8565 GB, free: 14.86 MB / 0.6668 GB Notification: Performance of simCode: created initialization part: time 0.0002949/1.107, allocations: 83.56 kB / 0.8566 GB, free: 14.86 MB / 0.6668 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/1.107, allocations: 0 / 0.8566 GB, free: 14.86 MB / 0.6668 GB Notification: Performance of simCode: created simulation system equations: time 8.424e-05/1.107, allocations: 37 kB / 0.8566 GB, free: 14.86 MB / 0.6668 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/1.107, allocations: 19.7 kB / 0.8566 GB, free: 14.85 MB / 0.6668 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007984/1.108, allocations: 258.6 kB / 0.8569 GB, free: 14.67 MB / 0.6668 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/1.109, allocations: 0.6923 MB / 0.8576 GB, free: 13.97 MB / 0.6668 GB Notification: Performance of simCode: alias equations: time 0.0002522/1.109, allocations: 55.16 kB / 0.8576 GB, free: 13.96 MB / 0.6668 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.061e-05/1.109, allocations: 20.53 kB / 0.8576 GB, free: 13.95 MB / 0.6668 GB Notification: Performance of SimCode: time 1.072e-06/1.109, allocations: 0 / 0.8576 GB, free: 13.95 MB / 0.6668 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03278/1.142, allocations: 2.931 MB / 0.8605 GB, free: 13.64 MB / 0.6668 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002474/1.142, allocations: 241.3 kB / 0.8607 GB, free: 13.4 MB / 0.6668 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.432/3.574, allocations: 0 / 0.8607 GB, free: 13.4 MB / 0.6668 GB