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.SmoothMin.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.SmoothMin,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.01642/0.01642, allocations: 89.69 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.002149/0.002149, allocations: 175.6 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.395/2.395, allocations: 205.5 MB / 222.2 MB, free: 13.57 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.35/2.35, allocations: 252.8 MB / 0.511 GB, free: 8.273 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004924/0.0004926, allocations: 12.06 kB / 0.6243 GB, free: 21 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.2686, allocations: 106.2 MB / 0.7281 GB, free: 8.074 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.003431/0.2721, allocations: 1.183 MB / 0.7292 GB, free: 6.875 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0004477/0.2726, allocations: 140.5 kB / 0.7294 GB, free: 6.734 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.322e-05/0.2726, allocations: 0 / 0.7294 GB, free: 6.734 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 3.469e-05/0.2727, allocations: 0 / 0.7294 GB, free: 6.734 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 5.731e-05/0.2727, allocations: 3.984 kB / 0.7294 GB, free: 6.73 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.000211/0.2729, allocations: 31.91 kB / 0.7294 GB, free: 6.699 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.2731, allocations: 27.91 kB / 0.7294 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.2732, allocations: 8 kB / 0.7294 GB, free: 6.664 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.562e-05/0.2733, allocations: 15.92 kB / 0.7294 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.829e-05/0.2733, allocations: 19.91 kB / 0.7295 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.2733, allocations: 8 kB / 0.7295 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 9.806e-05/0.2734, allocations: 23.97 kB / 0.7295 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.59e-05/0.2735, allocations: 8 kB / 0.7295 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.516e-05/0.2735, allocations: 25.7 kB / 0.7295 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001216/0.2736, allocations: 39.94 kB / 0.7296 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.2737, allocations: 3.938 kB / 0.7296 GB, free: 6.516 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.164e-06/0.2737, allocations: 0 / 0.7296 GB, free: 6.516 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.2737, allocations: 0 / 0.7296 GB, free: 6.516 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000544/0.2742, allocations: 366.6 kB / 0.7299 GB, free: 6.113 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.2743, allocations: 8.031 kB / 0.7299 GB, free: 6.105 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.397e-05/0.2743, allocations: 34.56 kB / 0.73 GB, free: 6.062 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001862/0.2762, allocations: 239.6 kB / 0.7302 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.2764, allocations: 174.9 kB / 0.7303 GB, free: 5.617 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.2764, allocations: 12 kB / 0.7304 GB, free: 5.605 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.09e-05/0.2765, allocations: 0 / 0.7304 GB, free: 5.605 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.2775, allocations: 213.5 kB / 0.7306 GB, free: 5.391 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.2775, allocations: 0 / 0.7306 GB, free: 5.391 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.08e-05/0.2775, allocations: 0 / 0.7306 GB, free: 5.391 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.2776, allocations: 0 / 0.7306 GB, free: 5.391 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001625/0.2792, allocations: 327.5 kB / 0.7309 GB, free: 5.07 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001447/0.2807, allocations: 457.4 kB / 0.7313 GB, free: 4.57 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002111/0.2828, allocations: 338.1 kB / 0.7316 GB, free: 4.23 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.074e-05/0.2828, allocations: 0 / 0.7316 GB, free: 4.23 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.2829, allocations: 38.52 kB / 0.7317 GB, free: 4.184 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 1.483e-06/0.2829, allocations: 4 kB / 0.7317 GB, free: 4.18 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.002191/0.2851, allocations: 361.5 kB / 0.732 GB, free: 3.82 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/0.2852, allocations: 51.41 kB / 0.7321 GB, free: 3.758 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.2853, allocations: 122 kB / 0.7322 GB, free: 3.625 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.2853, allocations: 25.7 kB / 0.7322 GB, free: 3.594 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.981e-05/0.2854, allocations: 100.1 kB / 0.7323 GB, free: 3.492 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.182e-05/0.2854, allocations: 15.73 kB / 0.7323 GB, free: 3.477 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.331e-05/0.2855, allocations: 0 / 0.7323 GB, free: 3.477 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.2856, allocations: 322.8 kB / 0.7326 GB, free: 3.152 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006826/0.2863, allocations: 111.9 kB / 0.7327 GB, free: 3.043 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006771/0.287, allocations: 115.9 kB / 0.7328 GB, free: 2.93 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006625/0.2877, allocations: 96.17 kB / 0.7329 GB, free: 2.836 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.2877, allocations: 4 kB / 0.7329 GB, free: 2.832 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.001472/0.2892, allocations: 253.4 kB / 0.7332 GB, free: 2.578 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.626e-05/0.2892, allocations: 7.953 kB / 0.7332 GB, free: 2.57 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.2892, allocations: 4 kB / 0.7332 GB, free: 2.566 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.2892, allocations: 0 / 0.7332 GB, free: 2.566 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004662/0.2897, allocations: 43.94 kB / 0.7332 GB, free: 2.523 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.2897, allocations: 0 / 0.7332 GB, free: 2.523 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003817/0.2901, allocations: 43.86 kB / 0.7333 GB, free: 2.48 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.414e-05/0.2902, allocations: 4 kB / 0.7333 GB, free: 2.477 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 (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.0001399/0.2903, allocations: 117.8 kB / 0.7334 GB, free: 2.352 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.588e-05/0.2904, allocations: 4 kB / 0.7334 GB, free: 2.348 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.352e-05/0.2904, allocations: 15.86 kB / 0.7334 GB, free: 2.328 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.2905, allocations: 4 kB / 0.7334 GB, free: 2.324 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.2905, allocations: 4 kB / 0.7334 GB, free: 2.32 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2905, allocations: 3.938 kB / 0.7334 GB, free: 2.316 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003339/0.2908, allocations: 205.6 kB / 0.7336 GB, free: 2.066 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.2908, allocations: 0 / 0.7336 GB, free: 2.066 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004296/0.2913, allocations: 43.94 kB / 0.7337 GB, free: 2.023 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.2913, allocations: 0 / 0.7337 GB, free: 2.023 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/0.2913, allocations: 7.953 kB / 0.7337 GB, free: 2.016 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.2913, allocations: 0 / 0.7337 GB, free: 2.016 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.2914, allocations: 0 / 0.7337 GB, free: 2.016 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001496/0.2929, allocations: 347.2 kB / 0.734 GB, free: 1.66 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.309e-05/0.2929, allocations: 85.09 kB / 0.7341 GB, free: 1.559 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.964e-05/0.293, allocations: 3.938 kB / 0.7341 GB, free: 1.555 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004361/0.2934, allocations: 44.28 kB / 0.7341 GB, free: 1.512 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.453e-05/0.2935, allocations: 0 / 0.7341 GB, free: 1.512 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.2935, allocations: 4 kB / 0.7341 GB, free: 1.508 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 7.843e-05/0.2936, allocations: 99.2 kB / 0.7342 GB, free: 1.41 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.8e-07/0.2936, allocations: 0 / 0.7342 GB, free: 1.41 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003223/0.2939, allocations: 12 kB / 0.7342 GB, free: 1.398 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 (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.001799/0.2958, allocations: 0.8802 MB / 0.7351 GB, free: 0.4922 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001466/0.2972, allocations: 239.7 kB / 0.7353 GB, free: 264 kB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.2973, allocations: 0 / 0.7353 GB, free: 264 kB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0007181/0.298, allocations: 115.9 kB / 0.7354 GB, free: 148 kB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/0.2983, allocations: 11.95 kB / 0.7354 GB, free: 136 kB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004135/0.3024, allocations: 0.9119 MB / 0.7363 GB, free: 15.18 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.3027, allocations: 0.6965 MB / 0.737 GB, free: 14.45 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001555/0.3029, allocations: 19.98 kB / 0.737 GB, free: 14.43 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.884e-05/0.303, allocations: 11.44 kB / 0.737 GB, free: 14.43 MB / 0.573 GB Notification: Performance of SimCode: time 9.72e-07/0.303, allocations: 4 kB / 0.7371 GB, free: 14.42 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02434/0.3274, allocations: 1.631 MB / 0.7386 GB, free: 12.89 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003011/0.3277, allocations: 176.4 kB / 0.7388 GB, free: 12.65 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.394/2.721, allocations: 0 / 0.7388 GB, free: 12.65 MB / 0.573 GB