Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.01429/0.0143, allocations: 84.72 kB / 15.04 MB, free: 6.062 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001877/0.001878, allocations: 171.8 kB / 15.92 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.304/2.304, allocations: 205.5 MB / 222.2 MB, free: 13.71 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.479/2.479, allocations: 252.8 MB / 0.511 GB, free: 8.348 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000679/0.0006792, allocations: 13.66 kB / 0.6243 GB, free: 28.46 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.274, allocations: 106.2 MB / 0.7281 GB, free: 10.14 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.00199/0.276, allocations: 1.152 MB / 0.7292 GB, free: 8.977 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001675/0.2777, allocations: 0.7667 MB / 0.7299 GB, free: 8.203 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.029e-05/0.2778, allocations: 0 / 0.7299 GB, free: 8.203 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 6.879e-05/0.2779, allocations: 11.98 kB / 0.73 GB, free: 8.191 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.355e-05/0.2779, allocations: 7.984 kB / 0.73 GB, free: 8.184 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006698/0.2786, allocations: 119.7 kB / 0.7301 GB, free: 8.066 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 7.624e-05/0.2787, allocations: 27.91 kB / 0.7301 GB, free: 8.039 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 7.366e-05/0.2788, allocations: 4 kB / 0.7301 GB, free: 8.035 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.403e-05/0.2788, allocations: 15.98 kB / 0.7301 GB, free: 8.02 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.716e-05/0.2789, allocations: 19.86 kB / 0.7301 GB, free: 8 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.279, allocations: 8 kB / 0.7302 GB, free: 7.992 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000378/0.2793, allocations: 163.8 kB / 0.7303 GB, free: 7.832 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 3.486e-05/0.2794, allocations: 11.92 kB / 0.7303 GB, free: 7.82 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.757e-05/0.2794, allocations: 29.7 kB / 0.7303 GB, free: 7.785 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002638/0.2797, allocations: 123.8 kB / 0.7305 GB, free: 7.664 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.2797, allocations: 0 / 0.7305 GB, free: 7.664 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2797, allocations: 3.938 kB / 0.7305 GB, free: 7.66 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.2797, allocations: 0 / 0.7305 GB, free: 7.66 MB / 0.5573 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.0005559/0.2803, allocations: 430.9 kB / 0.7309 GB, free: 7.18 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.2804, allocations: 8.031 kB / 0.7309 GB, free: 7.172 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.079e-05/0.2804, allocations: 38.5 kB / 0.7309 GB, free: 7.125 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.535e-05/0.2805, allocations: 7.906 kB / 0.7309 GB, free: 7.117 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.2806, allocations: 174.9 kB / 0.7311 GB, free: 6.906 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.2806, allocations: 0 / 0.7311 GB, free: 6.906 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.2807, allocations: 4 kB / 0.7311 GB, free: 6.902 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002664/0.2809, allocations: 81.64 kB / 0.7312 GB, free: 6.816 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.281, allocations: 0 / 0.7312 GB, free: 6.816 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.281, allocations: 4 kB / 0.7312 GB, free: 6.812 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.281, allocations: 7.953 kB / 0.7312 GB, free: 6.805 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001858/0.2812, allocations: 47.97 kB / 0.7312 GB, free: 6.758 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000477/0.2817, allocations: 272.9 kB / 0.7315 GB, free: 6.441 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/0.2819, allocations: 66.48 kB / 0.7316 GB, free: 6.367 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 9.177e-06/0.2819, allocations: 0 / 0.7316 GB, free: 6.367 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.282, allocations: 34.56 kB / 0.7316 GB, free: 6.324 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 1.543e-06/0.282, allocations: 0 / 0.7316 GB, free: 6.324 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.0006156/0.2826, allocations: 276.4 kB / 0.7319 GB, free: 6.023 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.011e-05/0.2827, allocations: 89.08 kB / 0.7319 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.2828, allocations: 117.8 kB / 0.7321 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/0.2828, allocations: 29.69 kB / 0.7321 GB, free: 5.758 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.781e-05/0.2829, allocations: 88.14 kB / 0.7322 GB, free: 5.668 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.464e-05/0.2829, allocations: 7.844 kB / 0.7322 GB, free: 5.66 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.728e-06/0.283, allocations: 7.938 kB / 0.7322 GB, free: 5.652 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.2831, allocations: 314.8 kB / 0.7325 GB, free: 5.336 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001706/0.2833, allocations: 63.95 kB / 0.7325 GB, free: 5.273 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.2834, allocations: 59.97 kB / 0.7326 GB, free: 5.215 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002035/0.2837, allocations: 115.4 kB / 0.7327 GB, free: 5.09 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.2837, allocations: 0 / 0.7327 GB, free: 5.09 MB / 0.5573 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004525/0.2841, allocations: 220.9 kB / 0.7329 GB, free: 4.855 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 6.287e-05/0.2842, allocations: 59.41 kB / 0.733 GB, free: 4.785 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.2842, allocations: 0 / 0.733 GB, free: 4.785 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.2842, allocations: 7.953 kB / 0.733 GB, free: 4.777 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.158e-05/0.2843, allocations: 15.92 kB / 0.733 GB, free: 4.762 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.2844, allocations: 4 kB / 0.733 GB, free: 4.758 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.795e-05/0.2845, allocations: 7.938 kB / 0.733 GB, free: 4.75 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.2845, allocations: 4 kB / 0.733 GB, free: 4.746 MB / 0.5573 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.0001375/0.2846, allocations: 151.5 kB / 0.7332 GB, free: 4.582 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.566e-05/0.2847, allocations: 3.906 kB / 0.7332 GB, free: 4.578 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.007e-05/0.2847, allocations: 11.91 kB / 0.7332 GB, free: 4.562 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.892e-06/0.2847, allocations: 3.953 kB / 0.7332 GB, free: 4.559 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.2847, allocations: 0 / 0.7332 GB, free: 4.559 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2847, allocations: 0 / 0.7332 GB, free: 4.559 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002478/0.285, allocations: 169.6 kB / 0.7333 GB, free: 4.344 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.285, allocations: 4 kB / 0.7333 GB, free: 4.34 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.705e-05/0.2851, allocations: 7.984 kB / 0.7334 GB, free: 4.332 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.2851, allocations: 0 / 0.7334 GB, free: 4.332 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.2851, allocations: 0 / 0.7334 GB, free: 4.332 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.2851, allocations: 0 / 0.7334 GB, free: 4.332 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.2851, allocations: 3.953 kB / 0.7334 GB, free: 4.328 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004253/0.2856, allocations: 253.2 kB / 0.7336 GB, free: 4.059 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.846e-05/0.2856, allocations: 81.02 kB / 0.7337 GB, free: 3.961 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.282e-05/0.2857, allocations: 4.172 kB / 0.7337 GB, free: 3.957 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.2858, allocations: 11.98 kB / 0.7337 GB, free: 3.945 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.2859, allocations: 4.031 kB / 0.7337 GB, free: 3.941 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.2859, allocations: 16 kB / 0.7337 GB, free: 3.926 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 8.52e-05/0.286, allocations: 103.2 kB / 0.7338 GB, free: 3.824 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.91e-07/0.286, allocations: 0 / 0.7338 GB, free: 3.824 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004521/0.2865, allocations: 55.98 kB / 0.7339 GB, free: 3.77 MB / 0.5573 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.001011/0.2875, allocations: 0.839 MB / 0.7347 GB, free: 2.898 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0005117/0.2881, allocations: 238.7 kB / 0.7349 GB, free: 2.641 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.2881, allocations: 0 / 0.7349 GB, free: 2.641 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001927/0.2883, allocations: 103.4 kB / 0.735 GB, free: 2.527 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001927/0.2885, allocations: 8.094 kB / 0.735 GB, free: 2.52 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008582/0.2893, allocations: 405.5 kB / 0.7354 GB, free: 2.082 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/0.2897, allocations: 0.6926 MB / 0.7361 GB, free: 1.363 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 2.335e-05/0.2897, allocations: 4 kB / 0.7361 GB, free: 1.359 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.161e-05/0.2898, allocations: 15.42 kB / 0.7361 GB, free: 1.344 MB / 0.5573 GB Notification: Performance of SimCode: time 9.61e-07/0.2898, allocations: 0 / 0.7361 GB, free: 1.344 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02216/0.312, allocations: 2.51 MB / 0.7385 GB, free: 14.98 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002771/0.3123, allocations: 223.1 kB / 0.7388 GB, free: 14.73 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.3/2.612, allocations: 4 kB / 0.7388 GB, free: 14.73 MB / 0.573 GB