Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01556/0.01556, allocations: 107.7 kB / 15.05 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001837/0.001837, allocations: 183.5 kB / 15.94 MB, free: 5.941 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.693/2.693, allocations: 194.6 MB / 211.3 MB, free: 11.07 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.408/2.408, allocations: 236.1 MB / 492.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004963/0.0004962, allocations: 12 kB / 0.587 GB, free: 2.066 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7286/0.7291, allocations: 98.71 MB / 0.6834 GB, free: 16.62 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2311/0.9603, allocations: 125.7 MB / 0.8062 GB, free: 0.4961 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003431/0.9607, allocations: 99.88 kB / 0.8063 GB, free: 408 kB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.01258/0.9733, allocations: 2.32 MB / 0.8085 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.614e-06/0.9733, allocations: 0 / 0.8085 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.815e-06/0.9733, allocations: 0 / 0.8085 GB, free: 14.07 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003865/0.9737, allocations: 339.3 kB / 0.8088 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.9738, allocations: 12.03 kB / 0.8089 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.293e-05/0.9739, allocations: 30.56 kB / 0.8089 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.442e-05/0.9739, allocations: 3.938 kB / 0.8089 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.974, allocations: 167 kB / 0.809 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.9741, allocations: 4 kB / 0.809 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.9741, allocations: 4 kB / 0.8091 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.9742, allocations: 41.62 kB / 0.8091 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.9742, allocations: 0 / 0.8091 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.9742, allocations: 3.984 kB / 0.8091 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.9743, allocations: 0 / 0.8091 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.117e-05/0.9743, allocations: 11.98 kB / 0.8091 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000189/0.9745, allocations: 157.7 kB / 0.8093 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/0.9747, allocations: 34.64 kB / 0.8093 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002049/0.9767, allocations: 0.5588 MB / 0.8098 GB, free: 12.49 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.02e-05/0.9768, allocations: 34.56 kB / 0.8099 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.715e-06/0.9768, allocations: 0 / 0.8099 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002327/0.9771, allocations: 49.59 kB / 0.8099 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.9771, allocations: 51.41 kB / 0.81 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.362e-05/0.9772, allocations: 89 kB / 0.8101 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.9772, allocations: 25.7 kB / 0.8101 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.509e-05/0.9773, allocations: 80.14 kB / 0.8102 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.287e-05/0.9773, allocations: 12.03 kB / 0.8102 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-06/0.9773, allocations: 4 kB / 0.8102 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.9775, allocations: 318.8 kB / 0.8105 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.194e-05/0.9775, allocations: 4 kB / 0.8105 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.187e-05/0.9775, allocations: 7.938 kB / 0.8105 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.862e-05/0.9776, allocations: 4 kB / 0.8105 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.9776, allocations: 0 / 0.8105 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001051/0.9777, allocations: 49.69 kB / 0.8105 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.9777, allocations: 5.406 kB / 0.8105 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.9777, allocations: 0 / 0.8105 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.9778, allocations: 8 kB / 0.8105 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.38e-05/0.9778, allocations: 4 kB / 0.8106 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.9779, allocations: 0 / 0.8106 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.616e-05/0.9779, allocations: 7.922 kB / 0.8106 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.9779, allocations: 0 / 0.8106 GB, free: 11.69 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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 8.581e-05/0.978, allocations: 113.8 kB / 0.8107 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.035e-05/0.978, allocations: 0 / 0.8107 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000171/0.9782, allocations: 64.97 kB / 0.8107 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.9782, allocations: 4 kB / 0.8107 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.9782, allocations: 0 / 0.8107 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.9783, allocations: 0 / 0.8107 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.9784, allocations: 157.6 kB / 0.8109 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.9784, allocations: 4 kB / 0.8109 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.254e-05/0.9785, allocations: 4 kB / 0.8109 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.9785, allocations: 0 / 0.8109 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-06/0.9785, allocations: 0 / 0.8109 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.9785, allocations: 3.984 kB / 0.8109 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.9785, allocations: 0 / 0.8109 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000122/0.9786, allocations: 73.44 kB / 0.811 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.375e-05/0.9787, allocations: 85.09 kB / 0.811 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.9787, allocations: 4 kB / 0.811 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.847e-05/0.9788, allocations: 0 / 0.811 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.391e-05/0.9788, allocations: 0 / 0.811 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.9788, allocations: 4 kB / 0.8111 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.71e-05/0.9788, allocations: 79.28 kB / 0.8111 GB, free: 11 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.71e-07/0.9788, allocations: 96 / 0.8111 GB, free: 11 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003714/0.9792, allocations: 35.92 kB / 0.8112 GB, free: 10.96 MB / 0.6355 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 (3): * Single equations (assignments): 3 * 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.00065/0.9799, allocations: 0.6421 MB / 0.8118 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001071/0.98, allocations: 8 kB / 0.8118 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.98, allocations: 0 / 0.8118 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.499e-05/0.9801, allocations: 15.98 kB / 0.8118 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002269/0.9803, allocations: 2.75 kB / 0.8118 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004907/0.9808, allocations: 156.2 kB / 0.812 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002365/0.9811, allocations: 0.6809 MB / 0.8126 GB, free: 9.367 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.767e-05/0.9811, allocations: 11.94 kB / 0.8126 GB, free: 9.355 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.583e-05/0.9812, allocations: 11.44 kB / 0.8127 GB, free: 9.344 MB / 0.6355 GB Notification: Performance of SimCode: time 1.302e-06/0.9812, allocations: 0 / 0.8127 GB, free: 9.344 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02036/1.002, allocations: 1.456 MB / 0.8141 GB, free: 8.02 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003212/1.002, allocations: 212.2 kB / 0.8143 GB, free: 7.777 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.328/3.33, allocations: 0 / 0.8143 GB, free: 7.777 MB / 0.6355 GB