Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.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.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.815/3.815, allocations: 432.6 MB / 445.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.652e-05/3.669e-05, allocations: 8.984 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.1978, allocations: 98.73 MB / 0.6347 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2463/0.4442, allocations: 126 MB / 0.7578 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003466/0.4446, allocations: 95.92 kB / 0.7579 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01607/0.4607, allocations: 3.179 MB / 0.761 GB, free: 448 kB / 0.6355 GB Notification: Performance of FrontEnd: time 1.884e-06/0.4607, allocations: 4 kB / 0.761 GB, free: 444 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.256e-06/0.4607, allocations: 0 / 0.761 GB, free: 444 kB / 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.0005853/0.4613, allocations: 429.7 kB / 0.7614 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.4614, allocations: 12.03 kB / 0.7614 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.982e-05/0.4615, allocations: 30.56 kB / 0.7614 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.648e-05/0.4615, allocations: 7.906 kB / 0.7614 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.4617, allocations: 171 kB / 0.7616 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.4617, allocations: 4 kB / 0.7616 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.4617, allocations: 4 kB / 0.7616 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001979/0.4619, allocations: 69.67 kB / 0.7617 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.4619, allocations: 0 / 0.7617 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.462, allocations: 4 kB / 0.7617 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.462, allocations: 0 / 0.7617 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.4621, allocations: 39.92 kB / 0.7617 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004924/0.4626, allocations: 292.8 kB / 0.762 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001263/0.4628, allocations: 50.56 kB / 0.762 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.4629, allocations: 40.92 kB / 0.7621 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.192e-05/0.4629, allocations: 0 / 0.7621 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.4629, allocations: 38.56 kB / 0.7621 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=3): time 4.96e-06/0.463, allocations: 0 / 0.7621 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3): time 0.0003952/0.4634, allocations: 139.2 kB / 0.7622 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.877e-05/0.4634, allocations: 85.09 kB / 0.7623 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.4636, allocations: 117 kB / 0.7624 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.4636, allocations: 25.7 kB / 0.7625 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.665e-05/0.4637, allocations: 88.14 kB / 0.7626 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.011e-05/0.4637, allocations: 11.75 kB / 0.7626 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.406e-05/0.4637, allocations: 4 kB / 0.7626 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.4639, allocations: 318.8 kB / 0.7629 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.464, allocations: 43.98 kB / 0.7629 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.4641, allocations: 51.97 kB / 0.763 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.4643, allocations: 111.4 kB / 0.7631 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4643, allocations: 0 / 0.7631 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003941/0.4647, allocations: 209 kB / 0.7633 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.014e-05/0.4648, allocations: 61.91 kB / 0.7633 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.4648, allocations: 0 / 0.7633 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.4649, allocations: 0 / 0.7633 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.967e-05/0.4649, allocations: 7.984 kB / 0.7633 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.465, allocations: 0 / 0.7633 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.604e-05/0.4651, allocations: 11.95 kB / 0.7633 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.222e-05/0.4651, allocations: 8 kB / 0.7634 GB, free: 13.72 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 (cubSpl.i) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 1 * 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.0001101/0.4652, allocations: 138.7 kB / 0.7635 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.603e-05/0.4653, allocations: 4 kB / 0.7635 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.886e-05/0.4653, allocations: 12.02 kB / 0.7635 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.4653, allocations: 0 / 0.7635 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.4653, allocations: 0 / 0.7635 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.4654, allocations: 64 / 0.7635 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002204/0.4656, allocations: 177.6 kB / 0.7637 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.4656, allocations: 4 kB / 0.7637 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.291e-05/0.4657, allocations: 4 kB / 0.7637 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.4657, allocations: 4 kB / 0.7637 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.4657, allocations: 0 / 0.7637 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.4657, allocations: 0 / 0.7637 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.4657, allocations: 3.984 kB / 0.7637 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000346/0.4661, allocations: 249 kB / 0.7639 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.212e-05/0.4661, allocations: 77.11 kB / 0.764 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.4662, allocations: 0 / 0.764 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.4663, allocations: 23.89 kB / 0.764 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.068e-05/0.4664, allocations: 0 / 0.764 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.4664, allocations: 4 kB / 0.764 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.353e-05/0.4665, allocations: 99.27 kB / 0.7641 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.6e-07/0.4665, allocations: 0 / 0.7641 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000493/0.467, allocations: 75.86 kB / 0.7642 GB, free: 12.76 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 (cubSpl.i) * Number of discrete states: 1 (cubSpl.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * 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.000943/0.468, allocations: 0.8349 MB / 0.765 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004014/0.4684, allocations: 226.8 kB / 0.7652 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4684, allocations: 0 / 0.7652 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001487/0.4686, allocations: 95.38 kB / 0.7653 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001695/0.4687, allocations: 8 kB / 0.7653 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006304/0.4694, allocations: 186.5 kB / 0.7655 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.4697, allocations: 0.6887 MB / 0.7662 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 1.97e-05/0.4697, allocations: 0 / 0.7662 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.983e-05/0.4698, allocations: 15.42 kB / 0.7662 GB, free: 10.58 MB / 0.6511 GB Notification: Performance of SimCode: time 3.045e-06/0.4698, allocations: 4 kB / 0.7662 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02517/0.495, allocations: 2.479 MB / 0.7686 GB, free: 8.195 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003146/0.4954, allocations: 195.3 kB / 0.7688 GB, free: 7.969 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.282/2.778, allocations: 0 / 0.7688 GB, free: 7.969 MB / 0.6511 GB