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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.123/4.123, allocations: 433.2 MB / 440.7 MB, free: 4.574 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.35e-05/2.361e-05, allocations: 4.594 kB / 0.5325 GB, free: 12.78 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2124, allocations: 98.73 MB / 0.6289 GB, free: 9.129 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2592/0.4717, allocations: 124.5 MB / 0.7505 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002725/0.472, allocations: 75.95 kB / 0.7506 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00631/0.4783, allocations: 1.343 MB / 0.7519 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.743e-06/0.4784, allocations: 0 / 0.7519 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.133e-06/0.4784, allocations: 0 / 0.7519 GB, free: 11.03 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.0004624/0.4789, allocations: 354.4 kB / 0.7522 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/0.4789, allocations: 8.031 kB / 0.7522 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.065e-05/0.479, allocations: 7.953 kB / 0.7522 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/0.4791, allocations: 171 kB / 0.7524 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.4792, allocations: 0 / 0.7524 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.4792, allocations: 4 kB / 0.7524 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.006e-05/0.4793, allocations: 8 kB / 0.7524 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.956e-05/0.4794, allocations: 37.69 kB / 0.7524 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.4794, allocations: 7.938 kB / 0.7524 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.4794, allocations: 0 / 0.7524 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.4795, allocations: 0 / 0.7524 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000363/0.4798, allocations: 233.5 kB / 0.7527 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.698e-05/0.4799, allocations: 26.58 kB / 0.7527 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.49e-05/0.48, allocations: 12.92 kB / 0.7527 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001093/0.4811, allocations: 465.5 kB / 0.7532 GB, free: 9.492 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/0.4811, allocations: 30.56 kB / 0.7532 GB, free: 9.453 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.896e-06/0.4812, allocations: 0 / 0.7532 GB, free: 9.453 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.005996/0.4872, allocations: 0.548 MB / 0.7537 GB, free: 8.898 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/0.4873, allocations: 55.41 kB / 0.7538 GB, free: 8.832 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.4874, allocations: 104.9 kB / 0.7539 GB, free: 8.723 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.4874, allocations: 29.64 kB / 0.7539 GB, free: 8.688 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.137e-05/0.4875, allocations: 96.06 kB / 0.754 GB, free: 8.59 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.012e-05/0.4875, allocations: 7.875 kB / 0.754 GB, free: 8.582 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-06/0.4875, allocations: 0 / 0.754 GB, free: 8.582 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.4877, allocations: 318.8 kB / 0.7543 GB, free: 8.262 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.104e-05/0.4877, allocations: 0 / 0.7543 GB, free: 8.262 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.581e-05/0.4878, allocations: 8 kB / 0.7543 GB, free: 8.254 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005763/0.4935, allocations: 0.5191 MB / 0.7548 GB, free: 7.734 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.4936, allocations: 0 / 0.7548 GB, free: 7.734 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.005853/0.4995, allocations: 0.5518 MB / 0.7554 GB, free: 7.176 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/0.4995, allocations: 4 kB / 0.7554 GB, free: 7.172 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.4995, allocations: 0 / 0.7554 GB, free: 7.172 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.4996, allocations: 0 / 0.7554 GB, free: 7.172 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.4997, allocations: 15.92 kB / 0.7554 GB, free: 7.156 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-06/0.4997, allocations: 0 / 0.7554 GB, free: 7.156 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.522e-05/0.4998, allocations: 4 kB / 0.7554 GB, free: 7.152 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.006e-05/0.4998, allocations: 3.953 kB / 0.7554 GB, free: 7.148 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 () * 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.46e-05/0.4999, allocations: 105 kB / 0.7555 GB, free: 7.039 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00591/0.5058, allocations: 0.5441 MB / 0.756 GB, free: 6.488 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.167e-05/0.5059, allocations: 3.906 kB / 0.756 GB, free: 6.484 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005912/0.5118, allocations: 0.5597 MB / 0.7566 GB, free: 5.922 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.5119, allocations: 0 / 0.7566 GB, free: 5.922 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.269e-05/0.5119, allocations: 7.953 kB / 0.7566 GB, free: 5.914 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.5119, allocations: 0 / 0.7566 GB, free: 5.914 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000217/0.5122, allocations: 142.2 kB / 0.7567 GB, free: 5.738 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.5122, allocations: 0 / 0.7567 GB, free: 5.738 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.147e-05/0.5123, allocations: 4 kB / 0.7567 GB, free: 5.734 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.327e-05/0.5123, allocations: 4 kB / 0.7567 GB, free: 5.73 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.5123, allocations: 3.984 kB / 0.7567 GB, free: 5.727 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.5123, allocations: 0 / 0.7567 GB, free: 5.727 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.5123, allocations: 0 / 0.7567 GB, free: 5.727 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00587/0.5182, allocations: 0.6396 MB / 0.7573 GB, free: 5.07 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.536e-05/0.5183, allocations: 85 kB / 0.7574 GB, free: 4.969 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.5183, allocations: 0 / 0.7574 GB, free: 4.969 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.553e-05/0.5185, allocations: 4 kB / 0.7574 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.178e-05/0.5185, allocations: 4.031 kB / 0.7574 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.5185, allocations: 0 / 0.7574 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.053e-05/0.5186, allocations: 91.27 kB / 0.7575 GB, free: 4.871 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.946e-06/0.5186, allocations: 3.938 kB / 0.7575 GB, free: 4.867 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003431/0.519, allocations: 23.88 kB / 0.7575 GB, free: 4.844 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 () * 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.006302/0.5253, allocations: 1.196 MB / 0.7587 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001076/0.5254, allocations: 12 kB / 0.7587 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.5255, allocations: 3.938 kB / 0.7587 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.725e-05/0.5255, allocations: 20.03 kB / 0.7587 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001932/0.5257, allocations: 0 / 0.7587 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004713/0.5262, allocations: 97.59 kB / 0.7588 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/0.5265, allocations: 0.6846 MB / 0.7595 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.309e-05/0.5265, allocations: 7.984 kB / 0.7595 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.625e-05/0.5266, allocations: 11.44 kB / 0.7595 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of SimCode: time 1.283e-06/0.5266, allocations: 0 / 0.7595 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03724/0.5639, allocations: 1.029 MB / 0.7605 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003317/0.5643, allocations: 136.9 kB / 0.7607 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.147/2.711, allocations: 7.938 kB / 0.7607 GB, free: 1.492 MB / 0.6355 GB