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/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.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.676/4.676, allocations: 433.2 MB / 440.7 MB, free: 4.531 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.934e-05/3.934e-05, allocations: 7.688 kB / 0.5325 GB, free: 12.81 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2706/0.2706, allocations: 98.73 MB / 0.6289 GB, free: 9.043 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2433/0.514, allocations: 124.7 MB / 0.7507 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003176/0.5144, allocations: 83.94 kB / 0.7507 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01574/0.5301, allocations: 3.126 MB / 0.7538 GB, free: 8.984 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.974e-06/0.5302, allocations: 3.938 kB / 0.7538 GB, free: 8.98 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.5302, allocations: 0 / 0.7538 GB, free: 8.98 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.0005233/0.5307, allocations: 429.8 kB / 0.7542 GB, free: 8.504 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.49e-05/0.5308, allocations: 12.03 kB / 0.7542 GB, free: 8.492 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.574e-05/0.5309, allocations: 11.84 kB / 0.7542 GB, free: 8.48 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001759/0.5311, allocations: 178.8 kB / 0.7544 GB, free: 8.266 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.5311, allocations: 4 kB / 0.7544 GB, free: 8.262 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.884e-05/0.5311, allocations: 4 kB / 0.7544 GB, free: 8.258 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002174/0.5314, allocations: 59.95 kB / 0.7545 GB, free: 8.199 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/0.5316, allocations: 89.66 kB / 0.7545 GB, free: 8.105 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.5316, allocations: 4 kB / 0.7545 GB, free: 8.102 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.686e-05/0.5316, allocations: 4 kB / 0.7546 GB, free: 8.098 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.5316, allocations: 4 kB / 0.7546 GB, free: 8.094 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000188/0.5318, allocations: 154.2 kB / 0.7547 GB, free: 7.906 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.532, allocations: 83.08 kB / 0.7548 GB, free: 7.816 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001404/0.5322, allocations: 60.91 kB / 0.7548 GB, free: 7.754 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/0.5322, allocations: 3.984 kB / 0.7548 GB, free: 7.75 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/0.5322, allocations: 38.55 kB / 0.7549 GB, free: 7.703 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 2.385e-06/0.5323, allocations: 4 kB / 0.7549 GB, free: 7.699 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.000477/0.5327, allocations: 157.5 kB / 0.755 GB, free: 7.539 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.537e-05/0.5328, allocations: 81.11 kB / 0.7551 GB, free: 7.441 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.533, allocations: 139.3 kB / 0.7552 GB, free: 7.297 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.769e-05/0.533, allocations: 25.7 kB / 0.7553 GB, free: 7.266 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.816e-05/0.5331, allocations: 88.14 kB / 0.7554 GB, free: 7.176 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.079e-05/0.5332, allocations: 3.906 kB / 0.7554 GB, free: 7.172 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.132e-05/0.5332, allocations: 3.938 kB / 0.7554 GB, free: 7.168 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.5333, allocations: 322.8 kB / 0.7557 GB, free: 6.844 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002013/0.5335, allocations: 99.97 kB / 0.7558 GB, free: 6.746 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001987/0.5338, allocations: 99.88 kB / 0.7559 GB, free: 6.648 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003038/0.5341, allocations: 103.8 kB / 0.756 GB, free: 6.547 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.5341, allocations: 0 / 0.756 GB, free: 6.547 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006015/0.5347, allocations: 249.4 kB / 0.7562 GB, free: 6.297 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.511e-05/0.5348, allocations: 71.39 kB / 0.7563 GB, free: 6.215 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.5348, allocations: 0 / 0.7563 GB, free: 6.215 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.5348, allocations: 0 / 0.7563 GB, free: 6.215 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.054e-06/0.5349, allocations: 0 / 0.7563 GB, free: 6.215 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.5349, allocations: 0 / 0.7563 GB, free: 6.215 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/0.535, allocations: 23.89 kB / 0.7563 GB, free: 6.191 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.592e-05/0.5351, allocations: 4 kB / 0.7563 GB, free: 6.188 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: 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.0001266/0.5352, allocations: 142.6 kB / 0.7564 GB, free: 6.035 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004174/0.5356, allocations: 173.4 kB / 0.7566 GB, free: 5.859 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.223e-05/0.5357, allocations: 7.906 kB / 0.7566 GB, free: 5.852 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.56e-05/0.5357, allocations: 12.34 kB / 0.7566 GB, free: 5.84 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.5357, allocations: 0 / 0.7566 GB, free: 5.84 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.5357, allocations: 0 / 0.7566 GB, free: 5.84 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.5357, allocations: 32 / 0.7566 GB, free: 5.84 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/0.5359, allocations: 158.2 kB / 0.7568 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.5359, allocations: 0 / 0.7568 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.212e-06/0.5359, allocations: 0 / 0.7568 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.5359, allocations: 0 / 0.7568 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.536, allocations: 0 / 0.7568 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.536, allocations: 7.938 kB / 0.7568 GB, free: 5.641 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.536, allocations: 0 / 0.7568 GB, free: 5.641 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00043/0.5364, allocations: 196.9 kB / 0.757 GB, free: 5.43 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.007e-05/0.5365, allocations: 89.05 kB / 0.757 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.792e-05/0.5365, allocations: 0 / 0.757 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.934e-05/0.5366, allocations: 4 kB / 0.757 GB, free: 5.32 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.979e-05/0.5367, allocations: 7.984 kB / 0.7571 GB, free: 5.312 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.5367, allocations: 4 kB / 0.7571 GB, free: 5.309 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.51e-05/0.5368, allocations: 105.5 kB / 0.7572 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.41e-07/0.5369, allocations: 0 / 0.7572 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004982/0.5374, allocations: 71.92 kB / 0.7572 GB, free: 5.137 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: 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.001093/0.5385, allocations: 0.7934 MB / 0.758 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006455/0.5391, allocations: 358.7 kB / 0.7583 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.5392, allocations: 0 / 0.7583 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002557/0.5394, allocations: 131.4 kB / 0.7585 GB, free: 3.797 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001552/0.5396, allocations: 7.938 kB / 0.7585 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007227/0.5403, allocations: 226.2 kB / 0.7587 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/0.5407, allocations: 0.7001 MB / 0.7594 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.282e-06/0.5407, allocations: 0 / 0.7594 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.713e-05/0.5407, allocations: 19.42 kB / 0.7594 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of SimCode: time 1.222e-06/0.5407, allocations: 3.938 kB / 0.7594 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04115/0.5819, allocations: 2.447 MB / 0.7618 GB, free: 356 kB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000287/0.5823, allocations: 142.7 kB / 0.7619 GB, free: 164 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.454/3.036, allocations: 4 kB / 0.7619 GB, free: 160 kB / 0.6355 GB