Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.0144/0.0144, allocations: 90.23 kB / 15.04 MB, free: 6.055 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001873/0.001873, allocations: 172.4 kB / 15.92 MB, free: 5.992 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.272/2.272, allocations: 205.5 MB / 222.2 MB, free: 13.7 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.324/2.324, allocations: 252.8 MB / 0.511 GB, free: 8.352 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007574/0.0007573, allocations: 14.56 kB / 0.6243 GB, free: 21.16 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2629/0.2637, allocations: 106.2 MB / 0.7281 GB, free: 8.148 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0008181/0.2646, allocations: 325 kB / 0.7284 GB, free: 7.828 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001554/0.2662, allocations: 0.9506 MB / 0.7293 GB, free: 6.867 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.505e-05/0.2662, allocations: 0 / 0.7293 GB, free: 6.867 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.388e-05/0.2663, allocations: 0 / 0.7293 GB, free: 6.867 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 6.733e-06/0.2663, allocations: 3.938 kB / 0.7293 GB, free: 6.863 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003232/0.2666, allocations: 51.8 kB / 0.7294 GB, free: 6.812 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 3.41e-05/0.2667, allocations: 0 / 0.7294 GB, free: 6.812 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.646e-05/0.2667, allocations: 0 / 0.7294 GB, free: 6.812 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 1.461e-05/0.2667, allocations: 0 / 0.7294 GB, free: 6.812 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.76e-05/0.2668, allocations: 4 kB / 0.7294 GB, free: 6.809 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 8.686e-06/0.2668, allocations: 4 kB / 0.7294 GB, free: 6.805 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002353/0.2671, allocations: 83.91 kB / 0.7295 GB, free: 6.723 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 6.642e-06/0.2671, allocations: 0 / 0.7295 GB, free: 6.723 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.257e-05/0.2671, allocations: 25.7 kB / 0.7295 GB, free: 6.691 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.2672, allocations: 31.95 kB / 0.7295 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.2672, allocations: 0 / 0.7295 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2673, allocations: 0 / 0.7295 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.2673, allocations: 0 / 0.7295 GB, free: 6.66 MB / 0.5573 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.0003225/0.2676, allocations: 323.4 kB / 0.7298 GB, free: 6.297 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.2677, allocations: 12.03 kB / 0.7298 GB, free: 6.285 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.835e-05/0.2677, allocations: 30.56 kB / 0.7299 GB, free: 6.246 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.53e-05/0.2677, allocations: 0 / 0.7299 GB, free: 6.246 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.2679, allocations: 175 kB / 0.73 GB, free: 6.035 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.2679, allocations: 0 / 0.73 GB, free: 6.035 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-06/0.2679, allocations: 0 / 0.73 GB, free: 6.035 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.802e-05/0.268, allocations: 25.7 kB / 0.73 GB, free: 6.004 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.268, allocations: 0 / 0.73 GB, free: 6.004 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.268, allocations: 3.938 kB / 0.7301 GB, free: 6 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.268, allocations: 7.984 kB / 0.7301 GB, free: 5.992 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.007e-05/0.2681, allocations: 4 kB / 0.7301 GB, free: 5.988 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001507/0.2682, allocations: 153.6 kB / 0.7302 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 4.573e-05/0.2683, allocations: 22.55 kB / 0.7302 GB, free: 5.758 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006906/0.269, allocations: 0.5584 MB / 0.7308 GB, free: 5.07 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.269, allocations: 38.56 kB / 0.7308 GB, free: 5.023 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=1): time 1.883e-06/0.2691, allocations: 0 / 0.7308 GB, free: 5.023 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1): time 0.0001594/0.2692, allocations: 33.69 kB / 0.7308 GB, free: 4.984 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.2693, allocations: 55.41 kB / 0.7309 GB, free: 4.918 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.049e-05/0.2693, allocations: 89.86 kB / 0.731 GB, free: 4.82 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.2693, allocations: 25.7 kB / 0.731 GB, free: 4.789 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.432e-05/0.2694, allocations: 80.14 kB / 0.7311 GB, free: 4.707 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.258e-05/0.2694, allocations: 7.938 kB / 0.7311 GB, free: 4.699 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-06/0.2695, allocations: 0 / 0.7311 GB, free: 4.699 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.2696, allocations: 318.9 kB / 0.7314 GB, free: 4.379 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.285e-05/0.2696, allocations: 0 / 0.7314 GB, free: 4.379 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.218e-06/0.2696, allocations: 4 kB / 0.7314 GB, free: 4.375 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.149e-05/0.2697, allocations: 0 / 0.7314 GB, free: 4.375 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2697, allocations: 3.938 kB / 0.7314 GB, free: 4.371 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.208e-05/0.2698, allocations: 37.69 kB / 0.7314 GB, free: 4.328 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.2698, allocations: 4 kB / 0.7314 GB, free: 4.324 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.84e-06/0.2698, allocations: 0 / 0.7314 GB, free: 4.324 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.2698, allocations: 4.094 kB / 0.7314 GB, free: 4.32 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.558e-05/0.2699, allocations: 4 kB / 0.7315 GB, free: 4.316 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.2699, allocations: 0 / 0.7315 GB, free: 4.316 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.68e-05/0.2699, allocations: 0 / 0.7315 GB, free: 4.316 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.27, allocations: 0 / 0.7315 GB, free: 4.316 MB / 0.5573 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 8.887e-05/0.2701, allocations: 113.8 kB / 0.7316 GB, free: 4.195 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.646e-06/0.2701, allocations: 3.938 kB / 0.7316 GB, free: 4.191 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001334/0.2702, allocations: 48.77 kB / 0.7316 GB, free: 4.137 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.2702, allocations: 0 / 0.7316 GB, free: 4.137 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.2702, allocations: 0 / 0.7316 GB, free: 4.137 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.2702, allocations: 0 / 0.7316 GB, free: 4.137 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001188/0.2704, allocations: 145.6 kB / 0.7317 GB, free: 3.945 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.2704, allocations: 0 / 0.7317 GB, free: 3.945 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.661e-05/0.2704, allocations: 11.92 kB / 0.7318 GB, free: 3.934 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.2704, allocations: 0 / 0.7318 GB, free: 3.934 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.2705, allocations: 0 / 0.7318 GB, free: 3.934 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2705, allocations: 0 / 0.7318 GB, free: 3.934 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2705, allocations: 0 / 0.7318 GB, free: 3.934 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.573e-05/0.2706, allocations: 65.11 kB / 0.7318 GB, free: 3.852 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.179e-05/0.2706, allocations: 81.06 kB / 0.7319 GB, free: 3.754 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.2707, allocations: 3.984 kB / 0.7319 GB, free: 3.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.339e-05/0.2707, allocations: 0 / 0.7319 GB, free: 3.75 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.659e-05/0.2707, allocations: 4 kB / 0.7319 GB, free: 3.746 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.2707, allocations: 0 / 0.7319 GB, free: 3.746 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 3.128e-05/0.2708, allocations: 75.28 kB / 0.732 GB, free: 3.672 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.11e-07/0.2708, allocations: 4.031 kB / 0.732 GB, free: 3.668 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002465/0.271, allocations: 8 kB / 0.732 GB, free: 3.66 MB / 0.5573 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.0004521/0.2715, allocations: 0.6085 MB / 0.7326 GB, free: 3.02 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 7.179e-05/0.2716, allocations: 4 kB / 0.7326 GB, free: 3.016 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2716, allocations: 4.094 kB / 0.7326 GB, free: 3.012 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.26e-05/0.2716, allocations: 4 kB / 0.7326 GB, free: 3.008 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001041/0.2717, allocations: 0 / 0.7326 GB, free: 3.008 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003211/0.272, allocations: 107 kB / 0.7327 GB, free: 2.867 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002316/0.2723, allocations: 0.677 MB / 0.7334 GB, free: 2.164 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 3.82e-05/0.2723, allocations: 7.984 kB / 0.7334 GB, free: 2.156 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.901e-05/0.2724, allocations: 11.5 kB / 0.7334 GB, free: 2.145 MB / 0.5573 GB Notification: Performance of SimCode: time 2.645e-06/0.2724, allocations: 0 / 0.7334 GB, free: 2.145 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01849/0.2909, allocations: 0.8319 MB / 0.7342 GB, free: 1.414 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003734/0.2914, allocations: 194 kB / 0.7344 GB, free: 1.176 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.458/2.749, allocations: 0 / 0.7344 GB, free: 1.176 MB / 0.5573 GB