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.SmoothHeaviside.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.SmoothHeaviside,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Examples_SmoothHeaviside",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.01567/0.01568, allocations: 92.64 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.001994/0.001994, allocations: 173.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.494/2.494, allocations: 205.5 MB / 222.2 MB, free: 13.73 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.526/2.526, allocations: 252.8 MB / 0.511 GB, free: 8.363 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004729/0.000473, allocations: 20.44 kB / 0.6243 GB, free: 28.29 MB / 0.4949 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2286/0.2291, allocations: 106.2 MB / 0.7281 GB, free: 10.2 MB / 0.5574 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.002018/0.2312, allocations: 1.16 MB / 0.7292 GB, free: 9.02 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.00107/0.2323, allocations: 481.7 kB / 0.7297 GB, free: 8.543 MB / 0.5574 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.221e-05/0.2324, allocations: 4 kB / 0.7297 GB, free: 8.539 MB / 0.5574 GB Notification: Performance of NFTyping.typeComponents: time 1.903e-05/0.2324, allocations: 0 / 0.7297 GB, free: 8.539 MB / 0.5574 GB Notification: Performance of NFTyping.typeBindings: time 7.652e-05/0.2325, allocations: 3.984 kB / 0.7297 GB, free: 8.535 MB / 0.5574 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001986/0.2327, allocations: 23.86 kB / 0.7297 GB, free: 8.512 MB / 0.5574 GB Notification: Performance of NFFlatten.flatten: time 5.861e-05/0.2328, allocations: 15.98 kB / 0.7297 GB, free: 8.496 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 8.927e-05/0.2329, allocations: 4 kB / 0.7297 GB, free: 8.492 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 6.619e-05/0.233, allocations: 11.97 kB / 0.7297 GB, free: 8.48 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 4.895e-05/0.233, allocations: 11.94 kB / 0.7297 GB, free: 8.469 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.233, allocations: 0 / 0.7297 GB, free: 8.469 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 7.785e-05/0.2331, allocations: 19.98 kB / 0.7297 GB, free: 8.449 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 1.17e-05/0.2331, allocations: 3.984 kB / 0.7297 GB, free: 8.445 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 3.1e-05/0.2332, allocations: 29.64 kB / 0.7298 GB, free: 8.41 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 9.354e-05/0.2333, allocations: 27.95 kB / 0.7298 GB, free: 8.383 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.2333, allocations: 0 / 0.7298 GB, free: 8.383 MB / 0.5574 GB Notification: Performance of FrontEnd: time 2.204e-06/0.2333, allocations: 4 kB / 0.7298 GB, free: 8.379 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 9.328e-06/0.2333, allocations: 3.938 kB / 0.7298 GB, free: 8.375 MB / 0.5574 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.0004985/0.2338, allocations: 339.6 kB / 0.7301 GB, free: 7.996 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.2339, allocations: 12.03 kB / 0.7301 GB, free: 7.984 MB / 0.5574 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.1e-05/0.2339, allocations: 30.56 kB / 0.7302 GB, free: 7.945 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.921e-05/0.234, allocations: 7.859 kB / 0.7302 GB, free: 7.938 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.2341, allocations: 163.1 kB / 0.7303 GB, free: 7.738 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.2341, allocations: 4 kB / 0.7303 GB, free: 7.734 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.099e-05/0.2342, allocations: 0 / 0.7303 GB, free: 7.734 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002379/0.2344, allocations: 53.67 kB / 0.7304 GB, free: 7.676 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.2344, allocations: 0 / 0.7304 GB, free: 7.676 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.2344, allocations: 0 / 0.7304 GB, free: 7.676 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.2345, allocations: 0 / 0.7304 GB, free: 7.676 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002988/0.2348, allocations: 59.84 kB / 0.7305 GB, free: 7.617 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003769/0.2352, allocations: 253 kB / 0.7307 GB, free: 7.32 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/0.2354, allocations: 42.56 kB / 0.7307 GB, free: 7.27 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001633/0.2355, allocations: 81.17 kB / 0.7308 GB, free: 7.172 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.2356, allocations: 34.55 kB / 0.7308 GB, free: 7.129 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=2): time 4.158e-06/0.2356, allocations: 0 / 0.7308 GB, free: 7.129 MB / 0.5574 GB Notification: Performance of matching and sorting (n=2): time 0.0005919/0.2362, allocations: 109.5 kB / 0.7309 GB, free: 7.016 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.2363, allocations: 55.39 kB / 0.731 GB, free: 6.949 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.809e-05/0.2364, allocations: 97.86 kB / 0.7311 GB, free: 6.844 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.2364, allocations: 29.7 kB / 0.7311 GB, free: 6.809 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 4.923e-05/0.2365, allocations: 80.14 kB / 0.7312 GB, free: 6.727 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 2.08e-05/0.2365, allocations: 8.016 kB / 0.7312 GB, free: 6.719 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.569e-06/0.2365, allocations: 4 kB / 0.7312 GB, free: 6.715 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.2366, allocations: 314.8 kB / 0.7315 GB, free: 6.398 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/0.2368, allocations: 19.98 kB / 0.7315 GB, free: 6.379 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001414/0.2369, allocations: 23.98 kB / 0.7316 GB, free: 6.355 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001473/0.2371, allocations: 24.03 kB / 0.7316 GB, free: 6.332 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2371, allocations: 0 / 0.7316 GB, free: 6.332 MB / 0.5574 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003554/0.2375, allocations: 85.52 kB / 0.7317 GB, free: 6.242 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.2375, allocations: 11.12 kB / 0.7317 GB, free: 6.234 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.2375, allocations: 256 / 0.7317 GB, free: 6.234 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.2375, allocations: 0 / 0.7317 GB, free: 6.234 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.2377, allocations: 15.98 kB / 0.7317 GB, free: 6.219 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.2377, allocations: 3.953 kB / 0.7317 GB, free: 6.215 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.977e-05/0.2378, allocations: 15.92 kB / 0.7317 GB, free: 6.199 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.2378, allocations: 0 / 0.7317 GB, free: 6.199 MB / 0.5574 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.726e-05/0.2379, allocations: 109.9 kB / 0.7318 GB, free: 6.082 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.293e-05/0.238, allocations: 4 kB / 0.7318 GB, free: 6.078 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003944/0.2384, allocations: 88.67 kB / 0.7319 GB, free: 5.988 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.2384, allocations: 4.031 kB / 0.7319 GB, free: 5.984 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.2384, allocations: 3.938 kB / 0.7319 GB, free: 5.98 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.2384, allocations: 3.953 kB / 0.7319 GB, free: 5.977 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002007/0.2386, allocations: 157.7 kB / 0.7321 GB, free: 5.773 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.2387, allocations: 0 / 0.7321 GB, free: 5.773 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/0.2388, allocations: 15.98 kB / 0.7321 GB, free: 5.758 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.2388, allocations: 0 / 0.7321 GB, free: 5.758 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.2388, allocations: 0 / 0.7321 GB, free: 5.758 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.2388, allocations: 0 / 0.7321 GB, free: 5.758 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.2388, allocations: 0 / 0.7321 GB, free: 5.758 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003785/0.2392, allocations: 175.5 kB / 0.7322 GB, free: 5.57 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 4.554e-05/0.2393, allocations: 85.02 kB / 0.7323 GB, free: 5.469 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.2393, allocations: 3.938 kB / 0.7323 GB, free: 5.465 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.2394, allocations: 15.95 kB / 0.7323 GB, free: 5.449 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.302e-05/0.2395, allocations: 4 kB / 0.7323 GB, free: 5.445 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.2395, allocations: 0 / 0.7323 GB, free: 5.445 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 5.097e-05/0.2396, allocations: 83.28 kB / 0.7324 GB, free: 5.363 MB / 0.5574 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2396, allocations: 0 / 0.7324 GB, free: 5.363 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.0003318/0.2399, allocations: 7.984 kB / 0.7324 GB, free: 5.355 MB / 0.5574 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.0007284/0.2407, allocations: 0.7085 MB / 0.7331 GB, free: 4.617 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.000354/0.241, allocations: 51.94 kB / 0.7332 GB, free: 4.566 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.241, allocations: 0 / 0.7332 GB, free: 4.566 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.0001557/0.2412, allocations: 27.97 kB / 0.7332 GB, free: 4.539 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/0.2415, allocations: 8.125 kB / 0.7332 GB, free: 4.531 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004939/0.242, allocations: 134.4 kB / 0.7333 GB, free: 4.363 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.2423, allocations: 0.6809 MB / 0.734 GB, free: 3.656 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 3.781e-05/0.2423, allocations: 0 / 0.734 GB, free: 3.656 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.324e-05/0.2424, allocations: 15.44 kB / 0.734 GB, free: 3.641 MB / 0.5574 GB Notification: Performance of SimCode: time 8.62e-07/0.2424, allocations: 4 kB / 0.734 GB, free: 3.637 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02124/0.2636, allocations: 1.143 MB / 0.7351 GB, free: 2.598 MB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003713/0.2641, allocations: 183.5 kB / 0.7353 GB, free: 2.359 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.395/2.659, allocations: 0 / 0.7353 GB, free: 2.359 MB / 0.5574 GB