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.SmoothHeaviside.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.495/4.495, allocations: 432.6 MB / 445.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.644e-05/4.65e-05, allocations: 5.312 kB / 0.5383 GB, free: 10.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2184, allocations: 98.74 MB / 0.6347 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2611/0.4796, allocations: 124.5 MB / 0.7563 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002847/0.4799, allocations: 75.94 kB / 0.7563 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004065/0.484, allocations: 0.9066 MB / 0.7572 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of FrontEnd: time 5e-06/0.484, allocations: 3.984 kB / 0.7572 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.698e-06/0.4841, allocations: 4 kB / 0.7572 GB, free: 4.262 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.0004913/0.4846, allocations: 344.5 kB / 0.7576 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/0.4846, allocations: 8.031 kB / 0.7576 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.932e-05/0.4847, allocations: 34.56 kB / 0.7576 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.439e-05/0.4847, allocations: 0 / 0.7576 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.4849, allocations: 163 kB / 0.7578 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.4849, allocations: 4 kB / 0.7578 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.4849, allocations: 4 kB / 0.7578 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.4851, allocations: 41.62 kB / 0.7578 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.4852, allocations: 0 / 0.7578 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.4852, allocations: 4 kB / 0.7578 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.4852, allocations: 4 kB / 0.7578 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.056e-05/0.4853, allocations: 4 kB / 0.7578 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005624/0.4858, allocations: 272.8 kB / 0.7581 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.975e-05/0.4859, allocations: 30.58 kB / 0.7581 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.012e-05/0.486, allocations: 8.922 kB / 0.7581 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005564/0.4866, allocations: 210.1 kB / 0.7583 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.4866, allocations: 34.56 kB / 0.7583 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.534e-06/0.4866, allocations: 0 / 0.7583 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001981/0.4868, allocations: 37.7 kB / 0.7584 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.781e-05/0.4869, allocations: 55.36 kB / 0.7584 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.757e-05/0.487, allocations: 101 kB / 0.7585 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.487, allocations: 25.7 kB / 0.7586 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.555e-05/0.4871, allocations: 84.12 kB / 0.7586 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.365e-05/0.4871, allocations: 11.94 kB / 0.7586 GB, free: 2.57 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-06/0.4872, allocations: 3.938 kB / 0.7587 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.4873, allocations: 314.8 kB / 0.759 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.771e-05/0.4873, allocations: 4 kB / 0.759 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.111e-05/0.4874, allocations: 8 kB / 0.759 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.658e-05/0.4874, allocations: 3.938 kB / 0.759 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.4874, allocations: 0 / 0.759 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001145/0.4876, allocations: 45.69 kB / 0.759 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.4876, allocations: 8.094 kB / 0.759 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.4876, allocations: 4 kB / 0.759 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.4876, allocations: 3.938 kB / 0.759 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001483/0.4878, allocations: 11.98 kB / 0.759 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.4878, allocations: 0 / 0.759 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.706e-05/0.4879, allocations: 7.953 kB / 0.759 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.4879, allocations: 4 kB / 0.7591 GB, free: 2.145 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.71e-05/0.488, allocations: 112.9 kB / 0.7592 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.575e-05/0.4881, allocations: 7.906 kB / 0.7592 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000151/0.4882, allocations: 52.75 kB / 0.7592 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.4883, allocations: 0 / 0.7592 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.4883, allocations: 0 / 0.7592 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.4883, allocations: 0 / 0.7592 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002158/0.4885, allocations: 157.6 kB / 0.7594 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.4885, allocations: 0 / 0.7594 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.4886, allocations: 15.98 kB / 0.7594 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.4887, allocations: 4.031 kB / 0.7594 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.4887, allocations: 0 / 0.7594 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.4887, allocations: 0 / 0.7594 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.4887, allocations: 0 / 0.7594 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001742/0.4889, allocations: 147.4 kB / 0.7595 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.111e-05/0.4889, allocations: 81.09 kB / 0.7596 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.489, allocations: 0 / 0.7596 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.4891, allocations: 16.02 kB / 0.7596 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-05/0.4892, allocations: 0 / 0.7596 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.4892, allocations: 4 kB / 0.7596 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.67e-05/0.4893, allocations: 83.28 kB / 0.7597 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.71e-07/0.4893, allocations: 0 / 0.7597 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003044/0.4896, allocations: 12 kB / 0.7597 GB, free: 1.371 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.0005854/0.4902, allocations: 0.6932 MB / 0.7604 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001231/0.4903, allocations: 19.94 kB / 0.7604 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4903, allocations: 0 / 0.7604 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.7e-05/0.4904, allocations: 4 kB / 0.7604 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002138/0.4906, allocations: 4 kB / 0.7604 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004175/0.491, allocations: 104.6 kB / 0.7605 GB, free: 500 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.4914, allocations: 0.677 MB / 0.7612 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.534e-05/0.4914, allocations: 0 / 0.7612 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.152e-05/0.4915, allocations: 15.42 kB / 0.7612 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of SimCode: time 8.02e-07/0.4915, allocations: 0 / 0.7612 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0187/0.5102, allocations: 1.204 MB / 0.7624 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003161/0.5106, allocations: 152.9 kB / 0.7625 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.385/2.896, allocations: 4 kB / 0.7625 GB, free: 14.4 MB / 0.6511 GB