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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 3.846/3.846, allocations: 432.6 MB / 445.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.628e-05/3.652e-05, allocations: 3.875 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/0.2424, allocations: 98.74 MB / 0.6347 GB, free: 1.875 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2377/0.4801, allocations: 125.6 MB / 0.7574 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003418/0.4805, allocations: 87.92 kB / 0.7574 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0123/0.4929, allocations: 2.315 MB / 0.7597 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4929, allocations: 4 kB / 0.7597 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.704e-06/0.4929, allocations: 4 kB / 0.7597 GB, free: 1.723 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.0003463/0.4933, allocations: 334.4 kB / 0.76 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/0.4933, allocations: 8.031 kB / 0.76 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.801e-05/0.4934, allocations: 30.56 kB / 0.7601 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.766e-05/0.4934, allocations: 7.984 kB / 0.7601 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.4936, allocations: 171 kB / 0.7602 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.736e-06/0.4936, allocations: 0 / 0.7602 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.4936, allocations: 0 / 0.7602 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.853e-05/0.4937, allocations: 37.7 kB / 0.7603 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.4938, allocations: 0 / 0.7603 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.4938, allocations: 0 / 0.7603 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.4938, allocations: 0 / 0.7603 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.009e-05/0.4939, allocations: 15.92 kB / 0.7603 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001734/0.494, allocations: 157.7 kB / 0.7604 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.995e-05/0.4942, allocations: 26.58 kB / 0.7605 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.263e-05/0.4942, allocations: 20.92 kB / 0.7605 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001887/0.4961, allocations: 0.5472 MB / 0.761 GB, free: 152 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.4962, allocations: 38.56 kB / 0.7611 GB, free: 104 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.545e-06/0.4962, allocations: 0 / 0.7611 GB, free: 104 kB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001665/0.4964, allocations: 45.62 kB / 0.7611 GB, free: 52 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.694e-05/0.4964, allocations: 51.41 kB / 0.7611 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.012e-05/0.4965, allocations: 93 kB / 0.7612 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.4965, allocations: 29.64 kB / 0.7613 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.348e-05/0.4966, allocations: 80.14 kB / 0.7613 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.172e-05/0.4966, allocations: 11.94 kB / 0.7614 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-06/0.4966, allocations: 3.938 kB / 0.7614 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.4968, allocations: 318.8 kB / 0.7617 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.883e-05/0.4968, allocations: 4 kB / 0.7617 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.133e-05/0.4968, allocations: 7.984 kB / 0.7617 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.722e-05/0.4969, allocations: 4 kB / 0.7617 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.4969, allocations: 0 / 0.7617 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001052/0.497, allocations: 49.62 kB / 0.7617 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.497, allocations: 4 kB / 0.7617 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.497, allocations: 4 kB / 0.7617 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.4971, allocations: 0 / 0.7617 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.088e-05/0.4971, allocations: 8 kB / 0.7617 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.4972, allocations: 0 / 0.7617 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.404e-05/0.4972, allocations: 0 / 0.7617 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.4972, allocations: 0 / 0.7617 GB, free: 15.35 MB / 0.6511 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 () * 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 7.286e-05/0.4973, allocations: 109.5 kB / 0.7618 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.275e-05/0.4973, allocations: 4 kB / 0.7618 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001667/0.4975, allocations: 65.34 kB / 0.7619 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.4975, allocations: 3.938 kB / 0.7619 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.4975, allocations: 0 / 0.7619 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.4975, allocations: 0 / 0.7619 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001276/0.4977, allocations: 157.6 kB / 0.7621 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.4977, allocations: 0 / 0.7621 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-05/0.4977, allocations: 8 kB / 0.7621 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.4978, allocations: 4 kB / 0.7621 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.4978, allocations: 4 kB / 0.7621 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.4978, allocations: 0 / 0.7621 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.4978, allocations: 0 / 0.7621 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001133/0.4979, allocations: 73.03 kB / 0.7621 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.176e-05/0.498, allocations: 81.06 kB / 0.7622 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.498, allocations: 7.938 kB / 0.7622 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.964e-05/0.498, allocations: 0 / 0.7622 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.066e-05/0.4981, allocations: 3.984 kB / 0.7622 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.4981, allocations: 0 / 0.7622 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.304e-05/0.4981, allocations: 83.22 kB / 0.7623 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.61e-07/0.4981, allocations: 4.094 kB / 0.7623 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003044/0.4985, allocations: 28 kB / 0.7623 GB, free: 14.63 MB / 0.6511 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 (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.0006518/0.4991, allocations: 0.6396 MB / 0.763 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001007/0.4992, allocations: 19.92 kB / 0.763 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.4993, allocations: 4 kB / 0.763 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.347e-05/0.4993, allocations: 4 kB / 0.763 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001909/0.4995, allocations: 5.875 kB / 0.763 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003605/0.4999, allocations: 102.6 kB / 0.7631 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/0.5001, allocations: 0.677 MB / 0.7638 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.114e-05/0.5002, allocations: 4 kB / 0.7638 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.876e-05/0.5002, allocations: 11.44 kB / 0.7638 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of SimCode: time 1.112e-06/0.5002, allocations: 0 / 0.7638 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02331/0.5236, allocations: 1.464 MB / 0.7652 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003484/0.524, allocations: 183.9 kB / 0.7654 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.338/2.862, allocations: 3.938 kB / 0.7654 GB, free: 11.47 MB / 0.6511 GB