Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",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.01071/0.01071, allocations: 88.98 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.001177/0.001176, allocations: 175.5 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.29/2.29, allocations: 205.5 MB / 222.2 MB, free: 13.71 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.313/2.313, allocations: 252.8 MB / 0.511 GB, free: 8.363 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004866/0.0004867, allocations: 13.22 kB / 0.6243 GB, free: 28.32 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2146, allocations: 106.2 MB / 0.7281 GB, free: 10.15 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0008281/0.2155, allocations: 333 kB / 0.7284 GB, free: 9.824 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001825/0.2174, allocations: 1.115 MB / 0.7295 GB, free: 8.695 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.05e-05/0.2174, allocations: 0 / 0.7295 GB, free: 8.695 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.127e-05/0.2175, allocations: 4 kB / 0.7295 GB, free: 8.691 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0002233/0.2177, allocations: 7.984 kB / 0.7295 GB, free: 8.684 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 6.773e-06/0.2177, allocations: 0 / 0.7295 GB, free: 8.684 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 3.858e-05/0.2178, allocations: 11.92 kB / 0.7295 GB, free: 8.672 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 5.343e-05/0.2178, allocations: 3.938 kB / 0.7295 GB, free: 8.668 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 1.383e-05/0.2179, allocations: 0 / 0.7295 GB, free: 8.668 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 2.875e-05/0.2179, allocations: 4 kB / 0.7295 GB, free: 8.664 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 7.414e-06/0.2179, allocations: 0 / 0.7295 GB, free: 8.664 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001152/0.218, allocations: 27.95 kB / 0.7296 GB, free: 8.637 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 4.408e-06/0.2181, allocations: 0 / 0.7296 GB, free: 8.637 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.419e-05/0.2181, allocations: 29.64 kB / 0.7296 GB, free: 8.602 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 5.746e-05/0.2182, allocations: 8 kB / 0.7296 GB, free: 8.594 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.2182, allocations: 0 / 0.7296 GB, free: 8.594 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2182, allocations: 0 / 0.7296 GB, free: 8.594 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.2182, allocations: 0 / 0.7296 GB, free: 8.594 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.0002842/0.2185, allocations: 315.4 kB / 0.7299 GB, free: 8.238 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.2185, allocations: 8.031 kB / 0.7299 GB, free: 8.23 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.465e-05/0.2186, allocations: 30.56 kB / 0.7299 GB, free: 8.191 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.709e-05/0.2186, allocations: 7.953 kB / 0.7299 GB, free: 8.184 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.67e-05/0.2187, allocations: 163.1 kB / 0.7301 GB, free: 7.984 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.2187, allocations: 4 kB / 0.7301 GB, free: 7.98 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.449e-05/0.2188, allocations: 0 / 0.7301 GB, free: 7.98 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.2189, allocations: 33.69 kB / 0.7301 GB, free: 7.941 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.2189, allocations: 0 / 0.7301 GB, free: 7.941 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.2189, allocations: 0 / 0.7301 GB, free: 7.941 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.219, allocations: 3.938 kB / 0.7301 GB, free: 7.938 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.091e-05/0.219, allocations: 19.88 kB / 0.7301 GB, free: 7.918 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001543/0.2192, allocations: 145.7 kB / 0.7303 GB, free: 7.727 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002291/0.2194, allocations: 38.61 kB / 0.7303 GB, free: 7.68 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001819/0.2196, allocations: 85.19 kB / 0.7304 GB, free: 7.578 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.2197, allocations: 34.56 kB / 0.7304 GB, free: 7.535 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 1.703e-06/0.2197, allocations: 0 / 0.7304 GB, free: 7.535 MB / 0.5573 GB Notification: Performance of matching and sorting (n=5): time 0.007492/0.2272, allocations: 0.5721 MB / 0.731 GB, free: 6.957 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.2273, allocations: 55.41 kB / 0.731 GB, free: 6.891 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.064e-05/0.2273, allocations: 89.86 kB / 0.7311 GB, free: 6.793 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.265e-05/0.2274, allocations: 29.7 kB / 0.7312 GB, free: 6.758 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 3.343e-05/0.2274, allocations: 92.02 kB / 0.7312 GB, free: 6.664 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 5.017e-05/0.2275, allocations: 11.8 kB / 0.7313 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.792e-05/0.2275, allocations: 4 kB / 0.7313 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.2276, allocations: 318.8 kB / 0.7316 GB, free: 6.328 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001067/0.2287, allocations: 79.95 kB / 0.7316 GB, free: 6.25 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001082/0.2298, allocations: 102.5 kB / 0.7317 GB, free: 6.141 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/0.2309, allocations: 87.95 kB / 0.7318 GB, free: 6.055 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.231, allocations: 0 / 0.7318 GB, free: 6.055 MB / 0.5573 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00226/0.2332, allocations: 209.6 kB / 0.732 GB, free: 5.844 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.2333, allocations: 11.98 kB / 0.732 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.2333, allocations: 0 / 0.732 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.2333, allocations: 192 / 0.732 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007083/0.234, allocations: 56 kB / 0.7321 GB, free: 5.777 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.2341, allocations: 0 / 0.7321 GB, free: 5.777 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006477/0.2347, allocations: 39.98 kB / 0.7321 GB, free: 5.738 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.557e-05/0.2348, allocations: 0 / 0.7321 GB, free: 5.738 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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.0001177/0.2349, allocations: 121.7 kB / 0.7322 GB, free: 5.609 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/0.2349, allocations: 3.984 kB / 0.7322 GB, free: 5.605 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002424/0.2374, allocations: 233.1 kB / 0.7325 GB, free: 5.371 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.513e-06/0.2374, allocations: 4 kB / 0.7325 GB, free: 5.367 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.2374, allocations: 0 / 0.7325 GB, free: 5.367 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.2374, allocations: 0 / 0.7325 GB, free: 5.367 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003282/0.2407, allocations: 458.3 kB / 0.7329 GB, free: 4.863 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/0.2408, allocations: 0 / 0.7329 GB, free: 4.863 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000779/0.2416, allocations: 51.97 kB / 0.733 GB, free: 4.812 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.094e-06/0.2416, allocations: 0 / 0.733 GB, free: 4.812 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.697e-05/0.2417, allocations: 4 kB / 0.733 GB, free: 4.809 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.2417, allocations: 4 kB / 0.733 GB, free: 4.805 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.2417, allocations: 0 / 0.733 GB, free: 4.805 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002311/0.244, allocations: 303.3 kB / 0.7333 GB, free: 4.492 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.928e-05/0.2441, allocations: 81.11 kB / 0.7333 GB, free: 4.395 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.563e-05/0.2441, allocations: 3.938 kB / 0.7333 GB, free: 4.391 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006491/0.2448, allocations: 39.97 kB / 0.7334 GB, free: 4.352 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.802e-05/0.2448, allocations: 8 kB / 0.7334 GB, free: 4.344 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.1e-05/0.2449, allocations: 0 / 0.7334 GB, free: 4.344 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 3.926e-05/0.2449, allocations: 83.23 kB / 0.7335 GB, free: 4.262 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.4e-07/0.2449, allocations: 3.938 kB / 0.7335 GB, free: 4.258 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003528/0.2453, allocations: 12 kB / 0.7335 GB, free: 4.246 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 (5): * Single equations (assignments): 5 * 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.002822/0.2481, allocations: 0.8493 MB / 0.7343 GB, free: 3.367 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002271/0.2505, allocations: 176 kB / 0.7345 GB, free: 3.195 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.2505, allocations: 0 / 0.7345 GB, free: 3.195 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001087/0.2516, allocations: 92.02 kB / 0.7346 GB, free: 3.105 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001866/0.2518, allocations: 7.984 kB / 0.7346 GB, free: 3.098 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002134/0.2539, allocations: 240.4 kB / 0.7348 GB, free: 2.824 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002677/0.2542, allocations: 0.677 MB / 0.7355 GB, free: 2.121 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004007/0.2547, allocations: 32 kB / 0.7355 GB, free: 2.09 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/0.2548, allocations: 11.42 kB / 0.7355 GB, free: 2.078 MB / 0.5573 GB Notification: Performance of SimCode: time 1.203e-06/0.2548, allocations: 0 / 0.7355 GB, free: 2.078 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01905/0.2739, allocations: 1.425 MB / 0.7369 GB, free: 0.7695 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002193/0.2741, allocations: 200.8 kB / 0.7371 GB, free: 0.5352 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.469/2.743, allocations: 0 / 0.7371 GB, free: 0.5352 MB / 0.5573 GB