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.SmoothBlocks.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.SmoothBlocks,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.318/4.318, allocations: 433.2 MB / 440.7 MB, free: 4.59 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.654e-05/2.666e-05, allocations: 7.125 kB / 0.5325 GB, free: 12.75 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.2547, allocations: 98.75 MB / 0.6289 GB, free: 9.156 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2505/0.5053, allocations: 125.6 MB / 0.7515 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002826/0.5057, allocations: 75.95 kB / 0.7516 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02466/0.5303, allocations: 4.971 MB / 0.7565 GB, free: 6.348 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.412e-06/0.5304, allocations: 0 / 0.7565 GB, free: 6.348 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.078e-05/0.5304, allocations: 4 kB / 0.7565 GB, free: 6.344 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006731/0.5311, allocations: 414.2 kB / 0.7569 GB, free: 5.895 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.5312, allocations: 8.031 kB / 0.7569 GB, free: 5.887 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00109/0.5323, allocations: 123.6 kB / 0.757 GB, free: 5.766 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001667/0.5324, allocations: 176.3 kB / 0.7572 GB, free: 5.555 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001281/0.5326, allocations: 63.34 kB / 0.7572 GB, free: 5.48 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.227e-05/0.5326, allocations: 4 kB / 0.7572 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002583/0.5329, allocations: 75.89 kB / 0.7573 GB, free: 5.402 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002929/0.5332, allocations: 109.6 kB / 0.7574 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.5332, allocations: 7.938 kB / 0.7574 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.883e-05/0.5333, allocations: 0 / 0.7574 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.5333, allocations: 4 kB / 0.7574 GB, free: 5.277 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001667/0.535, allocations: 478.3 kB / 0.7579 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009989/0.536, allocations: 162.4 kB / 0.758 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.5361, allocations: 44.97 kB / 0.7581 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.066e-05/0.5362, allocations: 3.984 kB / 0.7581 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.5362, allocations: 30.56 kB / 0.7581 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 2.825e-06/0.5362, allocations: 0 / 0.7581 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0003619/0.5366, allocations: 101.7 kB / 0.7582 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.5366, allocations: 59.41 kB / 0.7582 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.5368, allocations: 126.9 kB / 0.7584 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.351e-05/0.5368, allocations: 25.7 kB / 0.7584 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.496e-05/0.5369, allocations: 112.2 kB / 0.7585 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.529e-05/0.537, allocations: 19.64 kB / 0.7585 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.419e-05/0.537, allocations: 0 / 0.7585 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.5371, allocations: 318.8 kB / 0.7588 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.812e-05/0.5372, allocations: 35.98 kB / 0.7589 GB, free: 3.684 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.5374, allocations: 54.52 kB / 0.7589 GB, free: 3.621 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001003/0.5375, allocations: 36.05 kB / 0.7589 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.5375, allocations: 0 / 0.7589 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003037/0.5378, allocations: 117.5 kB / 0.7591 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.5379, allocations: 8 kB / 0.7591 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.5379, allocations: 0 / 0.7591 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.5379, allocations: 0 / 0.7591 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004529/0.5384, allocations: 48.02 kB / 0.7591 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.5384, allocations: 7.922 kB / 0.7591 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003386/0.5387, allocations: 31.88 kB / 0.7591 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.434e-05/0.5388, allocations: 11.95 kB / 0.7592 GB, free: 3.359 MB / 0.6355 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001083/0.5389, allocations: 101 kB / 0.7593 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002946/0.5392, allocations: 109.5 kB / 0.7594 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.199e-05/0.5393, allocations: 7.906 kB / 0.7594 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003675/0.5396, allocations: 118.2 kB / 0.7595 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.5397, allocations: 0 / 0.7595 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.505e-06/0.5397, allocations: 3.953 kB / 0.7595 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.5397, allocations: 8 kB / 0.7595 GB, free: 3 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003218/0.54, allocations: 203 kB / 0.7597 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.54, allocations: 0 / 0.7597 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004073/0.5404, allocations: 43.95 kB / 0.7597 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.5405, allocations: 0 / 0.7597 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/0.5405, allocations: 0 / 0.7597 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.5405, allocations: 7.938 kB / 0.7597 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.5405, allocations: 0 / 0.7597 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000338/0.5409, allocations: 211.6 kB / 0.7599 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.004e-05/0.5409, allocations: 84.95 kB / 0.76 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.041e-05/0.541, allocations: 0 / 0.76 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005713/0.5416, allocations: 43.95 kB / 0.7601 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.471e-05/0.5416, allocations: 7.984 kB / 0.7601 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.132e-05/0.5417, allocations: 4 kB / 0.7601 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.672e-05/0.5418, allocations: 105.5 kB / 0.7602 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.31e-07/0.5418, allocations: 0 / 0.7602 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003666/0.5421, allocations: 23.91 kB / 0.7602 GB, free: 2.211 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 (6): * Single equations (assignments): 6 * 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.0006506/0.5428, allocations: 0.7358 MB / 0.7609 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000277/0.5431, allocations: 75.98 kB / 0.761 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.5431, allocations: 0 / 0.761 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.5432, allocations: 43.94 kB / 0.761 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000275/0.5435, allocations: 7.938 kB / 0.761 GB, free: 1.324 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006628/0.5442, allocations: 186.2 kB / 0.7612 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.5445, allocations: 0.7002 MB / 0.7619 GB, free: 388 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001831/0.5447, allocations: 24.11 kB / 0.7619 GB, free: 360 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.5449, allocations: 31.42 kB / 0.7619 GB, free: 328 kB / 0.6355 GB Notification: Performance of SimCode: time 9.32e-07/0.5449, allocations: 0 / 0.7619 GB, free: 328 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04216/0.587, allocations: 2.07 MB / 0.764 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003057/0.5874, allocations: 134.2 kB / 0.7641 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.2/2.788, allocations: 0 / 0.7641 GB, free: 14.07 MB / 0.6511 GB