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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.236/4.236, allocations: 433.2 MB / 440.7 MB, free: 4.574 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.989e-05/4.004e-05, allocations: 7.312 kB / 0.5325 GB, free: 12.65 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.2387, allocations: 98.73 MB / 0.6289 GB, free: 9.105 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2633/0.5021, allocations: 124.2 MB / 0.7502 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00029/0.5025, allocations: 75.95 kB / 0.7502 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.008609/0.5111, allocations: 1.818 MB / 0.752 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5112, allocations: 0 / 0.752 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.406e-06/0.5112, allocations: 0 / 0.752 GB, free: 10.88 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.0004806/0.5117, allocations: 362.4 kB / 0.7524 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.5117, allocations: 8.031 kB / 0.7524 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.873e-05/0.5118, allocations: 7.953 kB / 0.7524 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.5119, allocations: 167 kB / 0.7525 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.5119, allocations: 0 / 0.7525 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.637e-05/0.512, allocations: 7.938 kB / 0.7525 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.099e-05/0.5121, allocations: 12 kB / 0.7526 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.266e-05/0.5122, allocations: 37.69 kB / 0.7526 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.5122, allocations: 0 / 0.7526 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.5122, allocations: 4 kB / 0.7526 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.5122, allocations: 4 kB / 0.7526 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001881/0.5124, allocations: 142.2 kB / 0.7527 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.5126, allocations: 34.64 kB / 0.7528 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.329e-05/0.5126, allocations: 28.91 kB / 0.7528 GB, free: 9.934 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005672/0.5132, allocations: 0.5544 MB / 0.7533 GB, free: 9.25 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.5133, allocations: 38.56 kB / 0.7534 GB, free: 9.203 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 2.074e-06/0.5133, allocations: 4 kB / 0.7534 GB, free: 9.199 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.00117/0.5144, allocations: 338.1 kB / 0.7537 GB, free: 8.816 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/0.5145, allocations: 55.41 kB / 0.7538 GB, free: 8.75 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.829e-05/0.5146, allocations: 89 kB / 0.7538 GB, free: 8.656 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.5146, allocations: 29.83 kB / 0.7539 GB, free: 8.621 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.325e-05/0.5147, allocations: 80.14 kB / 0.7539 GB, free: 8.539 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.531e-05/0.5147, allocations: 23.64 kB / 0.754 GB, free: 8.516 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.306e-06/0.5147, allocations: 0 / 0.754 GB, free: 8.516 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.5149, allocations: 318.8 kB / 0.7543 GB, free: 8.195 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.108e-05/0.5149, allocations: 20 kB / 0.7543 GB, free: 8.176 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.082e-05/0.515, allocations: 12 kB / 0.7543 GB, free: 8.164 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/0.5151, allocations: 23.98 kB / 0.7543 GB, free: 8.141 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.5151, allocations: 0 / 0.7543 GB, free: 8.141 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002403/0.5154, allocations: 89.53 kB / 0.7544 GB, free: 8.047 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.5154, allocations: 4.281 kB / 0.7544 GB, free: 8.043 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.5154, allocations: 0 / 0.7544 GB, free: 8.043 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.5155, allocations: 0 / 0.7544 GB, free: 8.043 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001788/0.5156, allocations: 23.86 kB / 0.7544 GB, free: 8.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.5157, allocations: 0 / 0.7544 GB, free: 8.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.685e-05/0.5157, allocations: 4 kB / 0.7544 GB, free: 8.016 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.5157, allocations: 0 / 0.7544 GB, free: 8.016 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: 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.752e-05/0.5158, allocations: 104.9 kB / 0.7545 GB, free: 7.906 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002133/0.5161, allocations: 81.67 kB / 0.7546 GB, free: 7.82 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.847e-05/0.5161, allocations: 7.906 kB / 0.7546 GB, free: 7.812 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003346/0.5164, allocations: 98 kB / 0.7547 GB, free: 7.711 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.5165, allocations: 0 / 0.7547 GB, free: 7.711 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.5165, allocations: 0 / 0.7547 GB, free: 7.711 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.5165, allocations: 4 kB / 0.7547 GB, free: 7.707 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001551/0.5167, allocations: 150.2 kB / 0.7549 GB, free: 7.523 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.5167, allocations: 0 / 0.7549 GB, free: 7.523 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001767/0.5169, allocations: 15.94 kB / 0.7549 GB, free: 7.508 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.5169, allocations: 0 / 0.7549 GB, free: 7.508 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.5169, allocations: 4 kB / 0.7549 GB, free: 7.504 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/0.5169, allocations: 3.984 kB / 0.7549 GB, free: 7.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.5169, allocations: 0 / 0.7549 GB, free: 7.5 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003289/0.5173, allocations: 133.6 kB / 0.755 GB, free: 7.352 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.282e-05/0.5173, allocations: 81.05 kB / 0.7551 GB, free: 7.254 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.295e-05/0.5174, allocations: 7.984 kB / 0.7551 GB, free: 7.246 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.179e-05/0.5174, allocations: 256 / 0.7551 GB, free: 7.246 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.98e-05/0.5175, allocations: 4 kB / 0.7551 GB, free: 7.242 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.5175, allocations: 4 kB / 0.7551 GB, free: 7.238 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.813e-05/0.5176, allocations: 79.28 kB / 0.7552 GB, free: 7.16 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.61e-07/0.5176, allocations: 0 / 0.7552 GB, free: 7.16 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003378/0.5179, allocations: 27.92 kB / 0.7552 GB, free: 7.133 MB / 0.6355 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.0007512/0.5187, allocations: 0.7104 MB / 0.7559 GB, free: 6.391 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001684/0.5189, allocations: 40 kB / 0.7559 GB, free: 6.352 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.5189, allocations: 0 / 0.7559 GB, free: 6.352 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.248e-05/0.519, allocations: 31.94 kB / 0.756 GB, free: 6.32 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001492/0.5191, allocations: 4.125 kB / 0.756 GB, free: 6.316 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000598/0.5197, allocations: 151.6 kB / 0.7561 GB, free: 6.133 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.52, allocations: 0.6807 MB / 0.7568 GB, free: 5.426 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001259/0.5202, allocations: 12.17 kB / 0.7568 GB, free: 5.41 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.758e-05/0.5202, allocations: 15.44 kB / 0.7568 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of SimCode: time 8.82e-07/0.5202, allocations: 0 / 0.7568 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03504/0.5553, allocations: 1.188 MB / 0.758 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003309/0.5557, allocations: 170.5 kB / 0.7581 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.315/2.871, allocations: 7.969 kB / 0.7581 GB, free: 4.023 MB / 0.6355 GB