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.CubicHermite.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.CubicHermite,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.624/4.624, allocations: 432.6 MB / 445.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.135e-05/4.153e-05, allocations: 10.09 kB / 0.5383 GB, free: 10.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2578, allocations: 98.73 MB / 0.6347 GB, free: 1.859 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2482/0.5061, allocations: 125.3 MB / 0.7571 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003152/0.5065, allocations: 83.94 kB / 0.7572 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01612/0.5226, allocations: 3.138 MB / 0.7603 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5227, allocations: 0 / 0.7603 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.5227, allocations: 0 / 0.7603 GB, free: 1.133 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005197/0.5232, allocations: 433.7 kB / 0.7607 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.685e-05/0.5233, allocations: 12.02 kB / 0.7607 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.506e-05/0.5234, allocations: 34.56 kB / 0.7607 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.151e-05/0.5234, allocations: 7.906 kB / 0.7607 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/0.5236, allocations: 178.9 kB / 0.7609 GB, free: 384 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.5236, allocations: 4 kB / 0.7609 GB, free: 380 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.5236, allocations: 0 / 0.7609 GB, free: 380 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000241/0.5239, allocations: 93.64 kB / 0.761 GB, free: 280 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.5239, allocations: 4 kB / 0.761 GB, free: 276 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.5239, allocations: 0 / 0.761 GB, free: 276 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.524, allocations: 0 / 0.761 GB, free: 276 kB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001521/0.5241, allocations: 63.95 kB / 0.7611 GB, free: 212 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002209/0.5244, allocations: 177.6 kB / 0.7612 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001802/0.5246, allocations: 88.47 kB / 0.7613 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001483/0.5247, allocations: 68.89 kB / 0.7614 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.159e-05/0.5247, allocations: 4 kB / 0.7614 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.5248, allocations: 30.56 kB / 0.7614 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=4): time 4.458e-06/0.5248, allocations: 3.984 kB / 0.7614 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of matching and sorting (n=4): time 0.0004971/0.5253, allocations: 191.2 kB / 0.7616 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.389e-05/0.5254, allocations: 81.11 kB / 0.7617 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.5255, allocations: 135.1 kB / 0.7618 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.5256, allocations: 29.7 kB / 0.7618 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.334e-05/0.5257, allocations: 92.12 kB / 0.7619 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.918e-05/0.5257, allocations: 3.906 kB / 0.7619 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.038e-05/0.5257, allocations: 0 / 0.7619 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.5259, allocations: 322.8 kB / 0.7622 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00023/0.5261, allocations: 107.9 kB / 0.7623 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002054/0.5263, allocations: 99.88 kB / 0.7624 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002581/0.5266, allocations: 155.3 kB / 0.7626 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.5266, allocations: 0 / 0.7626 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006175/0.5272, allocations: 316.8 kB / 0.7629 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.634e-05/0.5273, allocations: 67.39 kB / 0.7629 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.5274, allocations: 3.938 kB / 0.7629 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.5274, allocations: 0 / 0.7629 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.707e-06/0.5274, allocations: 3.984 kB / 0.7629 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.5274, allocations: 0 / 0.7629 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001371/0.5276, allocations: 23.91 kB / 0.763 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.166e-05/0.5276, allocations: 4 kB / 0.763 GB, free: 14.07 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: 1 (i) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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.0001281/0.5278, allocations: 142.6 kB / 0.7631 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.471e-05/0.5278, allocations: 7.906 kB / 0.7631 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.576e-05/0.5278, allocations: 4.031 kB / 0.7631 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.5278, allocations: 4 kB / 0.7631 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.5279, allocations: 0 / 0.7631 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.5279, allocations: 3.938 kB / 0.7631 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001593/0.528, allocations: 177.6 kB / 0.7633 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.5281, allocations: 4 kB / 0.7633 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.393e-06/0.5281, allocations: 0 / 0.7633 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.5281, allocations: 0 / 0.7633 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.5281, allocations: 0 / 0.7633 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.5281, allocations: 4 kB / 0.7633 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.5281, allocations: 0 / 0.7633 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004506/0.5286, allocations: 222.6 kB / 0.7635 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.912e-05/0.5286, allocations: 88.97 kB / 0.7636 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.633e-05/0.5287, allocations: 7.969 kB / 0.7636 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.354e-05/0.5288, allocations: 11.98 kB / 0.7636 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.073e-05/0.5289, allocations: 4 kB / 0.7636 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.5289, allocations: 0 / 0.7636 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001052/0.529, allocations: 113.8 kB / 0.7637 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.71e-07/0.529, allocations: 0 / 0.7637 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004652/0.5295, allocations: 75.94 kB / 0.7638 GB, free: 13.11 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: 1 (i) * Number of discrete states: 1 (i) * 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.001089/0.5306, allocations: 0.8267 MB / 0.7646 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006369/0.5313, allocations: 362.7 kB / 0.765 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.5313, allocations: 0 / 0.765 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002127/0.5315, allocations: 143.3 kB / 0.7651 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001413/0.5317, allocations: 4 kB / 0.7651 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007282/0.5324, allocations: 223.2 kB / 0.7653 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002883/0.5327, allocations: 0.6965 MB / 0.766 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.004e-06/0.5328, allocations: 0 / 0.766 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.337e-05/0.5328, allocations: 15.44 kB / 0.766 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of SimCode: time 1.232e-06/0.5328, allocations: 0 / 0.766 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02283/0.5557, allocations: 2.846 MB / 0.7688 GB, free: 7.945 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003251/0.5561, allocations: 164.7 kB / 0.7689 GB, free: 7.719 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.694/3.25, allocations: 7.875 kB / 0.769 GB, free: 7.711 MB / 0.6511 GB