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 Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.0121/0.0121, allocations: 223.5 kB / 15.17 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001158/0.001158, allocations: 175.9 kB / 16.06 MB, free: 5.875 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.889/3.889, allocations: 389 MB / 405.9 MB, free: 13.34 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.316/4.316, allocations: 472.3 MB / 0.9017 GB, free: 3.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006604/0.0006607, allocations: 12 kB / 1.008 GB, free: 10.19 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6788/0.6795, allocations: 98.71 MB / 1.104 GB, free: 212.6 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.00197/0.6815, allocations: 1.157 MB / 1.105 GB, free: 212 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001176/0.6828, allocations: 0.5512 MB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.091e-05/0.6828, allocations: 3.938 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.99e-05/0.6829, allocations: 3.938 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.575e-05/0.6829, allocations: 10.25 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002976/0.6832, allocations: 31.05 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 7.834e-05/0.6833, allocations: 27.3 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.319e-05/0.6834, allocations: 4.969 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 9.109e-05/0.6835, allocations: 15.94 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.074e-05/0.6836, allocations: 9.75 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.6836, allocations: 0 / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001468/0.6838, allocations: 56.56 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.264e-05/0.6838, allocations: 5.906 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.468e-05/0.6839, allocations: 29.17 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001324/0.684, allocations: 40.2 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 8.837e-06/0.684, allocations: 7.969 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.094e-06/0.684, allocations: 0 / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.684, allocations: 0 / 1.106 GB, free: 211.5 MB / 0.7292 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.0004355/0.6845, allocations: 337.8 kB / 1.106 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/0.6845, allocations: 8.531 kB / 1.106 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.829e-05/0.6846, allocations: 37.28 kB / 1.106 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.16e-05/0.6846, allocations: 8.609 kB / 1.106 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.6848, allocations: 172 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.6848, allocations: 3.938 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.667e-05/0.6848, allocations: 1.344 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.685, allocations: 41.55 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.685, allocations: 0 / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.685, allocations: 9.844 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.6851, allocations: 0 / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001437/0.6852, allocations: 25.17 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003516/0.6856, allocations: 248.8 kB / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.6857, allocations: 41.94 kB / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.095e-05/0.6858, allocations: 21.58 kB / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001196/0.687, allocations: 0.4884 MB / 1.107 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.6871, allocations: 37.8 kB / 1.107 GB, free: 210 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 2.464e-06/0.6871, allocations: 0 / 1.107 GB, free: 210 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0003539/0.6875, allocations: 73.36 kB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.766e-05/0.6875, allocations: 55.34 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.188e-05/0.6876, allocations: 106.8 kB / 1.108 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.6876, allocations: 29.7 kB / 1.108 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.569e-05/0.6877, allocations: 85.78 kB / 1.108 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.826e-05/0.6877, allocations: 11.31 kB / 1.108 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-06/0.6877, allocations: 4 kB / 1.108 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.914e-05/0.6878, allocations: 313.9 kB / 1.108 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.823e-05/0.6879, allocations: 9.812 kB / 1.108 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.423e-05/0.6879, allocations: 13.77 kB / 1.108 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.234e-05/0.688, allocations: 13.02 kB / 1.108 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.688, allocations: 0 / 1.108 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001803/0.6882, allocations: 61.53 kB / 1.108 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.6882, allocations: 5.406 kB / 1.108 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.6883, allocations: 0.8906 kB / 1.108 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.6883, allocations: 3.219 kB / 1.108 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.6884, allocations: 17.78 kB / 1.108 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.6884, allocations: 0 / 1.108 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.139e-05/0.6885, allocations: 3.781 kB / 1.108 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.6885, allocations: 0 / 1.108 GB, free: 209.3 MB / 0.7292 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 () * Number of clocked 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 6.246e-05/0.6886, allocations: 107.8 kB / 1.108 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.085e-05/0.6886, allocations: 4.062 kB / 1.108 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002333/0.6889, allocations: 72.17 kB / 1.108 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.6889, allocations: 3.25 kB / 1.108 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.6889, allocations: 7.703 kB / 1.108 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.6889, allocations: 0.875 kB / 1.108 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001701/0.6891, allocations: 163 kB / 1.109 GB, free: 209 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.6891, allocations: 0 / 1.109 GB, free: 209 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.084e-05/0.6892, allocations: 12.42 kB / 1.109 GB, free: 209 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.6892, allocations: 0 / 1.109 GB, free: 209 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.6892, allocations: 3.188 kB / 1.109 GB, free: 209 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.6892, allocations: 7.875 kB / 1.109 GB, free: 209 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.6892, allocations: 0 / 1.109 GB, free: 209 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002013/0.6894, allocations: 158.4 kB / 1.109 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.606e-05/0.6895, allocations: 81.34 kB / 1.109 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.6895, allocations: 0 / 1.109 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.721e-05/0.6896, allocations: 4.062 kB / 1.109 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.208e-05/0.6896, allocations: 4.75 kB / 1.109 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.6897, allocations: 2.719 kB / 1.109 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.01e-05/0.6897, allocations: 87.22 kB / 1.109 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.41e-07/0.6897, allocations: 0 / 1.109 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003221/0.69, allocations: 22.94 kB / 1.109 GB, free: 208.6 MB / 0.7292 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 () * Number of clocked 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.0004766/0.6905, allocations: 0.7069 MB / 1.11 GB, free: 208 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001883/0.6907, allocations: 30.14 kB / 1.11 GB, free: 208 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.6908, allocations: 1.312 kB / 1.11 GB, free: 208 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.386e-05/0.6908, allocations: 9.531 kB / 1.11 GB, free: 208 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.6911, allocations: 1.312 kB / 1.11 GB, free: 208 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004953/0.6916, allocations: 182.5 kB / 1.11 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001319/0.6918, allocations: 0.6812 MB / 1.11 GB, free: 207.1 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.637e-05/0.6918, allocations: 1.312 kB / 1.11 GB, free: 207.1 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.643e-05/0.6919, allocations: 15.42 kB / 1.111 GB, free: 207.1 MB / 0.7292 GB Notification: Performance of SimCode: time 7.52e-07/0.6919, allocations: 0 / 1.111 GB, free: 207.1 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07187/0.7638, allocations: 1.39 MB / 1.112 GB, free: 207.1 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002683/0.7641, allocations: 195.3 kB / 1.112 GB, free: 206.8 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.297/3.061, allocations: 0 / 1.112 GB, free: 206.8 MB / 0.7292 GB