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.01048/0.01048, allocations: 106.6 kB / 15.05 MB, free: 5.934 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.001109/0.001109, allocations: 186 kB / 15.94 MB, free: 5.898 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.062/2.062, allocations: 194.6 MB / 211.2 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.149/2.149, allocations: 236.2 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004912/0.0004912, allocations: 16 kB / 0.587 GB, free: 2.109 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6771/0.6776, allocations: 98.72 MB / 0.6834 GB, free: 16.65 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2263/0.904, allocations: 125.3 MB / 0.8058 GB, free: 1.039 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000286/0.9043, allocations: 71.95 kB / 0.8058 GB, free: 0.9688 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.00617/0.9105, allocations: 1.372 MB / 0.8072 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.899e-06/0.9106, allocations: 0 / 0.8072 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.9106, allocations: 3.938 kB / 0.8072 GB, free: 15.59 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.0004364/0.911, allocations: 351.2 kB / 0.8075 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/0.9111, allocations: 16.02 kB / 0.8075 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.891e-05/0.9112, allocations: 30.56 kB / 0.8075 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.857e-05/0.9112, allocations: 3.953 kB / 0.8075 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.9113, allocations: 163.1 kB / 0.8077 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.9113, allocations: 4 kB / 0.8077 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.482e-05/0.9114, allocations: 0 / 0.8077 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.9116, allocations: 49.62 kB / 0.8078 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.9116, allocations: 0 / 0.8078 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.9116, allocations: 0 / 0.8078 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.9116, allocations: 3.984 kB / 0.8078 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001422/0.9118, allocations: 23.98 kB / 0.8078 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003881/0.9122, allocations: 264.7 kB / 0.808 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.9123, allocations: 34.56 kB / 0.8081 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009892/0.9133, allocations: 469.5 kB / 0.8085 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.9134, allocations: 34.5 kB / 0.8085 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.344e-06/0.9134, allocations: 0 / 0.8085 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0003854/0.9138, allocations: 73.67 kB / 0.8086 GB, free: 13.83 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/0.9138, allocations: 55.36 kB / 0.8087 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.718e-05/0.9139, allocations: 105 kB / 0.8088 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.914, allocations: 25.7 kB / 0.8088 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.083e-05/0.914, allocations: 88.12 kB / 0.8089 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.309e-05/0.9141, allocations: 7.906 kB / 0.8089 GB, free: 13.53 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.19e-06/0.9141, allocations: 0 / 0.8089 GB, free: 13.53 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.9142, allocations: 319 kB / 0.8092 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.581e-05/0.9143, allocations: 12 kB / 0.8092 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.873e-05/0.9144, allocations: 15.92 kB / 0.8092 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.993e-05/0.9145, allocations: 12 kB / 0.8092 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.9145, allocations: 3.938 kB / 0.8092 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002068/0.9147, allocations: 57.75 kB / 0.8093 GB, free: 13.1 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.9147, allocations: 9.391 kB / 0.8093 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.9147, allocations: 0 / 0.8093 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.9148, allocations: 4 kB / 0.8093 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.9149, allocations: 4 kB / 0.8093 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.9149, allocations: 0 / 0.8093 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.152e-05/0.915, allocations: 11.86 kB / 0.8093 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.915, allocations: 0 / 0.8093 GB, free: 13.07 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 () * 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 9.297e-05/0.9151, allocations: 117.9 kB / 0.8094 GB, free: 12.95 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.463e-05/0.9151, allocations: 7.984 kB / 0.8094 GB, free: 12.94 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002622/0.9154, allocations: 69.14 kB / 0.8095 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.9154, allocations: 0 / 0.8095 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.9154, allocations: 0 / 0.8095 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.9155, allocations: 0 / 0.8095 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/0.9157, allocations: 165.7 kB / 0.8097 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.9157, allocations: 0 / 0.8097 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.572e-05/0.9158, allocations: 11.98 kB / 0.8097 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.9158, allocations: 0 / 0.8097 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.9158, allocations: 4 kB / 0.8097 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.9158, allocations: 0 / 0.8097 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.9158, allocations: 0 / 0.8097 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002495/0.9161, allocations: 167.3 kB / 0.8098 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.908e-05/0.9161, allocations: 77.11 kB / 0.8099 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.9162, allocations: 4 kB / 0.8099 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.155e-05/0.9163, allocations: 0 / 0.8099 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.817e-05/0.9163, allocations: 7.938 kB / 0.8099 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.9163, allocations: 3.984 kB / 0.8099 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.797e-05/0.9164, allocations: 83.28 kB / 0.81 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.81e-07/0.9164, allocations: 0 / 0.81 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003558/0.9168, allocations: 31.97 kB / 0.81 GB, free: 12.23 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 () * 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.0006514/0.9174, allocations: 0.707 MB / 0.8107 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002339/0.9177, allocations: 35.89 kB / 0.8108 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.9177, allocations: 0 / 0.8108 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.976e-05/0.9178, allocations: 16 kB / 0.8108 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001715/0.918, allocations: 3.984 kB / 0.8108 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005732/0.9186, allocations: 170.3 kB / 0.8109 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/0.9189, allocations: 0.6848 MB / 0.8116 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.014e-05/0.9189, allocations: 4 kB / 0.8116 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.359e-05/0.919, allocations: 11.44 kB / 0.8116 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of SimCode: time 1.183e-06/0.919, allocations: 0 / 0.8116 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01949/0.9385, allocations: 1.343 MB / 0.8129 GB, free: 9.281 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002681/0.9388, allocations: 179.6 kB / 0.8131 GB, free: 9.039 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.318/3.257, allocations: 0 / 0.8131 GB, free: 9.039 MB / 0.6355 GB