Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Examples.SmoothMin.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.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.539/4.539, allocations: 432.6 MB / 445.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.014e-05/4.033e-05, allocations: 6.156 kB / 0.5383 GB, free: 10.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.2206, allocations: 98.73 MB / 0.6347 GB, free: 1.941 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2291/0.4498, allocations: 124.6 MB / 0.7564 GB, free: 5.168 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003097/0.4502, allocations: 71.95 kB / 0.7565 GB, free: 5.098 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005355/0.4555, allocations: 1.141 MB / 0.7576 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4556, allocations: 0 / 0.7576 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.224e-06/0.4556, allocations: 0 / 0.7576 GB, free: 3.953 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005041/0.4561, allocations: 362.4 kB / 0.7579 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/0.4562, allocations: 8.031 kB / 0.7579 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.938e-05/0.4563, allocations: 34.56 kB / 0.758 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001506/0.4578, allocations: 191.6 kB / 0.7582 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/0.458, allocations: 171 kB / 0.7583 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.458, allocations: 0 / 0.7583 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.887e-05/0.4581, allocations: 8 kB / 0.7583 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003395/0.4584, allocations: 109.6 kB / 0.7584 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.4584, allocations: 3.938 kB / 0.7584 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.053e-05/0.4585, allocations: 0 / 0.7584 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.4585, allocations: 4 kB / 0.7584 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003229/0.4588, allocations: 115.9 kB / 0.7585 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001535/0.4604, allocations: 457.2 kB / 0.759 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000729/0.4611, allocations: 162.4 kB / 0.7591 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001474/0.4613, allocations: 48.98 kB / 0.7592 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.772e-05/0.4614, allocations: 3.953 kB / 0.7592 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.4614, allocations: 38.48 kB / 0.7592 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.785e-06/0.4614, allocations: 0 / 0.7592 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0004114/0.4618, allocations: 121.5 kB / 0.7593 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.4619, allocations: 51.41 kB / 0.7594 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.462, allocations: 105.1 kB / 0.7595 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/0.4621, allocations: 29.7 kB / 0.7595 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.294e-05/0.4622, allocations: 92.12 kB / 0.7596 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.313e-05/0.4622, allocations: 7.844 kB / 0.7596 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.254e-05/0.4622, allocations: 0 / 0.7596 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.4624, allocations: 318.8 kB / 0.7599 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.4625, allocations: 39.97 kB / 0.76 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.4626, allocations: 51.95 kB / 0.76 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/0.4628, allocations: 27.98 kB / 0.76 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.4628, allocations: 0 / 0.76 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003257/0.4631, allocations: 113.9 kB / 0.7601 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.4631, allocations: 7.953 kB / 0.7601 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.4632, allocations: 0 / 0.7601 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.4632, allocations: 3.984 kB / 0.7601 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004831/0.4637, allocations: 51.83 kB / 0.7602 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.4637, allocations: 0 / 0.7602 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003769/0.4641, allocations: 35.95 kB / 0.7602 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.757e-05/0.4641, allocations: 0 / 0.7602 GB, free: 1.008 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 9.678e-05/0.4642, allocations: 105 kB / 0.7603 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.974e-05/0.4643, allocations: 15.89 kB / 0.7603 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.408e-05/0.4644, allocations: 11.98 kB / 0.7604 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.4644, allocations: 4 kB / 0.7604 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.4644, allocations: 0 / 0.7604 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.4644, allocations: 0 / 0.7604 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003181/0.4647, allocations: 209.5 kB / 0.7606 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.4648, allocations: 0 / 0.7606 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000467/0.4652, allocations: 43.95 kB / 0.7606 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.606e-06/0.4653, allocations: 3.984 kB / 0.7606 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.372e-05/0.4653, allocations: 3.953 kB / 0.7606 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.4653, allocations: 3.938 kB / 0.7606 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4653, allocations: 0 / 0.7606 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003866/0.4657, allocations: 203.4 kB / 0.7608 GB, free: 352 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.483e-05/0.4658, allocations: 93 kB / 0.7609 GB, free: 240 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.76e-05/0.4658, allocations: 4 kB / 0.7609 GB, free: 236 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004121/0.4662, allocations: 35.91 kB / 0.7609 GB, free: 200 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.794e-05/0.4663, allocations: 4 kB / 0.7609 GB, free: 196 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.4663, allocations: 0 / 0.7609 GB, free: 196 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.592e-05/0.4664, allocations: 99.27 kB / 0.761 GB, free: 96 kB / 0.6355 GB Notification: Performance of sort global known variables: time 4.21e-07/0.4664, allocations: 0 / 0.761 GB, free: 96 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003042/0.4667, allocations: 16 kB / 0.7611 GB, free: 80 kB / 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.0007075/0.4675, allocations: 0.7341 MB / 0.7618 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003278/0.4678, allocations: 95.86 kB / 0.7619 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.4678, allocations: 4 kB / 0.7619 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001547/0.468, allocations: 47.97 kB / 0.7619 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.4682, allocations: 8.172 kB / 0.7619 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/0.4695, allocations: 226.4 kB / 0.7621 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.4698, allocations: 0.6887 MB / 0.7628 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001656/0.47, allocations: 23.98 kB / 0.7628 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.4701, allocations: 11.44 kB / 0.7628 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of SimCode: time 1.152e-06/0.4701, allocations: 0 / 0.7628 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02334/0.4934, allocations: 1.627 MB / 0.7644 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002246/0.4937, allocations: 153.6 kB / 0.7646 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.307/2.801, allocations: 0 / 0.7646 GB, free: 12.38 MB / 0.6511 GB