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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.933/3.933, allocations: 433.2 MB / 440.7 MB, free: 4.602 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.933e-05/2.93e-05, allocations: 4.219 kB / 0.5325 GB, free: 12.7 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.208, allocations: 98.74 MB / 0.6289 GB, free: 9.16 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2251/0.4331, allocations: 124.9 MB / 0.7509 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003172/0.4335, allocations: 87.94 kB / 0.751 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01205/0.4456, allocations: 2.322 MB / 0.7532 GB, free: 9.676 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.844e-06/0.4456, allocations: 0 / 0.7532 GB, free: 9.676 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.4457, allocations: 0 / 0.7532 GB, free: 9.676 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.0003374/0.446, allocations: 330.5 kB / 0.7536 GB, free: 9.309 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.4461, allocations: 16.03 kB / 0.7536 GB, free: 9.293 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.979e-05/0.4461, allocations: 3.953 kB / 0.7536 GB, free: 9.289 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.4463, allocations: 163.1 kB / 0.7537 GB, free: 9.09 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.4463, allocations: 0 / 0.7537 GB, free: 9.09 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.4463, allocations: 4 kB / 0.7537 GB, free: 9.086 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.763e-05/0.4464, allocations: 7.984 kB / 0.7537 GB, free: 9.078 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.729e-05/0.4465, allocations: 37.62 kB / 0.7538 GB, free: 9.035 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.4465, allocations: 0 / 0.7538 GB, free: 9.035 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.4465, allocations: 0 / 0.7538 GB, free: 9.035 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.4465, allocations: 0 / 0.7538 GB, free: 9.035 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001624/0.4467, allocations: 142.1 kB / 0.7539 GB, free: 8.859 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.822e-05/0.4468, allocations: 34.61 kB / 0.7539 GB, free: 8.816 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.647e-05/0.4469, allocations: 8.922 kB / 0.754 GB, free: 8.805 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001931/0.4488, allocations: 0.5511 MB / 0.7545 GB, free: 8.18 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.4489, allocations: 34.55 kB / 0.7545 GB, free: 8.137 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.715e-06/0.4489, allocations: 0 / 0.7545 GB, free: 8.137 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002303/0.4491, allocations: 41.64 kB / 0.7546 GB, free: 8.09 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.4492, allocations: 55.41 kB / 0.7546 GB, free: 8.023 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.89e-05/0.4493, allocations: 96.98 kB / 0.7547 GB, free: 7.922 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.4493, allocations: 25.7 kB / 0.7547 GB, free: 7.891 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.69e-05/0.4493, allocations: 80.14 kB / 0.7548 GB, free: 7.809 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.098e-05/0.4494, allocations: 7.812 kB / 0.7548 GB, free: 7.801 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-06/0.4494, allocations: 0 / 0.7548 GB, free: 7.801 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.4495, allocations: 318.8 kB / 0.7551 GB, free: 7.48 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.849e-05/0.4496, allocations: 4 kB / 0.7551 GB, free: 7.477 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.75e-05/0.4496, allocations: 4.125 kB / 0.7551 GB, free: 7.473 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.884e-05/0.4497, allocations: 15.94 kB / 0.7551 GB, free: 7.457 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.4497, allocations: 0 / 0.7551 GB, free: 7.457 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001176/0.4498, allocations: 37.7 kB / 0.7552 GB, free: 7.414 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.381e-05/0.4498, allocations: 8 kB / 0.7552 GB, free: 7.406 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.4499, allocations: 3.938 kB / 0.7552 GB, free: 7.402 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.4499, allocations: 0 / 0.7552 GB, free: 7.402 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.62e-05/0.45, allocations: 7.984 kB / 0.7552 GB, free: 7.395 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.45, allocations: 3.938 kB / 0.7552 GB, free: 7.391 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.409e-05/0.45, allocations: 0 / 0.7552 GB, free: 7.391 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-06/0.45, allocations: 4 kB / 0.7552 GB, free: 7.387 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 () * 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.211e-05/0.4501, allocations: 108.9 kB / 0.7553 GB, free: 7.273 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001057/0.4502, allocations: 41.69 kB / 0.7553 GB, free: 7.227 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.997e-06/0.4503, allocations: 0 / 0.7553 GB, free: 7.227 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001833/0.4505, allocations: 57.66 kB / 0.7554 GB, free: 7.164 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.4505, allocations: 0 / 0.7554 GB, free: 7.164 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.83e-06/0.4505, allocations: 0 / 0.7554 GB, free: 7.164 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.4505, allocations: 288 / 0.7554 GB, free: 7.164 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001166/0.4506, allocations: 142.2 kB / 0.7555 GB, free: 6.988 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.4506, allocations: 4 kB / 0.7555 GB, free: 6.984 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.014e-05/0.4507, allocations: 4 kB / 0.7555 GB, free: 6.98 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/0.4507, allocations: 7.984 kB / 0.7556 GB, free: 6.973 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.4507, allocations: 0 / 0.7556 GB, free: 6.973 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.4507, allocations: 4 kB / 0.7556 GB, free: 6.969 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.4508, allocations: 0 / 0.7556 GB, free: 6.969 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001363/0.4509, allocations: 69.08 kB / 0.7556 GB, free: 6.883 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.449e-05/0.451, allocations: 81.09 kB / 0.7557 GB, free: 6.785 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.451, allocations: 4 kB / 0.7557 GB, free: 6.781 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.951e-05/0.451, allocations: 0 / 0.7557 GB, free: 6.781 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.663e-05/0.451, allocations: 7.938 kB / 0.7557 GB, free: 6.773 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.4511, allocations: 0 / 0.7557 GB, free: 6.773 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.886e-05/0.4511, allocations: 75.28 kB / 0.7558 GB, free: 6.699 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.9e-07/0.4511, allocations: 4 kB / 0.7558 GB, free: 6.695 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003449/0.4515, allocations: 27.94 kB / 0.7558 GB, free: 6.668 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 () * 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.0006185/0.4521, allocations: 0.6404 MB / 0.7564 GB, free: 5.996 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.456e-05/0.4522, allocations: 11.94 kB / 0.7565 GB, free: 5.984 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.4522, allocations: 0 / 0.7565 GB, free: 5.984 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.501e-05/0.4522, allocations: 12 kB / 0.7565 GB, free: 5.973 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001967/0.4525, allocations: 7.938 kB / 0.7565 GB, free: 5.965 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003537/0.4528, allocations: 105.6 kB / 0.7566 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002471/0.4531, allocations: 0.6729 MB / 0.7572 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.57e-05/0.4531, allocations: 7.984 kB / 0.7572 GB, free: 5.117 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.803e-05/0.4532, allocations: 7.438 kB / 0.7572 GB, free: 5.109 MB / 0.6355 GB Notification: Performance of SimCode: time 7.11e-07/0.4532, allocations: 0 / 0.7572 GB, free: 5.109 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03689/0.4901, allocations: 1.16 MB / 0.7584 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003104/0.4905, allocations: 178.9 kB / 0.7585 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.202/2.692, allocations: 0 / 0.7585 GB, free: 3.766 MB / 0.6355 GB