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.SpliceFunctionDerivativeCheck.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.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.306/4.306, allocations: 432.6 MB / 445.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 6.117e-05/6.132e-05, allocations: 4.906 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2381, allocations: 98.73 MB / 0.6347 GB, free: 1.875 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2416/0.4798, allocations: 124.8 MB / 0.7566 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003099/0.4802, allocations: 75.95 kB / 0.7567 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.008848/0.489, allocations: 1.838 MB / 0.7585 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4891, allocations: 0 / 0.7585 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.4891, allocations: 0 / 0.7585 GB, free: 2.961 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004437/0.4896, allocations: 352.2 kB / 0.7588 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.495e-05/0.4896, allocations: 8.031 kB / 0.7588 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.197e-05/0.4897, allocations: 30.56 kB / 0.7589 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.026e-05/0.4897, allocations: 4 kB / 0.7589 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.4899, allocations: 167 kB / 0.759 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.4899, allocations: 0 / 0.759 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.092e-05/0.4899, allocations: 8 kB / 0.759 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.4901, allocations: 45.62 kB / 0.7591 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.679e-06/0.4901, allocations: 4 kB / 0.7591 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.4902, allocations: 0 / 0.7591 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.4902, allocations: 0 / 0.7591 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.651e-05/0.4903, allocations: 12 kB / 0.7591 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002261/0.4905, allocations: 165.6 kB / 0.7593 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.4906, allocations: 42.64 kB / 0.7593 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.957e-05/0.4907, allocations: 24.91 kB / 0.7593 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000621/0.4913, allocations: 0.5622 MB / 0.7599 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.385e-05/0.4914, allocations: 34.5 kB / 0.7599 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 1.924e-06/0.4914, allocations: 0 / 0.7599 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.00255/0.494, allocations: 448 kB / 0.7603 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.494, allocations: 51.41 kB / 0.7604 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.4942, allocations: 92.98 kB / 0.7605 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.4942, allocations: 25.7 kB / 0.7605 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.796e-05/0.4943, allocations: 80.14 kB / 0.7606 GB, free: 472 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.665e-05/0.4943, allocations: 27.78 kB / 0.7606 GB, free: 444 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.081e-05/0.4943, allocations: 4 kB / 0.7606 GB, free: 440 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.4945, allocations: 318.8 kB / 0.7609 GB, free: 112 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.476e-05/0.4946, allocations: 20 kB / 0.7609 GB, free: 92 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.342e-05/0.4946, allocations: 19.94 kB / 0.7609 GB, free: 72 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.322e-05/0.4947, allocations: 23.94 kB / 0.761 GB, free: 48 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.4947, allocations: 0 / 0.761 GB, free: 48 kB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002511/0.495, allocations: 85.53 kB / 0.761 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.495, allocations: 11.98 kB / 0.7611 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.495, allocations: 4 kB / 0.7611 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.4951, allocations: 0 / 0.7611 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/0.4953, allocations: 12 kB / 0.7611 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.4953, allocations: 0 / 0.7611 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.666e-05/0.4953, allocations: 0 / 0.7611 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.4954, allocations: 4 kB / 0.7611 GB, free: 15.93 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 8.798e-05/0.4955, allocations: 109.2 kB / 0.7612 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.926e-05/0.4955, allocations: 4 kB / 0.7612 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003293/0.4958, allocations: 109.6 kB / 0.7613 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.4959, allocations: 0 / 0.7613 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.4959, allocations: 0 / 0.7613 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.697e-06/0.4959, allocations: 4 kB / 0.7613 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001917/0.4961, allocations: 169.6 kB / 0.7615 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.4961, allocations: 0 / 0.7615 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001831/0.4963, allocations: 16 kB / 0.7615 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.4963, allocations: 4 kB / 0.7615 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.4963, allocations: 256 / 0.7615 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.142e-06/0.4964, allocations: 11.98 kB / 0.7615 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.4964, allocations: 0 / 0.7615 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003279/0.4967, allocations: 141.1 kB / 0.7616 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.386e-05/0.4968, allocations: 77.11 kB / 0.7617 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.636e-05/0.4968, allocations: 4 kB / 0.7617 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.482e-05/0.4969, allocations: 64 / 0.7617 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.878e-05/0.497, allocations: 11.98 kB / 0.7617 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.497, allocations: 4 kB / 0.7617 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.657e-05/0.497, allocations: 75.28 kB / 0.7618 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.11e-07/0.497, allocations: 0 / 0.7618 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003122/0.4974, allocations: 35.94 kB / 0.7618 GB, free: 15.07 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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.0008754/0.4982, allocations: 0.71 MB / 0.7625 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002054/0.4985, allocations: 52 kB / 0.7626 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.4985, allocations: 3.938 kB / 0.7626 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.304e-05/0.4986, allocations: 27.94 kB / 0.7626 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001352/0.4987, allocations: 7.984 kB / 0.7626 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006436/0.4994, allocations: 144.8 kB / 0.7627 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003279/0.4997, allocations: 0.6849 MB / 0.7634 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001295/0.4999, allocations: 16.31 kB / 0.7634 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.623e-05/0.4999, allocations: 11.44 kB / 0.7634 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of SimCode: time 1.012e-06/0.4999, allocations: 4 kB / 0.7634 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02575/0.5257, allocations: 1.498 MB / 0.7649 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002444/0.526, allocations: 194.5 kB / 0.7651 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.595/3.121, allocations: 0 / 0.7651 GB, free: 11.67 MB / 0.6511 GB