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.SpliceFunction.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.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Functions_Examples_SpliceFunction",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.01152/0.01152, allocations: 108.1 kB / 15.05 MB, free: 5.93 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.001268/0.001268, allocations: 186.1 kB / 15.94 MB, free: 5.895 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.6 MB / 211.3 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.296/2.296, allocations: 236.1 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004716/0.0004717, allocations: 20 kB / 0.587 GB, free: 2.062 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6728/0.6733, allocations: 98.71 MB / 0.6834 GB, free: 16.66 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2317/0.9051, allocations: 124.8 MB / 0.8053 GB, free: 1.422 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003135/0.9055, allocations: 75.95 kB / 0.8053 GB, free: 1.348 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.005209/0.9107, allocations: 1.208 MB / 0.8065 GB, free: 140 kB / 0.6198 GB Notification: Performance of FrontEnd: time 2.415e-06/0.9108, allocations: 4 kB / 0.8065 GB, free: 136 kB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.9108, allocations: 0 / 0.8065 GB, free: 136 kB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003298/0.9111, allocations: 339.3 kB / 0.8068 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.9112, allocations: 8.031 kB / 0.8069 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.383e-05/0.9112, allocations: 38.48 kB / 0.8069 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.375e-05/0.9113, allocations: 0 / 0.8069 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.9114, allocations: 163 kB / 0.807 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.9114, allocations: 3.984 kB / 0.8071 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.838e-06/0.9114, allocations: 4 kB / 0.8071 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.858e-05/0.9115, allocations: 29.7 kB / 0.8071 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.9116, allocations: 0 / 0.8071 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.9116, allocations: 0 / 0.8071 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.9116, allocations: 0 / 0.8071 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.478e-05/0.9116, allocations: 4 kB / 0.8071 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001537/0.9118, allocations: 157.6 kB / 0.8072 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.238e-05/0.9118, allocations: 22.55 kB / 0.8073 GB, free: 15.22 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005696/0.9124, allocations: 0.5584 MB / 0.8078 GB, free: 14.53 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.9125, allocations: 34.56 kB / 0.8078 GB, free: 14.49 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.463e-06/0.9125, allocations: 0 / 0.8078 GB, free: 14.49 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001381/0.9126, allocations: 33.69 kB / 0.8079 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.9127, allocations: 55.34 kB / 0.8079 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.513e-05/0.9127, allocations: 85 kB / 0.808 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.9127, allocations: 25.7 kB / 0.808 GB, free: 14.26 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.742e-05/0.9128, allocations: 88.27 kB / 0.8081 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.303e-05/0.9128, allocations: 0 / 0.8081 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-06/0.9128, allocations: 0 / 0.8081 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.913, allocations: 314.8 kB / 0.8084 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.189e-05/0.913, allocations: 0 / 0.8084 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.925e-06/0.913, allocations: 0 / 0.8084 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.102e-05/0.913, allocations: 7.953 kB / 0.8084 GB, free: 13.85 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.913, allocations: 0 / 0.8084 GB, free: 13.85 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.805e-05/0.9131, allocations: 41.69 kB / 0.8085 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.9132, allocations: 9.406 kB / 0.8085 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.9132, allocations: 0 / 0.8085 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.9132, allocations: 0 / 0.8085 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.969e-05/0.9132, allocations: 0 / 0.8085 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.9133, allocations: 0 / 0.8085 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.859e-05/0.9133, allocations: 0 / 0.8085 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.9133, allocations: 7.938 kB / 0.8085 GB, free: 13.79 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 7.836e-05/0.9134, allocations: 109.8 kB / 0.8086 GB, free: 13.67 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.586e-06/0.9134, allocations: 4.031 kB / 0.8086 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001178/0.9135, allocations: 40.81 kB / 0.8086 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.9136, allocations: 4 kB / 0.8086 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.9136, allocations: 4 kB / 0.8086 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.9136, allocations: 0 / 0.8086 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001052/0.9137, allocations: 145.7 kB / 0.8088 GB, free: 13.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.9137, allocations: 3.953 kB / 0.8088 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.209e-05/0.9137, allocations: 4 kB / 0.8088 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.9138, allocations: 4.031 kB / 0.8088 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.9138, allocations: 0 / 0.8088 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.9138, allocations: 0 / 0.8088 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.9138, allocations: 0 / 0.8088 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.273e-05/0.9139, allocations: 61.08 kB / 0.8088 GB, free: 13.33 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.215e-05/0.9139, allocations: 85.05 kB / 0.8089 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.914, allocations: 0 / 0.8089 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.239e-05/0.914, allocations: 0 / 0.8089 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.235e-05/0.914, allocations: 7.969 kB / 0.8089 GB, free: 13.22 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.914, allocations: 4 kB / 0.8089 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.609e-05/0.9141, allocations: 75.28 kB / 0.809 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.41e-07/0.9141, allocations: 0 / 0.809 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002437/0.9143, allocations: 11.94 kB / 0.809 GB, free: 13.13 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0004308/0.9148, allocations: 0.6148 MB / 0.8096 GB, free: 12.49 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.034e-05/0.9148, allocations: 8 kB / 0.8096 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.9149, allocations: 0 / 0.8096 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.247e-05/0.9149, allocations: 4 kB / 0.8096 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001029/0.915, allocations: 0 / 0.8096 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003184/0.9153, allocations: 115.7 kB / 0.8097 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/0.9156, allocations: 0.677 MB / 0.8104 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.355e-05/0.9156, allocations: 8.125 kB / 0.8104 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.884e-05/0.9157, allocations: 7.438 kB / 0.8104 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of SimCode: time 7.71e-07/0.9157, allocations: 0 / 0.8104 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01944/0.9351, allocations: 0.8036 MB / 0.8112 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000255/0.9355, allocations: 203.5 kB / 0.8114 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.459/3.395, allocations: 0 / 0.8114 GB, free: 10.65 MB / 0.6355 GB