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.SmoothLimit.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.SmoothLimit,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.525/4.525, allocations: 432.6 MB / 445.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.931e-05/4.946e-05, allocations: 11.86 kB / 0.5383 GB, free: 10.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2291, allocations: 98.73 MB / 0.6347 GB, free: 1.926 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2309/0.46, allocations: 125.2 MB / 0.757 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002839/0.4604, allocations: 79.94 kB / 0.757 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006153/0.4666, allocations: 1.34 MB / 0.7583 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4666, allocations: 4 kB / 0.7583 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.4666, allocations: 4 kB / 0.7583 GB, free: 3.152 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.0004224/0.4671, allocations: 342.4 kB / 0.7587 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.53e-05/0.4671, allocations: 12.03 kB / 0.7587 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.561e-05/0.4672, allocations: 30.56 kB / 0.7587 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.781e-05/0.4672, allocations: 7.891 kB / 0.7587 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.4674, allocations: 175 kB / 0.7589 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.4674, allocations: 0 / 0.7589 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.324e-05/0.4674, allocations: 8 kB / 0.7589 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.4676, allocations: 37.69 kB / 0.7589 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.4676, allocations: 0 / 0.7589 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.4676, allocations: 4 kB / 0.7589 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.4676, allocations: 0 / 0.7589 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.673e-05/0.4677, allocations: 8 kB / 0.7589 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003839/0.4681, allocations: 260.8 kB / 0.7592 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.859e-05/0.4682, allocations: 30.58 kB / 0.7592 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.305e-05/0.4682, allocations: 12.92 kB / 0.7592 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001003/0.4692, allocations: 469.5 kB / 0.7597 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/0.4693, allocations: 34.55 kB / 0.7597 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.485e-06/0.4693, allocations: 0 / 0.7597 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002029/0.4695, allocations: 41.64 kB / 0.7598 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.4696, allocations: 59.36 kB / 0.7598 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.977e-05/0.4697, allocations: 104.9 kB / 0.7599 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.4697, allocations: 25.7 kB / 0.7599 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.564e-05/0.4698, allocations: 92.08 kB / 0.76 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.887e-05/0.4698, allocations: 4 kB / 0.76 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-06/0.4698, allocations: 0 / 0.76 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.47, allocations: 314.8 kB / 0.7603 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.837e-05/0.47, allocations: 4 kB / 0.7603 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.857e-05/0.4701, allocations: 11.98 kB / 0.7603 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.248e-05/0.4701, allocations: 4 kB / 0.7603 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.4701, allocations: 0 / 0.7603 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001148/0.4702, allocations: 49.67 kB / 0.7604 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.4703, allocations: 4 kB / 0.7604 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.4703, allocations: 0 / 0.7604 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.4703, allocations: 3.938 kB / 0.7604 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.4704, allocations: 11.92 kB / 0.7604 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.4705, allocations: 4 kB / 0.7604 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.334e-05/0.4705, allocations: 3.953 kB / 0.7604 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.926e-06/0.4705, allocations: 0 / 0.7604 GB, free: 0.7148 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 7.86e-05/0.4707, allocations: 115.2 kB / 0.7605 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.96e-05/0.4707, allocations: 0 / 0.7605 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001641/0.4709, allocations: 53.33 kB / 0.7606 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.4709, allocations: 0 / 0.7606 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.4709, allocations: 0 / 0.7606 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.4709, allocations: 0 / 0.7606 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/0.4711, allocations: 165.6 kB / 0.7607 GB, free: 340 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.4711, allocations: 0 / 0.7607 GB, free: 340 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.53e-05/0.4712, allocations: 11.92 kB / 0.7607 GB, free: 328 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.476e-06/0.4712, allocations: 8.031 kB / 0.7608 GB, free: 320 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.4713, allocations: 0 / 0.7608 GB, free: 320 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.4713, allocations: 0 / 0.7608 GB, free: 320 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4713, allocations: 0 / 0.7608 GB, free: 320 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001551/0.4714, allocations: 143.4 kB / 0.7609 GB, free: 160 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.667e-05/0.4715, allocations: 77.11 kB / 0.761 GB, free: 64 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.4715, allocations: 4 kB / 0.761 GB, free: 60 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.293e-05/0.4716, allocations: 12.02 kB / 0.761 GB, free: 48 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.23e-05/0.4717, allocations: 11.98 kB / 0.761 GB, free: 36 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.4717, allocations: 3.938 kB / 0.761 GB, free: 32 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.119e-05/0.4718, allocations: 89.48 kB / 0.7611 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.5e-07/0.4718, allocations: 0 / 0.7611 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003233/0.4721, allocations: 27.94 kB / 0.7611 GB, free: 15.92 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 (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.0006026/0.4728, allocations: 0.7084 MB / 0.7618 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001116/0.4729, allocations: 12 kB / 0.7618 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.4729, allocations: 0 / 0.7618 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.58e-05/0.4729, allocations: 11.94 kB / 0.7618 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001632/0.4731, allocations: 6.328 kB / 0.7618 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004593/0.4736, allocations: 102.6 kB / 0.7619 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.4739, allocations: 0.685 MB / 0.7626 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.585e-05/0.474, allocations: 0 / 0.7626 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.501e-05/0.474, allocations: 15.42 kB / 0.7626 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of SimCode: time 8.72e-07/0.474, allocations: 0 / 0.7626 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02012/0.4942, allocations: 1.327 MB / 0.7639 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002897/0.4945, allocations: 161.8 kB / 0.7641 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.342/2.837, allocations: 0 / 0.7641 GB, free: 12.79 MB / 0.6511 GB