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.SmoothMin.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.SmoothMin,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Examples_SmoothMin",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.016/0.016, allocations: 107.7 kB / 15.05 MB, free: 5.984 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.001695/0.001695, allocations: 183.5 kB / 15.94 MB, free: 5.941 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.098/2.098, allocations: 194.6 MB / 211.3 MB, free: 11.09 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.134/2.134, allocations: 236.2 MB / 492.6 MB, free: 11.29 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004816/0.0004815, allocations: 12 kB / 0.587 GB, free: 2.043 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6778/0.6783, allocations: 98.71 MB / 0.6834 GB, free: 16.84 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2194/0.8977, allocations: 124.7 MB / 0.8052 GB, free: 1.559 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003129/0.898, allocations: 75.95 kB / 0.8053 GB, free: 1.484 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.004938/0.903, allocations: 1.135 MB / 0.8064 GB, free: 356 kB / 0.6198 GB Notification: Performance of FrontEnd: time 2.265e-06/0.903, allocations: 0 / 0.8064 GB, free: 356 kB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.183e-06/0.9031, allocations: 4 kB / 0.8064 GB, free: 352 kB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005167/0.9036, allocations: 367.2 kB / 0.8067 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.9037, allocations: 8.031 kB / 0.8067 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.316e-05/0.9037, allocations: 38.5 kB / 0.8068 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001429/0.9052, allocations: 187.7 kB / 0.807 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.9053, allocations: 174.9 kB / 0.8071 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.9053, allocations: 11.94 kB / 0.8071 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.841e-05/0.9054, allocations: 4 kB / 0.8071 GB, free: 15.47 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009947/0.9064, allocations: 213.4 kB / 0.8073 GB, free: 15.26 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.9064, allocations: 3.984 kB / 0.8074 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.274e-05/0.9064, allocations: 4 kB / 0.8074 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.9065, allocations: 0 / 0.8074 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001623/0.9081, allocations: 319.6 kB / 0.8077 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001468/0.9096, allocations: 453.3 kB / 0.8081 GB, free: 14.44 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002138/0.9117, allocations: 334.2 kB / 0.8084 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.796e-05/0.9118, allocations: 4.156 kB / 0.8084 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.9119, allocations: 38.52 kB / 0.8085 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.214e-06/0.9119, allocations: 0 / 0.8085 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.002206/0.9141, allocations: 365.3 kB / 0.8088 GB, free: 13.69 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.9142, allocations: 51.41 kB / 0.8088 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.9143, allocations: 113.2 kB / 0.809 GB, free: 13.51 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.9143, allocations: 29.7 kB / 0.809 GB, free: 13.47 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.82e-05/0.9144, allocations: 88.12 kB / 0.8091 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.902e-05/0.9145, allocations: 23.73 kB / 0.8091 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.538e-05/0.9145, allocations: 0 / 0.8091 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.9146, allocations: 310.8 kB / 0.8094 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006868/0.9153, allocations: 115.9 kB / 0.8095 GB, free: 12.93 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006823/0.916, allocations: 111.9 kB / 0.8096 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000668/0.9167, allocations: 107.9 kB / 0.8097 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.9167, allocations: 0 / 0.8097 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.001482/0.9182, allocations: 253.4 kB / 0.8099 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.9182, allocations: 4 kB / 0.81 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.9182, allocations: 3.953 kB / 0.81 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.9183, allocations: 0 / 0.81 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004494/0.9187, allocations: 43.95 kB / 0.81 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.9188, allocations: 384 / 0.81 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003784/0.9191, allocations: 47.86 kB / 0.81 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.964e-05/0.9192, allocations: 7.922 kB / 0.8101 GB, free: 12.36 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 (3): * Single equations (assignments): 3 * 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 0.0001219/0.9193, allocations: 113.8 kB / 0.8102 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.997e-05/0.9194, allocations: 7.938 kB / 0.8102 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.308e-05/0.9194, allocations: 11.91 kB / 0.8102 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.249e-06/0.9194, allocations: 3.953 kB / 0.8102 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.9195, allocations: 0 / 0.8102 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.9195, allocations: 3.984 kB / 0.8102 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003127/0.9198, allocations: 209.5 kB / 0.8104 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.9198, allocations: 0 / 0.8104 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004188/0.9202, allocations: 39.95 kB / 0.8104 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.9203, allocations: 4 kB / 0.8104 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.9203, allocations: 4 kB / 0.8104 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.9203, allocations: 3.953 kB / 0.8104 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.9203, allocations: 0 / 0.8104 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001481/0.9218, allocations: 359.5 kB / 0.8108 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.283e-05/0.9219, allocations: 77.16 kB / 0.8109 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.04e-05/0.9219, allocations: 3.984 kB / 0.8109 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004061/0.9223, allocations: 35.95 kB / 0.8109 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.74e-05/0.9224, allocations: 7.953 kB / 0.8109 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.9224, allocations: 3.984 kB / 0.8109 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.081e-05/0.9225, allocations: 99.27 kB / 0.811 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.3e-07/0.9225, allocations: 0 / 0.811 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003009/0.9228, allocations: 12 kB / 0.811 GB, free: 11.28 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 (3): * Single equations (assignments): 3 * 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.001788/0.9246, allocations: 0.8762 MB / 0.8119 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001466/0.9261, allocations: 235.7 kB / 0.8121 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.9262, allocations: 0 / 0.8121 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007099/0.9269, allocations: 119.9 kB / 0.8122 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.9271, allocations: 9.203 kB / 0.8122 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004141/0.9313, allocations: 0.9065 MB / 0.8131 GB, free: 9.062 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002717/0.9316, allocations: 0.6968 MB / 0.8138 GB, free: 8.34 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001573/0.9318, allocations: 15.98 kB / 0.8138 GB, free: 8.324 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.9319, allocations: 15.38 kB / 0.8138 GB, free: 8.309 MB / 0.6355 GB Notification: Performance of SimCode: time 1.022e-06/0.9319, allocations: 4 kB / 0.8138 GB, free: 8.305 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01996/0.9519, allocations: 1.631 MB / 0.8154 GB, free: 6.785 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002741/0.9522, allocations: 179.7 kB / 0.8156 GB, free: 6.543 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.28/3.233, allocations: 0 / 0.8156 GB, free: 6.543 MB / 0.6355 GB