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.SmoothExponential.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.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.297/4.297, allocations: 433.2 MB / 440.7 MB, free: 4.539 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.664e-05/2.662e-05, allocations: 5.891 kB / 0.5325 GB, free: 12.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.2111, allocations: 98.74 MB / 0.6289 GB, free: 9.086 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2429/0.4541, allocations: 123.8 MB / 0.7498 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003312/0.4545, allocations: 71.95 kB / 0.7499 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00725/0.4618, allocations: 1.327 MB / 0.7512 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.004e-06/0.4618, allocations: 0 / 0.7512 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.714e-06/0.4619, allocations: 4 kB / 0.7512 GB, free: 11.7 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.0005578/0.4624, allocations: 342.5 kB / 0.7515 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.904e-05/0.4625, allocations: 12.03 kB / 0.7515 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.782e-05/0.4626, allocations: 3.953 kB / 0.7515 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.4627, allocations: 159.1 kB / 0.7517 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.4628, allocations: 7.938 kB / 0.7517 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.4628, allocations: 0 / 0.7517 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.947e-05/0.4629, allocations: 12 kB / 0.7517 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.463, allocations: 41.69 kB / 0.7517 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.4631, allocations: 0 / 0.7517 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.4631, allocations: 0 / 0.7517 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.4631, allocations: 0 / 0.7517 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005969/0.4637, allocations: 253.3 kB / 0.752 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.327e-05/0.4638, allocations: 30.52 kB / 0.752 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.423e-05/0.4639, allocations: 8.922 kB / 0.752 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001223/0.464, allocations: 81.11 kB / 0.7521 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.4641, allocations: 30.56 kB / 0.7521 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.234e-06/0.4641, allocations: 0 / 0.7521 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002727/0.4644, allocations: 41.69 kB / 0.7522 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.4644, allocations: 59.44 kB / 0.7522 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.774e-05/0.4645, allocations: 104.9 kB / 0.7523 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.4646, allocations: 25.7 kB / 0.7523 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.077e-05/0.4647, allocations: 84.14 kB / 0.7524 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.134e-05/0.4647, allocations: 3.906 kB / 0.7524 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.73e-06/0.4647, allocations: 4 kB / 0.7524 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.4649, allocations: 318.8 kB / 0.7527 GB, free: 9.902 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.503e-05/0.4649, allocations: 8 kB / 0.7527 GB, free: 9.895 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.954e-05/0.465, allocations: 0 / 0.7527 GB, free: 9.895 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.562e-05/0.4651, allocations: 12 kB / 0.7527 GB, free: 9.883 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.4651, allocations: 0 / 0.7527 GB, free: 9.883 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001662/0.4653, allocations: 41.7 kB / 0.7528 GB, free: 9.836 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/0.4653, allocations: 7.984 kB / 0.7528 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.4653, allocations: 0 / 0.7528 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.4653, allocations: 0 / 0.7528 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.4655, allocations: 8 kB / 0.7528 GB, free: 9.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.4656, allocations: 4 kB / 0.7528 GB, free: 9.816 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.4657, allocations: 12.02 kB / 0.7528 GB, free: 9.805 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.4657, allocations: 0 / 0.7528 GB, free: 9.805 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 (2): * Single equations (assignments): 2 * 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.629e-05/0.4658, allocations: 109.6 kB / 0.7529 GB, free: 9.691 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001792/0.466, allocations: 49.53 kB / 0.753 GB, free: 9.637 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.524e-05/0.4661, allocations: 4 kB / 0.753 GB, free: 9.633 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001939/0.4663, allocations: 49.44 kB / 0.753 GB, free: 9.582 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.4663, allocations: 0 / 0.753 GB, free: 9.582 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.4663, allocations: 4.062 kB / 0.753 GB, free: 9.578 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.4663, allocations: 7.938 kB / 0.753 GB, free: 9.57 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002375/0.4666, allocations: 134.2 kB / 0.7532 GB, free: 9.402 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.4666, allocations: 4 kB / 0.7532 GB, free: 9.398 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001408/0.4668, allocations: 11.98 kB / 0.7532 GB, free: 9.387 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.4668, allocations: 0 / 0.7532 GB, free: 9.387 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.4668, allocations: 0 / 0.7532 GB, free: 9.387 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.4668, allocations: 0 / 0.7532 GB, free: 9.387 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.4668, allocations: 0 / 0.7532 GB, free: 9.387 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002107/0.4671, allocations: 147.4 kB / 0.7533 GB, free: 9.227 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.484e-05/0.4671, allocations: 81.02 kB / 0.7534 GB, free: 9.129 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.266e-05/0.4672, allocations: 0 / 0.7534 GB, free: 9.129 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/0.4674, allocations: 15.92 kB / 0.7534 GB, free: 9.113 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.407e-05/0.4674, allocations: 0 / 0.7534 GB, free: 9.113 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.4675, allocations: 4 kB / 0.7534 GB, free: 9.109 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.341e-05/0.4675, allocations: 83.31 kB / 0.7535 GB, free: 9.027 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.81e-07/0.4676, allocations: 0 / 0.7535 GB, free: 9.027 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005174/0.4681, allocations: 23.92 kB / 0.7535 GB, free: 9.004 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 (2): * Single equations (assignments): 2 * 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.0006803/0.4688, allocations: 0.6818 MB / 0.7542 GB, free: 8.293 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001195/0.4689, allocations: 23.91 kB / 0.7542 GB, free: 8.27 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.469, allocations: 4 kB / 0.7542 GB, free: 8.266 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.518e-05/0.469, allocations: 8 kB / 0.7542 GB, free: 8.258 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002925/0.4693, allocations: 448 / 0.7542 GB, free: 8.258 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005718/0.4699, allocations: 89.59 kB / 0.7543 GB, free: 8.133 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003225/0.4702, allocations: 0.6846 MB / 0.755 GB, free: 7.422 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.378e-05/0.4703, allocations: 0 / 0.755 GB, free: 7.422 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.578e-05/0.4704, allocations: 7.562 kB / 0.755 GB, free: 7.414 MB / 0.6355 GB Notification: Performance of SimCode: time 9.31e-07/0.4704, allocations: 8 kB / 0.755 GB, free: 7.406 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04504/0.5154, allocations: 0.8261 MB / 0.7558 GB, free: 6.586 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002459/0.5157, allocations: 152.2 kB / 0.7559 GB, free: 6.383 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.172/2.688, allocations: 3.938 kB / 0.7559 GB, free: 6.379 MB / 0.6355 GB