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 Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01713/0.01713, allocations: 107.6 kB / 15.05 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001995/0.001995, allocations: 184 kB / 15.94 MB, free: 5.941 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.112/2.112, allocations: 194.5 MB / 211.2 MB, free: 11.06 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.259/2.259, allocations: 236.1 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006787/0.0006789, allocations: 12 kB / 0.587 GB, free: 2.059 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6981/0.6989, allocations: 98.72 MB / 0.6834 GB, free: 16.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2324/0.9314, allocations: 126.1 MB / 0.8066 GB, free: 68 kB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003424/0.9317, allocations: 91.94 kB / 0.8067 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01557/0.9473, allocations: 3.196 MB / 0.8098 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.545e-06/0.9474, allocations: 0 / 0.8098 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.784e-06/0.9474, allocations: 0 / 0.8098 GB, free: 12.77 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.0005771/0.948, allocations: 442.5 kB / 0.8102 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.948, allocations: 8.031 kB / 0.8102 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.463e-05/0.9481, allocations: 38.56 kB / 0.8102 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.82e-05/0.9482, allocations: 11.91 kB / 0.8103 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.9483, allocations: 171 kB / 0.8104 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.9483, allocations: 4 kB / 0.8104 GB, free: 12 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.9484, allocations: 0 / 0.8104 GB, free: 12 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002463/0.9486, allocations: 77.66 kB / 0.8105 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.9486, allocations: 0 / 0.8105 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.9487, allocations: 0 / 0.8105 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.9487, allocations: 0 / 0.8105 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001893/0.9489, allocations: 51.97 kB / 0.8106 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004859/0.9494, allocations: 292.8 kB / 0.8108 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001732/0.9496, allocations: 66.53 kB / 0.8109 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.9496, allocations: 4 kB / 0.8109 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.9496, allocations: 30.56 kB / 0.8109 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/0.9496, allocations: 0 / 0.8109 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0006556/0.9503, allocations: 272.3 kB / 0.8112 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.9504, allocations: 81.05 kB / 0.8113 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.9505, allocations: 125 kB / 0.8114 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.9505, allocations: 29.64 kB / 0.8114 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.455e-05/0.9506, allocations: 88.14 kB / 0.8115 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.338e-05/0.9506, allocations: 7.906 kB / 0.8115 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.328e-06/0.9507, allocations: 0 / 0.8115 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.9508, allocations: 318.8 kB / 0.8118 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001707/0.951, allocations: 55.97 kB / 0.8119 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000164/0.9511, allocations: 59.97 kB / 0.8119 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002046/0.9514, allocations: 115.4 kB / 0.812 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.9514, allocations: 0 / 0.812 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004652/0.9519, allocations: 216.9 kB / 0.8122 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.643e-05/0.9519, allocations: 67.39 kB / 0.8123 GB, free: 9.895 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.952, allocations: 0 / 0.8123 GB, free: 9.895 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.952, allocations: 0 / 0.8123 GB, free: 9.895 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.176e-05/0.9521, allocations: 11.94 kB / 0.8123 GB, free: 9.883 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.9521, allocations: 3.984 kB / 0.8123 GB, free: 9.879 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.365e-05/0.9522, allocations: 8 kB / 0.8123 GB, free: 9.871 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.824e-05/0.9522, allocations: 11.94 kB / 0.8123 GB, free: 9.859 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 (cubSpl.i) * Number of discrete states: 0 () * Number of clocked 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.0001263/0.9524, allocations: 139.5 kB / 0.8125 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.746e-05/0.9524, allocations: 7.906 kB / 0.8125 GB, free: 9.699 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.393e-05/0.9525, allocations: 11.89 kB / 0.8125 GB, free: 9.68 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.9525, allocations: 0 / 0.8125 GB, free: 9.68 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.9525, allocations: 4 kB / 0.8125 GB, free: 9.676 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.9525, allocations: 0 / 0.8125 GB, free: 9.676 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002158/0.9527, allocations: 173.6 kB / 0.8127 GB, free: 9.457 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.9527, allocations: 0 / 0.8127 GB, free: 9.457 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.672e-05/0.9528, allocations: 4 kB / 0.8127 GB, free: 9.453 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.9528, allocations: 3.938 kB / 0.8127 GB, free: 9.449 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.9528, allocations: 4 kB / 0.8127 GB, free: 9.445 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.9528, allocations: 4.062 kB / 0.8127 GB, free: 9.441 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.9529, allocations: 0 / 0.8127 GB, free: 9.441 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004189/0.9533, allocations: 257.1 kB / 0.8129 GB, free: 9.168 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.205e-05/0.9534, allocations: 92.94 kB / 0.813 GB, free: 9.059 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.9534, allocations: 0 / 0.813 GB, free: 9.059 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.9535, allocations: 8 kB / 0.813 GB, free: 9.051 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.592e-05/0.9536, allocations: 3.984 kB / 0.813 GB, free: 9.047 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.9536, allocations: 4 kB / 0.813 GB, free: 9.043 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.061e-05/0.9537, allocations: 103.7 kB / 0.8131 GB, free: 8.941 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.9e-07/0.9537, allocations: 0 / 0.8131 GB, free: 8.941 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005229/0.9543, allocations: 67.94 kB / 0.8132 GB, free: 8.875 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 (cubSpl.i) * Number of discrete states: 1 (cubSpl.i) * Number of clocked states: 0 () * 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.0009744/0.9552, allocations: 0.8506 MB / 0.814 GB, free: 7.992 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000488/0.9558, allocations: 242.6 kB / 0.8142 GB, free: 7.73 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.9558, allocations: 0 / 0.8142 GB, free: 7.73 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001955/0.956, allocations: 107.4 kB / 0.8143 GB, free: 7.613 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001778/0.9562, allocations: 4 kB / 0.8144 GB, free: 7.609 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008084/0.957, allocations: 413.9 kB / 0.8147 GB, free: 7.156 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/0.9573, allocations: 0.6926 MB / 0.8154 GB, free: 6.438 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.979e-05/0.9573, allocations: 0 / 0.8154 GB, free: 6.438 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.772e-05/0.9574, allocations: 15.42 kB / 0.8154 GB, free: 6.422 MB / 0.6355 GB Notification: Performance of SimCode: time 8.11e-07/0.9574, allocations: 8 kB / 0.8154 GB, free: 6.414 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02247/0.9799, allocations: 2.441 MB / 0.8178 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003733/0.9803, allocations: 224.6 kB / 0.818 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.331/3.311, allocations: 0 / 0.818 GB, free: 3.887 MB / 0.6355 GB