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.01135/0.01135, allocations: 106.4 kB / 15.06 MB, free: 6.031 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.001296/0.001296, allocations: 180.5 kB / 15.95 MB, free: 5.957 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 2.048/2.048, allocations: 194.6 MB / 211.3 MB, free: 11.08 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.269/2.269, allocations: 236.1 MB / 492.6 MB, free: 11.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006721/0.0006722, allocations: 12 kB / 0.587 GB, free: 2.066 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.698/0.6987, allocations: 98.72 MB / 0.6834 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.001893/0.7007, allocations: 1.15 MB / 0.6846 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.00119/0.7019, allocations: 0.5498 MB / 0.6851 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.293e-05/0.702, allocations: 1.375 kB / 0.6851 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.142e-05/0.7021, allocations: 7.938 kB / 0.6851 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 6.159e-05/0.7021, allocations: 6.047 kB / 0.6851 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003342/0.7025, allocations: 34.42 kB / 0.6851 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 7.1e-05/0.7026, allocations: 19.52 kB / 0.6852 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 9.922e-05/0.7027, allocations: 12.89 kB / 0.6852 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.7028, allocations: 8.5 kB / 0.6852 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 6.616e-05/0.7029, allocations: 12.8 kB / 0.6852 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.7029, allocations: 1.438 kB / 0.6852 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001579/0.7031, allocations: 48.92 kB / 0.6852 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.315e-05/0.7031, allocations: 10 kB / 0.6852 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.777e-05/0.7031, allocations: 31.95 kB / 0.6853 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001708/0.7033, allocations: 37.72 kB / 0.6853 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.7033, allocations: 0 / 0.6853 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.154e-06/0.7034, allocations: 0 / 0.6853 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.7034, allocations: 1.25 kB / 0.6853 GB, free: 15.47 MB / 0.5261 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.0004269/0.7038, allocations: 344 kB / 0.6856 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.7039, allocations: 12.75 kB / 0.6857 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.748e-05/0.7039, allocations: 32.88 kB / 0.6857 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.834e-05/0.7039, allocations: 5.234 kB / 0.6857 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.7041, allocations: 167 kB / 0.6859 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.7041, allocations: 1.469 kB / 0.6859 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.7041, allocations: 1.469 kB / 0.6859 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.7043, allocations: 43.44 kB / 0.6859 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.7043, allocations: 1.281 kB / 0.6859 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.7043, allocations: 0 / 0.6859 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.7043, allocations: 4 kB / 0.6859 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001407/0.7045, allocations: 33.25 kB / 0.6859 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003385/0.7048, allocations: 253 kB / 0.6862 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.705, allocations: 33.22 kB / 0.6862 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001255/0.7062, allocations: 0.4898 MB / 0.6867 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.7063, allocations: 31.31 kB / 0.6867 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 4.488e-06/0.7063, allocations: 0 / 0.6867 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0003875/0.7067, allocations: 84.11 kB / 0.6868 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/0.7068, allocations: 52.89 kB / 0.6868 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.854e-05/0.7069, allocations: 106.9 kB / 0.6869 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.7069, allocations: 29.7 kB / 0.687 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.768e-05/0.7069, allocations: 82.94 kB / 0.6871 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.222e-05/0.707, allocations: 9.984 kB / 0.6871 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-06/0.707, allocations: 4 kB / 0.6871 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.416e-05/0.7071, allocations: 314.6 kB / 0.6874 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.194e-05/0.7071, allocations: 12.27 kB / 0.6874 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.008e-05/0.7072, allocations: 14.31 kB / 0.6874 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.726e-05/0.7073, allocations: 9.594 kB / 0.6874 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.7073, allocations: 0 / 0.6874 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000199/0.7075, allocations: 67.75 kB / 0.6875 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.7076, allocations: 8.969 kB / 0.6875 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.7076, allocations: 8.453 kB / 0.6875 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.7076, allocations: 1.188 kB / 0.6875 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.7077, allocations: 6.453 kB / 0.6875 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.7078, allocations: 4.922 kB / 0.6875 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.756e-05/0.7078, allocations: 3.75 kB / 0.6875 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.7078, allocations: 1.594 kB / 0.6875 GB, free: 13.26 MB / 0.5261 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.691e-05/0.7079, allocations: 108 kB / 0.6876 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.052e-05/0.708, allocations: 6.875 kB / 0.6876 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000246/0.7082, allocations: 68.27 kB / 0.6877 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.7082, allocations: 0.6562 kB / 0.6877 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.7083, allocations: 1.344 kB / 0.6877 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.7083, allocations: 3.953 kB / 0.6877 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001838/0.7085, allocations: 159.2 kB / 0.6878 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.7085, allocations: 0 / 0.6878 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.381e-05/0.7086, allocations: 11.14 kB / 0.6878 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.7086, allocations: 3.984 kB / 0.6878 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.7086, allocations: 1.875 kB / 0.6878 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.7086, allocations: 0 / 0.6878 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.7086, allocations: 1.094 kB / 0.6879 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002164/0.7088, allocations: 162.5 kB / 0.688 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.794e-05/0.7089, allocations: 83.72 kB / 0.6881 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.845e-05/0.7089, allocations: 0 / 0.6881 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.989e-05/0.709, allocations: 8.312 kB / 0.6881 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.441e-05/0.7091, allocations: 2.781 kB / 0.6881 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.7091, allocations: 1.219 kB / 0.6881 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.239e-05/0.7091, allocations: 86.84 kB / 0.6882 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.81e-07/0.7091, allocations: 1.312 kB / 0.6882 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003453/0.7095, allocations: 15.78 kB / 0.6882 GB, free: 12.55 MB / 0.5261 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.0005102/0.71, allocations: 0.7152 MB / 0.6889 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001945/0.7102, allocations: 32.78 kB / 0.6889 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.7102, allocations: 1.375 kB / 0.6889 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.61e-05/0.7103, allocations: 12.42 kB / 0.6889 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001735/0.7105, allocations: 1.031 kB / 0.6889 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005066/0.711, allocations: 163.4 kB / 0.6891 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000133/0.7112, allocations: 0.6867 MB / 0.6898 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.668e-05/0.7113, allocations: 2.312 kB / 0.6898 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.926e-05/0.7113, allocations: 13.19 kB / 0.6898 GB, free: 11 MB / 0.5261 GB Notification: Performance of SimCode: time 1.483e-06/0.7113, allocations: 0 / 0.6898 GB, free: 11 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0233/0.7346, allocations: 1.377 MB / 0.6911 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002624/0.735, allocations: 176.5 kB / 0.6913 GB, free: 10.56 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.445/3.18, allocations: 0 / 0.6913 GB, free: 10.56 MB / 0.5261 GB