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/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.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.311/4.311, allocations: 433.2 MB / 440.7 MB, free: 4.566 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.468e-05/3.476e-05, allocations: 5.469 kB / 0.5325 GB, free: 12.8 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2263/0.2264, allocations: 98.74 MB / 0.6289 GB, free: 9.129 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2253/0.4517, allocations: 123.8 MB / 0.7498 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002627/0.452, allocations: 75.94 kB / 0.7499 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003755/0.4558, allocations: 0.9141 MB / 0.7508 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4558, allocations: 0 / 0.7508 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.4559, allocations: 0 / 0.7508 GB, free: 12.17 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.0004136/0.4563, allocations: 342.5 kB / 0.7511 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.4563, allocations: 12.03 kB / 0.7511 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.421e-05/0.4564, allocations: 7.953 kB / 0.7511 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.4565, allocations: 163 kB / 0.7513 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.4565, allocations: 0 / 0.7513 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.527e-05/0.4566, allocations: 4 kB / 0.7513 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.694e-05/0.4567, allocations: 11.94 kB / 0.7513 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.926e-05/0.4567, allocations: 37.69 kB / 0.7513 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.4568, allocations: 0 / 0.7513 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.088e-06/0.4568, allocations: 0 / 0.7513 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/0.4568, allocations: 4 kB / 0.7513 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004526/0.4573, allocations: 249.3 kB / 0.7516 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.657e-05/0.4574, allocations: 26.61 kB / 0.7516 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.238e-05/0.4574, allocations: 8.922 kB / 0.7516 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005085/0.4579, allocations: 202.2 kB / 0.7518 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.595e-05/0.458, allocations: 38.5 kB / 0.7518 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.673e-06/0.458, allocations: 0 / 0.7518 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002669/0.4583, allocations: 49.67 kB / 0.7519 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.4583, allocations: 55.44 kB / 0.7519 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.308e-05/0.4584, allocations: 97 kB / 0.752 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.4584, allocations: 25.7 kB / 0.752 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.297e-05/0.4585, allocations: 84.08 kB / 0.7521 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.94e-05/0.4585, allocations: 3.906 kB / 0.7521 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-06/0.4585, allocations: 0 / 0.7521 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.4587, allocations: 326.8 kB / 0.7524 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.189e-05/0.4587, allocations: 0 / 0.7524 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.378e-05/0.4587, allocations: 8 kB / 0.7524 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/0.4589, allocations: 16.05 kB / 0.7525 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4589, allocations: 0 / 0.7525 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00019/0.4591, allocations: 53.62 kB / 0.7525 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.4591, allocations: 4 kB / 0.7525 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.4591, allocations: 3.984 kB / 0.7525 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.4591, allocations: 0 / 0.7525 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.4593, allocations: 8 kB / 0.7525 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.4593, allocations: 4 kB / 0.7525 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.415e-05/0.4594, allocations: 12.02 kB / 0.7525 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.842e-06/0.4594, allocations: 0 / 0.7525 GB, free: 10.11 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 7.597e-05/0.4595, allocations: 108.9 kB / 0.7526 GB, free: 9.996 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001951/0.4597, allocations: 53.58 kB / 0.7527 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.161e-05/0.4597, allocations: 8 kB / 0.7527 GB, free: 9.93 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002103/0.46, allocations: 57.36 kB / 0.7528 GB, free: 9.871 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.46, allocations: 256 / 0.7528 GB, free: 9.871 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.46, allocations: 8 kB / 0.7528 GB, free: 9.863 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.46, allocations: 11.95 kB / 0.7528 GB, free: 9.852 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/0.4602, allocations: 134.2 kB / 0.7529 GB, free: 9.684 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4602, allocations: 0 / 0.7529 GB, free: 9.684 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.4603, allocations: 11.98 kB / 0.7529 GB, free: 9.672 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.4603, allocations: 0 / 0.7529 GB, free: 9.672 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.4603, allocations: 0 / 0.7529 GB, free: 9.672 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.4604, allocations: 0 / 0.7529 GB, free: 9.672 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.4604, allocations: 0 / 0.7529 GB, free: 9.672 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002306/0.4606, allocations: 155.4 kB / 0.7531 GB, free: 9.504 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.39e-05/0.4607, allocations: 85.02 kB / 0.7531 GB, free: 9.402 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.4607, allocations: 0 / 0.7531 GB, free: 9.402 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.4608, allocations: 11.98 kB / 0.7532 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.913e-05/0.4609, allocations: 4 kB / 0.7532 GB, free: 9.387 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.4609, allocations: 0 / 0.7532 GB, free: 9.387 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.743e-05/0.461, allocations: 87.25 kB / 0.7532 GB, free: 9.301 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.21e-07/0.461, allocations: 0 / 0.7532 GB, free: 9.301 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003089/0.4613, allocations: 15.94 kB / 0.7533 GB, free: 9.285 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.0005656/0.4619, allocations: 0.689 MB / 0.7539 GB, free: 8.566 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001082/0.462, allocations: 19.97 kB / 0.7539 GB, free: 8.547 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.462, allocations: 0 / 0.7539 GB, free: 8.547 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.881e-05/0.462, allocations: 12 kB / 0.754 GB, free: 8.535 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002065/0.4623, allocations: 1.719 kB / 0.754 GB, free: 8.535 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003783/0.4627, allocations: 89.59 kB / 0.754 GB, free: 8.41 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002564/0.4629, allocations: 0.6768 MB / 0.7547 GB, free: 7.707 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.687e-05/0.463, allocations: 7.984 kB / 0.7547 GB, free: 7.699 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.471e-05/0.463, allocations: 11.55 kB / 0.7547 GB, free: 7.688 MB / 0.6355 GB Notification: Performance of SimCode: time 7.72e-07/0.463, allocations: 4 kB / 0.7547 GB, free: 7.684 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03487/0.4979, allocations: 0.8909 MB / 0.7556 GB, free: 6.801 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004387/0.4985, allocations: 137.8 kB / 0.7557 GB, free: 6.609 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.229/2.727, allocations: 0 / 0.7557 GB, free: 6.609 MB / 0.6355 GB