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.01933/0.01933, allocations: 107.2 kB / 15.06 MB, free: 6.027 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.002344/0.002344, allocations: 181.6 kB / 15.95 MB, free: 5.953 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.128/2.128, allocations: 194.5 MB / 211.2 MB, free: 11.04 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.458/2.458, allocations: 236.1 MB / 492.6 MB, free: 11.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000725/0.0007253, allocations: 12 kB / 0.587 GB, free: 2.086 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8665/0.8673, allocations: 98.72 MB / 0.6834 GB, free: 16.78 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001894/0.8692, allocations: 1.136 MB / 0.6846 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001616/0.8709, allocations: 0.7581 MB / 0.6853 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.747e-05/0.871, allocations: 0 / 0.6853 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 7.013e-05/0.8711, allocations: 4.594 kB / 0.6853 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 4.737e-05/0.8711, allocations: 6.031 kB / 0.6853 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007678/0.8719, allocations: 121.5 kB / 0.6854 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 7.675e-05/0.872, allocations: 25.12 kB / 0.6854 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 8.266e-05/0.8721, allocations: 3.828 kB / 0.6854 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 4.839e-05/0.8722, allocations: 17.56 kB / 0.6855 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 6.165e-05/0.8722, allocations: 15.36 kB / 0.6855 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.8723, allocations: 1.281 kB / 0.6855 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004227/0.8727, allocations: 169.3 kB / 0.6856 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 3.679e-05/0.8727, allocations: 7.297 kB / 0.6856 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.661e-05/0.8728, allocations: 36.08 kB / 0.6857 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.000302/0.8731, allocations: 133.6 kB / 0.6858 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.8731, allocations: 0 / 0.6858 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.743e-06/0.8731, allocations: 1.438 kB / 0.6858 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.8731, allocations: 0 / 0.6858 GB, free: 15.25 MB / 0.5261 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.0005674/0.8737, allocations: 420.2 kB / 0.6862 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.8738, allocations: 9.172 kB / 0.6862 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.045e-05/0.8738, allocations: 36.34 kB / 0.6863 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.282e-05/0.8739, allocations: 10.59 kB / 0.6863 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.874, allocations: 174.8 kB / 0.6864 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.8741, allocations: 2.141 kB / 0.6864 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.8741, allocations: 6.5 kB / 0.6864 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002667/0.8744, allocations: 79.59 kB / 0.6865 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.8744, allocations: 0 / 0.6865 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.8744, allocations: 1.375 kB / 0.6865 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.8744, allocations: 3.953 kB / 0.6865 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001905/0.8746, allocations: 53.58 kB / 0.6866 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004507/0.8751, allocations: 272.7 kB / 0.6868 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001726/0.8753, allocations: 62.69 kB / 0.6869 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.8753, allocations: 0 / 0.6869 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.8754, allocations: 44.08 kB / 0.6869 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.533e-06/0.8754, allocations: 0 / 0.6869 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.000593/0.876, allocations: 272 kB / 0.6872 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.876, allocations: 78.58 kB / 0.6873 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.8762, allocations: 126.3 kB / 0.6874 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.8762, allocations: 27.08 kB / 0.6874 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.403e-05/0.8762, allocations: 92.08 kB / 0.6875 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.1e-05/0.8763, allocations: 5.781 kB / 0.6875 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.919e-06/0.8763, allocations: 5.438 kB / 0.6875 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.783e-05/0.8764, allocations: 313.5 kB / 0.6878 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/0.8765, allocations: 59.27 kB / 0.6879 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001697/0.8767, allocations: 64.8 kB / 0.6879 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002072/0.8769, allocations: 116.2 kB / 0.688 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.877, allocations: 1.156 kB / 0.688 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004747/0.8774, allocations: 220.6 kB / 0.6883 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.156e-05/0.8775, allocations: 66.16 kB / 0.6883 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.8775, allocations: 0 / 0.6883 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.346e-05/0.8776, allocations: 5.75 kB / 0.6883 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.268e-05/0.8777, allocations: 3.859 kB / 0.6883 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.8777, allocations: 1.891 kB / 0.6883 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.021e-05/0.8778, allocations: 19.5 kB / 0.6883 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/0.8778, allocations: 2.281 kB / 0.6883 GB, free: 12.98 MB / 0.5261 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.0001254/0.878, allocations: 146 kB / 0.6885 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.661e-05/0.8781, allocations: 7.859 kB / 0.6885 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.981e-05/0.8781, allocations: 5.75 kB / 0.6885 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.8781, allocations: 4.984 kB / 0.6885 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.922e-06/0.8781, allocations: 4.062 kB / 0.6885 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.8782, allocations: 1.469 kB / 0.6885 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001932/0.8784, allocations: 175.3 kB / 0.6887 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.8784, allocations: 3.938 kB / 0.6887 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.733e-05/0.8784, allocations: 8 kB / 0.6887 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.8784, allocations: 1.688 kB / 0.6887 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.8785, allocations: 1.875 kB / 0.6887 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.8785, allocations: 0 / 0.6887 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.8785, allocations: 5.266 kB / 0.6887 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004205/0.8789, allocations: 255.5 kB / 0.6889 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.899e-05/0.879, allocations: 78.55 kB / 0.689 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.543e-05/0.879, allocations: 3.578 kB / 0.689 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.8791, allocations: 6.578 kB / 0.689 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/0.8793, allocations: 4.594 kB / 0.689 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.8793, allocations: 10.39 kB / 0.689 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 7.218e-05/0.8794, allocations: 94.33 kB / 0.6891 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.31e-07/0.8794, allocations: 4.031 kB / 0.6891 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005295/0.8799, allocations: 55.81 kB / 0.6892 GB, free: 12.22 MB / 0.5261 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.0009131/0.8808, allocations: 0.8396 MB / 0.69 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004916/0.8814, allocations: 246.9 kB / 0.6902 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.8814, allocations: 0 / 0.6902 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001852/0.8816, allocations: 105.2 kB / 0.6903 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000188/0.8818, allocations: 12.58 kB / 0.6904 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008878/0.8827, allocations: 402.4 kB / 0.6907 GB, free: 10.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001692/0.8829, allocations: 0.6888 MB / 0.6914 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.094e-05/0.8829, allocations: 0 / 0.6914 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.852e-05/0.8829, allocations: 14.38 kB / 0.6914 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of SimCode: time 1.463e-06/0.883, allocations: 0 / 0.6914 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02788/0.9109, allocations: 2.512 MB / 0.6939 GB, free: 9.945 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003004/0.9112, allocations: 224.6 kB / 0.6941 GB, free: 9.703 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.468/3.38, allocations: 0 / 0.6941 GB, free: 9.703 MB / 0.5261 GB