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/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.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.216/4.216, allocations: 432.6 MB / 445.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.258e-05/4.276e-05, allocations: 5.953 kB / 0.5383 GB, free: 10.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.2158, allocations: 98.74 MB / 0.6347 GB, free: 1.918 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2669/0.4827, allocations: 126.2 MB / 0.758 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003257/0.4831, allocations: 75.94 kB / 0.7581 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02593/0.5091, allocations: 4.995 MB / 0.763 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5091, allocations: 0 / 0.763 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.356e-06/0.5092, allocations: 4 kB / 0.763 GB, free: 14.39 MB / 0.6511 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.0006963/0.5099, allocations: 410.2 kB / 0.7633 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.5099, allocations: 12.03 kB / 0.7634 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.11e-05/0.51, allocations: 38.56 kB / 0.7634 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001165/0.5112, allocations: 123.6 kB / 0.7635 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/0.5114, allocations: 182.9 kB / 0.7637 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001319/0.5115, allocations: 63.39 kB / 0.7637 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.414e-05/0.5116, allocations: 15.94 kB / 0.7638 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003699/0.512, allocations: 113.5 kB / 0.7639 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.512, allocations: 0 / 0.7639 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.238e-05/0.512, allocations: 11.95 kB / 0.7639 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.5121, allocations: 0 / 0.7639 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000258/0.5123, allocations: 75.98 kB / 0.764 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001799/0.5141, allocations: 0.494 MB / 0.7644 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/0.5153, allocations: 166.4 kB / 0.7646 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000137/0.5155, allocations: 44.97 kB / 0.7646 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.498e-05/0.5155, allocations: 3.938 kB / 0.7646 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.5156, allocations: 38.56 kB / 0.7647 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=6): time 2.915e-06/0.5156, allocations: 0 / 0.7647 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6): time 0.0004303/0.516, allocations: 101.7 kB / 0.7648 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.5161, allocations: 51.41 kB / 0.7648 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.5162, allocations: 134.5 kB / 0.765 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.169e-05/0.5163, allocations: 25.7 kB / 0.765 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.261e-05/0.5164, allocations: 112.1 kB / 0.7651 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.221e-05/0.5165, allocations: 27.72 kB / 0.7651 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.583e-05/0.5165, allocations: 4 kB / 0.7651 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.5166, allocations: 322.8 kB / 0.7654 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.5168, allocations: 31.98 kB / 0.7655 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001458/0.5169, allocations: 54.58 kB / 0.7655 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.5171, allocations: 31.98 kB / 0.7655 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.5171, allocations: 0 / 0.7655 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003754/0.5175, allocations: 121.5 kB / 0.7657 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.5175, allocations: 4 kB / 0.7657 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.5175, allocations: 4 kB / 0.7657 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.5176, allocations: 0 / 0.7657 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005038/0.5181, allocations: 52.06 kB / 0.7657 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/0.5181, allocations: 8.016 kB / 0.7657 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003579/0.5185, allocations: 35.81 kB / 0.7658 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.037e-05/0.5185, allocations: 8 kB / 0.7658 GB, free: 11.27 MB / 0.6511 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.000119/0.5186, allocations: 107.5 kB / 0.7659 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.83e-05/0.5187, allocations: 7.906 kB / 0.7659 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004773/0.5192, allocations: 134.2 kB / 0.766 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.5192, allocations: 0 / 0.766 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.5192, allocations: 0 / 0.766 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.5193, allocations: 3.953 kB / 0.766 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003718/0.5196, allocations: 230.4 kB / 0.7662 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.5197, allocations: 0 / 0.7662 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004344/0.5201, allocations: 51.89 kB / 0.7663 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.5201, allocations: 0 / 0.7663 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/0.5202, allocations: 0 / 0.7663 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.634e-06/0.5202, allocations: 4 kB / 0.7663 GB, free: 10.69 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.5202, allocations: 3.984 kB / 0.7663 GB, free: 10.69 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003835/0.5206, allocations: 203.4 kB / 0.7665 GB, free: 10.47 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.9e-05/0.5206, allocations: 85 kB / 0.7666 GB, free: 10.37 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.094e-05/0.5207, allocations: 4 kB / 0.7666 GB, free: 10.37 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005683/0.5213, allocations: 47.95 kB / 0.7666 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.912e-05/0.5213, allocations: 0 / 0.7666 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.435e-05/0.5214, allocations: 7.984 kB / 0.7666 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001039/0.5215, allocations: 115.2 kB / 0.7667 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.9e-07/0.5215, allocations: 0 / 0.7667 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003498/0.5219, allocations: 23.91 kB / 0.7667 GB, free: 10.18 MB / 0.6511 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.0007329/0.5226, allocations: 0.7399 MB / 0.7675 GB, free: 9.406 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003477/0.523, allocations: 87.92 kB / 0.7675 GB, free: 9.32 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.523, allocations: 0 / 0.7675 GB, free: 9.32 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001414/0.5231, allocations: 43.98 kB / 0.7676 GB, free: 9.277 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.5234, allocations: 5.875 kB / 0.7676 GB, free: 9.273 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007124/0.5241, allocations: 191 kB / 0.7678 GB, free: 9.047 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003153/0.5245, allocations: 0.7004 MB / 0.7685 GB, free: 8.32 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001692/0.5247, allocations: 12.31 kB / 0.7685 GB, free: 8.305 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/0.5248, allocations: 35.41 kB / 0.7685 GB, free: 8.27 MB / 0.6511 GB Notification: Performance of SimCode: time 4.148e-06/0.5248, allocations: 4 kB / 0.7685 GB, free: 8.266 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02621/0.551, allocations: 2.402 MB / 0.7709 GB, free: 5.934 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004924/0.5516, allocations: 149.8 kB / 0.771 GB, free: 5.711 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.494/3.045, allocations: 7.938 kB / 0.771 GB, free: 5.703 MB / 0.6511 GB