Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.01019/0.01019, allocations: 92.88 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.0017/0.0017, allocations: 172.8 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.306/2.306, allocations: 205.5 MB / 222.2 MB, free: 13.7 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.37/2.37, allocations: 252.8 MB / 0.511 GB, free: 8.355 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006682/0.0006684, allocations: 13.47 kB / 0.6243 GB, free: 28.12 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2333, allocations: 106.2 MB / 0.7281 GB, free: 10.18 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002043/0.2354, allocations: 1.187 MB / 0.7292 GB, free: 8.977 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.00127/0.2367, allocations: 0.5639 MB / 0.7298 GB, free: 8.406 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.637e-05/0.2368, allocations: 0 / 0.7298 GB, free: 8.406 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.581e-05/0.2368, allocations: 0 / 0.7298 GB, free: 8.406 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 5.701e-05/0.2369, allocations: 3.984 kB / 0.7298 GB, free: 8.402 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002789/0.2372, allocations: 43.89 kB / 0.7298 GB, free: 8.359 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 6.818e-05/0.2372, allocations: 15.98 kB / 0.7298 GB, free: 8.344 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 9.504e-05/0.2373, allocations: 7.922 kB / 0.7298 GB, free: 8.336 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 8.757e-05/0.2374, allocations: 11.94 kB / 0.7298 GB, free: 8.324 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.362e-05/0.2375, allocations: 15.92 kB / 0.7299 GB, free: 8.309 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.041e-05/0.2375, allocations: 0 / 0.7299 GB, free: 8.309 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001363/0.2377, allocations: 43.95 kB / 0.7299 GB, free: 8.266 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.33e-05/0.2377, allocations: 7.984 kB / 0.7299 GB, free: 8.258 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.891e-05/0.2377, allocations: 25.7 kB / 0.7299 GB, free: 8.227 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.000131/0.2379, allocations: 43.94 kB / 0.73 GB, free: 8.184 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.2379, allocations: 0 / 0.73 GB, free: 8.184 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.224e-06/0.2379, allocations: 0 / 0.73 GB, free: 8.184 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.2379, allocations: 4 kB / 0.73 GB, free: 8.18 MB / 0.5573 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.0004676/0.2384, allocations: 351.5 kB / 0.7303 GB, free: 7.789 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.2385, allocations: 8.031 kB / 0.7303 GB, free: 7.781 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.911e-05/0.2385, allocations: 30.56 kB / 0.7304 GB, free: 7.742 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.122e-05/0.2386, allocations: 7.953 kB / 0.7304 GB, free: 7.734 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.2387, allocations: 159.1 kB / 0.7305 GB, free: 7.539 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.2387, allocations: 11.94 kB / 0.7305 GB, free: 7.527 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.448e-05/0.2388, allocations: 3.938 kB / 0.7305 GB, free: 7.523 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.239, allocations: 45.67 kB / 0.7306 GB, free: 7.473 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.239, allocations: 0 / 0.7306 GB, free: 7.473 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.239, allocations: 4 kB / 0.7306 GB, free: 7.469 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.239, allocations: 3.984 kB / 0.7306 GB, free: 7.465 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001481/0.2392, allocations: 23.94 kB / 0.7306 GB, free: 7.441 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004169/0.2396, allocations: 268.8 kB / 0.7309 GB, free: 7.129 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.2398, allocations: 30.58 kB / 0.7309 GB, free: 7.09 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001315/0.2411, allocations: 497.5 kB / 0.7314 GB, free: 6.512 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.2411, allocations: 38.56 kB / 0.7314 GB, free: 6.465 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 1.843e-06/0.2411, allocations: 4 kB / 0.7314 GB, free: 6.461 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.000364/0.2415, allocations: 69.56 kB / 0.7315 GB, free: 6.387 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.2416, allocations: 51.41 kB / 0.7315 GB, free: 6.324 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.2417, allocations: 114 kB / 0.7316 GB, free: 6.203 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.2417, allocations: 29.7 kB / 0.7317 GB, free: 6.168 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.561e-05/0.2418, allocations: 80.14 kB / 0.7317 GB, free: 6.086 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.323e-05/0.2418, allocations: 11.91 kB / 0.7317 GB, free: 6.074 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-06/0.2418, allocations: 0 / 0.7317 GB, free: 6.074 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.242, allocations: 314.8 kB / 0.732 GB, free: 5.758 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.326e-05/0.242, allocations: 12 kB / 0.7321 GB, free: 5.746 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.686e-05/0.2421, allocations: 11.98 kB / 0.7321 GB, free: 5.734 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.589e-05/0.2422, allocations: 16.06 kB / 0.7321 GB, free: 5.719 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.2422, allocations: 0 / 0.7321 GB, free: 5.719 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001986/0.2424, allocations: 57.62 kB / 0.7321 GB, free: 5.656 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.2425, allocations: 11.11 kB / 0.7321 GB, free: 5.648 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.2425, allocations: 0 / 0.7321 GB, free: 5.648 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.2425, allocations: 4 kB / 0.7322 GB, free: 5.645 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.2426, allocations: 12.03 kB / 0.7322 GB, free: 5.633 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.2426, allocations: 3.953 kB / 0.7322 GB, free: 5.629 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.574e-05/0.2427, allocations: 4 kB / 0.7322 GB, free: 5.625 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.2427, allocations: 0 / 0.7322 GB, free: 5.625 MB / 0.5573 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 8.62e-05/0.2428, allocations: 109.8 kB / 0.7323 GB, free: 5.508 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.395e-05/0.2429, allocations: 7.906 kB / 0.7323 GB, free: 5.5 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002507/0.2431, allocations: 73.16 kB / 0.7324 GB, free: 5.422 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.2431, allocations: 0 / 0.7324 GB, free: 5.422 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.2431, allocations: 7.875 kB / 0.7324 GB, free: 5.414 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.2432, allocations: 3.953 kB / 0.7324 GB, free: 5.41 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001999/0.2434, allocations: 157.7 kB / 0.7325 GB, free: 5.207 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2434, allocations: 0 / 0.7325 GB, free: 5.207 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.347e-05/0.2435, allocations: 7.984 kB / 0.7325 GB, free: 5.199 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.2435, allocations: 0 / 0.7325 GB, free: 5.199 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.2435, allocations: 4 kB / 0.7325 GB, free: 5.195 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.2436, allocations: 7.969 kB / 0.7325 GB, free: 5.188 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2436, allocations: 4 kB / 0.7325 GB, free: 5.184 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002423/0.2438, allocations: 151.5 kB / 0.7327 GB, free: 5.02 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.866e-05/0.2439, allocations: 81.02 kB / 0.7328 GB, free: 4.922 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.2439, allocations: 0 / 0.7328 GB, free: 4.922 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.843e-05/0.244, allocations: 8.031 kB / 0.7328 GB, free: 4.914 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.046e-05/0.2441, allocations: 4 kB / 0.7328 GB, free: 4.91 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.2441, allocations: 7.984 kB / 0.7328 GB, free: 4.902 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 5.531e-05/0.2441, allocations: 79.28 kB / 0.7329 GB, free: 4.824 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.395e-06/0.2442, allocations: 0 / 0.7329 GB, free: 4.824 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003265/0.2445, allocations: 23.94 kB / 0.7329 GB, free: 4.801 MB / 0.5573 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.000629/0.2451, allocations: 0.7085 MB / 0.7336 GB, free: 4.066 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001939/0.2453, allocations: 23.98 kB / 0.7336 GB, free: 4.043 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2454, allocations: 0 / 0.7336 GB, free: 4.043 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 8.088e-05/0.2454, allocations: 16.03 kB / 0.7336 GB, free: 4.027 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001724/0.2456, allocations: 4 kB / 0.7336 GB, free: 4.023 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005464/0.2462, allocations: 178.1 kB / 0.7338 GB, free: 3.809 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002516/0.2465, allocations: 0.6848 MB / 0.7344 GB, free: 3.098 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 3.56e-05/0.2465, allocations: 0 / 0.7344 GB, free: 3.098 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.081e-05/0.2466, allocations: 15.5 kB / 0.7345 GB, free: 3.082 MB / 0.5573 GB Notification: Performance of SimCode: time 8.62e-07/0.2466, allocations: 0 / 0.7345 GB, free: 3.082 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02211/0.2687, allocations: 1.373 MB / 0.7358 GB, free: 1.809 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002821/0.269, allocations: 177.3 kB / 0.736 GB, free: 1.57 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.356/2.626, allocations: 0 / 0.736 GB, free: 1.57 MB / 0.5573 GB