Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.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.Functions.Examples.SmoothInterpolation,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.41/4.41, allocations: 432.6 MB / 445.2 MB, free: 15.79 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 6.414e-05/6.438e-05, allocations: 6.984 kB / 0.5383 GB, free: 10.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2882, allocations: 98.73 MB / 0.6347 GB, free: 1.855 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2436/0.5319, allocations: 125.5 MB / 0.7573 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003077/0.5322, allocations: 83.94 kB / 0.7573 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01703/0.5493, allocations: 3.469 MB / 0.7607 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.784e-06/0.5493, allocations: 0 / 0.7607 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.969e-06/0.5494, allocations: 0 / 0.7607 GB, free: 0.6484 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004785/0.5499, allocations: 401.8 kB / 0.7611 GB, free: 212 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.5499, allocations: 12.03 kB / 0.7611 GB, free: 200 kB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.431e-05/0.55, allocations: 30.56 kB / 0.7612 GB, free: 160 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.256e-05/0.55, allocations: 11.86 kB / 0.7612 GB, free: 148 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.5502, allocations: 167.1 kB / 0.7613 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.5502, allocations: 3.984 kB / 0.7613 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.5502, allocations: 4 kB / 0.7613 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.5504, allocations: 63.66 kB / 0.7614 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.485e-06/0.5504, allocations: 0 / 0.7614 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.5505, allocations: 0 / 0.7614 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.5505, allocations: 0 / 0.7614 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.549e-05/0.5506, allocations: 27.92 kB / 0.7614 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001899/0.5508, allocations: 177.5 kB / 0.7616 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.5509, allocations: 50.56 kB / 0.7616 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.51e-05/0.551, allocations: 44.86 kB / 0.7617 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 9.798e-06/0.551, allocations: 0 / 0.7617 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.5511, allocations: 30.56 kB / 0.7617 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 1.482e-06/0.5511, allocations: 0 / 0.7617 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.000362/0.5515, allocations: 135.3 kB / 0.7618 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.311e-05/0.5515, allocations: 81.11 kB / 0.7619 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.5517, allocations: 109 kB / 0.762 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/0.5517, allocations: 25.7 kB / 0.762 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.616e-05/0.5517, allocations: 84.14 kB / 0.7621 GB, free: 15 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.632e-05/0.5518, allocations: 19.7 kB / 0.7621 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.787e-06/0.5518, allocations: 0 / 0.7621 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.552, allocations: 322.8 kB / 0.7624 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.964e-05/0.552, allocations: 27.97 kB / 0.7625 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.382e-05/0.5521, allocations: 23.98 kB / 0.7625 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001045/0.5522, allocations: 57.7 kB / 0.7626 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.5523, allocations: 3.938 kB / 0.7626 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002762/0.5525, allocations: 135.1 kB / 0.7627 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.691e-05/0.5526, allocations: 37.69 kB / 0.7627 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.5526, allocations: 0 / 0.7627 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.244e-05/0.5527, allocations: 4 kB / 0.7627 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.503e-06/0.5527, allocations: 0 / 0.7627 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.5527, allocations: 0 / 0.7627 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.02e-05/0.5527, allocations: 3.938 kB / 0.7627 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-05/0.5528, allocations: 11.98 kB / 0.7627 GB, free: 14.33 MB / 0.6511 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001283/0.5529, allocations: 146.7 kB / 0.7629 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.626e-05/0.553, allocations: 11.89 kB / 0.7629 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.209e-05/0.553, allocations: 8.625 kB / 0.7629 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.553, allocations: 0 / 0.7629 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.553, allocations: 3.984 kB / 0.7629 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.553, allocations: 0 / 0.7629 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001341/0.5532, allocations: 165.6 kB / 0.7631 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.177e-06/0.5532, allocations: 3.984 kB / 0.7631 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.103e-06/0.5532, allocations: 0 / 0.7631 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.5532, allocations: 0 / 0.7631 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.5533, allocations: 8 kB / 0.7631 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.5533, allocations: 0 / 0.7631 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.395e-06/0.5533, allocations: 4 kB / 0.7631 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003533/0.5536, allocations: 179 kB / 0.7632 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.765e-05/0.5537, allocations: 85.02 kB / 0.7633 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.744e-05/0.5538, allocations: 4 kB / 0.7633 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.239e-05/0.5539, allocations: 4 kB / 0.7633 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.234e-05/0.5539, allocations: 3.984 kB / 0.7633 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.327e-05/0.554, allocations: 12.03 kB / 0.7634 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.719e-05/0.5541, allocations: 91.27 kB / 0.7634 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.61e-07/0.5541, allocations: 0 / 0.7634 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005062/0.5546, allocations: 83.92 kB / 0.7635 GB, free: 13.43 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0009838/0.5556, allocations: 0.7973 MB / 0.7643 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003098/0.5559, allocations: 183.3 kB / 0.7645 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.556, allocations: 0 / 0.7645 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001663/0.5561, allocations: 127.4 kB / 0.7646 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001283/0.5563, allocations: 4 kB / 0.7646 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005303/0.5568, allocations: 178.5 kB / 0.7648 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003103/0.5571, allocations: 0.6887 MB / 0.7654 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.57e-06/0.5572, allocations: 0 / 0.7654 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.073e-05/0.5572, allocations: 11.56 kB / 0.7655 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of SimCode: time 1.343e-06/0.5572, allocations: 7.938 kB / 0.7655 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02804/0.5853, allocations: 2.724 MB / 0.7681 GB, free: 8.672 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003376/0.5857, allocations: 172.1 kB / 0.7683 GB, free: 8.445 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.516/3.102, allocations: 0 / 0.7683 GB, free: 8.445 MB / 0.6511 GB