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.01069/0.01069, allocations: 109 kB / 15.06 MB, free: 6.035 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.001202/0.001202, allocations: 182.8 kB / 15.95 MB, free: 5.965 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 1.984/1.984, allocations: 194.6 MB / 211.2 MB, free: 11.1 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.209/2.209, allocations: 236.1 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004789/0.0004791, allocations: 12 kB / 0.587 GB, free: 2.086 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6805/0.681, allocations: 98.72 MB / 0.6834 GB, free: 16.81 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0007609/0.6819, allocations: 309.8 kB / 0.6837 GB, free: 16.6 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001353/0.6832, allocations: 0.9354 MB / 0.6846 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.294e-05/0.6833, allocations: 3.938 kB / 0.6847 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.009e-05/0.6833, allocations: 0 / 0.6847 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 6.081e-06/0.6833, allocations: 0 / 0.6847 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003166/0.6836, allocations: 47.48 kB / 0.6847 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 3.535e-05/0.6837, allocations: 4 kB / 0.6847 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 4.763e-05/0.6837, allocations: 5.797 kB / 0.6847 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 1.604e-05/0.6838, allocations: 5.797 kB / 0.6847 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 4.555e-05/0.6838, allocations: 1.062 kB / 0.6847 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 7.333e-06/0.6838, allocations: 0 / 0.6847 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000242/0.6841, allocations: 81.16 kB / 0.6848 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 7.574e-06/0.6841, allocations: 1.094 kB / 0.6848 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.056e-05/0.6841, allocations: 26.55 kB / 0.6848 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001099/0.6843, allocations: 35.08 kB / 0.6848 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.6843, allocations: 1.219 kB / 0.6849 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6843, allocations: 0 / 0.6849 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.88e-06/0.6843, allocations: 0 / 0.6849 GB, free: 15.8 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002385/0.6845, allocations: 322.5 kB / 0.6852 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.6846, allocations: 8.688 kB / 0.6852 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.009e-05/0.6846, allocations: 40.34 kB / 0.6852 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.975e-05/0.6847, allocations: 0 / 0.6852 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.91e-05/0.6847, allocations: 168 kB / 0.6854 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.6848, allocations: 6.234 kB / 0.6854 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/0.6848, allocations: 1.031 kB / 0.6854 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.674e-05/0.6849, allocations: 27.75 kB / 0.6854 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.6849, allocations: 0 / 0.6854 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.804e-06/0.6849, allocations: 1 kB / 0.6854 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.6849, allocations: 0 / 0.6854 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.298e-05/0.685, allocations: 2.672 kB / 0.6854 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001066/0.6851, allocations: 147.6 kB / 0.6855 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 3.887e-05/0.6851, allocations: 29.83 kB / 0.6856 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005539/0.6857, allocations: 0.5567 MB / 0.6861 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.786e-05/0.6857, allocations: 31.27 kB / 0.6861 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.503e-06/0.6857, allocations: 3.938 kB / 0.6861 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001286/0.6859, allocations: 37.28 kB / 0.6862 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.6859, allocations: 55.53 kB / 0.6862 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.037e-05/0.6859, allocations: 93.8 kB / 0.6863 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.997e-06/0.686, allocations: 26.89 kB / 0.6864 GB, free: 14 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 1.56e-05/0.686, allocations: 80.89 kB / 0.6864 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.163e-05/0.686, allocations: 1.344 kB / 0.6864 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-06/0.686, allocations: 0 / 0.6864 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.704e-05/0.6861, allocations: 315.5 kB / 0.6867 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.154e-05/0.6861, allocations: 0.9375 kB / 0.6867 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.02e-05/0.6861, allocations: 2.516 kB / 0.6867 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.86e-05/0.6862, allocations: 5.156 kB / 0.6867 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.6862, allocations: 0 / 0.6867 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.081e-05/0.6862, allocations: 36.36 kB / 0.6868 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.6863, allocations: 5.453 kB / 0.6868 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.6863, allocations: 5.031 kB / 0.6868 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.6863, allocations: 0.6562 kB / 0.6868 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.821e-05/0.6864, allocations: 2.125 kB / 0.6868 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.6864, allocations: 1.031 kB / 0.6868 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.398e-05/0.6864, allocations: 1.125 kB / 0.6868 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.6864, allocations: 5.031 kB / 0.6868 GB, free: 13.56 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: 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 5.611e-05/0.6865, allocations: 115.6 kB / 0.6869 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.965e-06/0.6865, allocations: 0 / 0.6869 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.897e-05/0.6866, allocations: 46.19 kB / 0.6869 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.6866, allocations: 0 / 0.6869 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.6866, allocations: 0 / 0.6869 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.6867, allocations: 1.344 kB / 0.6869 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.748e-05/0.6867, allocations: 151.4 kB / 0.6871 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.6867, allocations: 1.469 kB / 0.6871 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.215e-05/0.6868, allocations: 2.219 kB / 0.6871 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.6868, allocations: 0 / 0.6871 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.6868, allocations: 5.469 kB / 0.6871 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.6868, allocations: 0.8906 kB / 0.6871 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.6868, allocations: 0 / 0.6871 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.079e-05/0.6869, allocations: 65.16 kB / 0.6872 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.34e-05/0.6869, allocations: 87.53 kB / 0.6872 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.123e-05/0.687, allocations: 3.938 kB / 0.6873 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.535e-05/0.687, allocations: 6.203 kB / 0.6873 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.619e-05/0.687, allocations: 0 / 0.6873 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-06/0.687, allocations: 1.031 kB / 0.6873 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 1.447e-05/0.687, allocations: 75.28 kB / 0.6873 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.4e-07/0.687, allocations: 0 / 0.6873 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002382/0.6873, allocations: 6.297 kB / 0.6873 GB, free: 12.94 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: 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.0003063/0.6876, allocations: 0.608 MB / 0.6879 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 8.68e-05/0.6877, allocations: 5.453 kB / 0.6879 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.6877, allocations: 0 / 0.6879 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.227e-05/0.6877, allocations: 2.312 kB / 0.6879 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001003/0.6879, allocations: 160 / 0.6879 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002772/0.6881, allocations: 111.7 kB / 0.688 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000117/0.6883, allocations: 0.6745 MB / 0.6887 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.078e-05/0.6883, allocations: 1.5 kB / 0.6887 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.601e-05/0.6883, allocations: 8.234 kB / 0.6887 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of SimCode: time 6.91e-07/0.6884, allocations: 5.344 kB / 0.6887 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02166/0.71, allocations: 0.8249 MB / 0.6895 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002536/0.7103, allocations: 199.5 kB / 0.6897 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.18/2.891, allocations: 0 / 0.6897 GB, free: 11.07 MB / 0.5261 GB