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 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.SpliceFunction,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.44/4.44, allocations: 433.2 MB / 440.7 MB, free: 4.578 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 4.29e-05/4.288e-05, allocations: 7.781 kB / 0.5325 GB, free: 12.71 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.2186, allocations: 98.74 MB / 0.6289 GB, free: 9.125 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2399/0.4585, allocations: 124 MB / 0.75 GB, free: 12.97 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003712/0.459, allocations: 79.94 kB / 0.7501 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00691/0.4659, allocations: 1.202 MB / 0.7512 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.803e-06/0.466, allocations: 0 / 0.7512 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.466, allocations: 0 / 0.7512 GB, free: 11.68 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003654/0.4664, allocations: 334.5 kB / 0.7516 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.033e-05/0.4664, allocations: 16.03 kB / 0.7516 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.291e-05/0.4665, allocations: 3.953 kB / 0.7516 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.4666, allocations: 159.1 kB / 0.7517 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.4666, allocations: 0 / 0.7517 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.4667, allocations: 0 / 0.7517 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.54e-05/0.4667, allocations: 3.938 kB / 0.7517 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.495e-05/0.4668, allocations: 33.69 kB / 0.7518 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.4669, allocations: 0 / 0.7518 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.4669, allocations: 0 / 0.7518 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.4669, allocations: 0 / 0.7518 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001676/0.4671, allocations: 130.2 kB / 0.7519 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.117e-05/0.4671, allocations: 22.61 kB / 0.7519 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.355e-05/0.4672, allocations: 4.859 kB / 0.7519 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000725/0.4679, allocations: 0.5545 MB / 0.7525 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.952e-05/0.468, allocations: 34.55 kB / 0.7525 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 2.254e-06/0.468, allocations: 7.938 kB / 0.7525 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001994/0.4682, allocations: 37.7 kB / 0.7525 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.4683, allocations: 55.34 kB / 0.7526 GB, free: 10 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.109e-05/0.4683, allocations: 85 kB / 0.7527 GB, free: 9.914 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.4684, allocations: 25.7 kB / 0.7527 GB, free: 9.883 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.615e-05/0.4684, allocations: 80.14 kB / 0.7528 GB, free: 9.801 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.018e-05/0.4685, allocations: 0 / 0.7528 GB, free: 9.801 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-06/0.4685, allocations: 0 / 0.7528 GB, free: 9.801 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.4686, allocations: 314.9 kB / 0.7531 GB, free: 9.484 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.412e-05/0.4687, allocations: 7.938 kB / 0.7531 GB, free: 9.477 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.476e-06/0.4687, allocations: 0 / 0.7531 GB, free: 9.477 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.443e-05/0.4687, allocations: 3.984 kB / 0.7531 GB, free: 9.473 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.4688, allocations: 3.953 kB / 0.7531 GB, free: 9.469 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001201/0.4689, allocations: 37.64 kB / 0.7531 GB, free: 9.426 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.4689, allocations: 5.562 kB / 0.7531 GB, free: 9.422 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.469, allocations: 0 / 0.7531 GB, free: 9.422 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.469, allocations: 0 / 0.7531 GB, free: 9.422 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.639e-05/0.4691, allocations: 8.094 kB / 0.7531 GB, free: 9.414 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.4691, allocations: 0 / 0.7531 GB, free: 9.414 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.333e-05/0.4691, allocations: 4 kB / 0.7531 GB, free: 9.41 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.4691, allocations: 0 / 0.7531 GB, free: 9.41 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 (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 9.186e-05/0.4692, allocations: 109 kB / 0.7532 GB, free: 9.297 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.77e-05/0.4694, allocations: 37.66 kB / 0.7533 GB, free: 9.254 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.889e-06/0.4694, allocations: 0 / 0.7533 GB, free: 9.254 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000164/0.4696, allocations: 49.41 kB / 0.7533 GB, free: 9.203 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.4696, allocations: 0 / 0.7533 GB, free: 9.203 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.122e-05/0.4696, allocations: 3.984 kB / 0.7533 GB, free: 9.199 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.4696, allocations: 0 / 0.7533 GB, free: 9.199 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001168/0.4698, allocations: 126.2 kB / 0.7535 GB, free: 9.039 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.4698, allocations: 0 / 0.7535 GB, free: 9.039 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.801e-05/0.4698, allocations: 7.984 kB / 0.7535 GB, free: 9.031 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.4698, allocations: 0 / 0.7535 GB, free: 9.031 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/0.4698, allocations: 0 / 0.7535 GB, free: 9.031 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.4699, allocations: 0 / 0.7535 GB, free: 9.031 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.4699, allocations: 0 / 0.7535 GB, free: 9.031 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001317/0.47, allocations: 61.17 kB / 0.7535 GB, free: 8.953 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.443e-05/0.4701, allocations: 88.95 kB / 0.7536 GB, free: 8.848 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.4701, allocations: 0 / 0.7536 GB, free: 8.848 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.812e-05/0.4702, allocations: 4 kB / 0.7536 GB, free: 8.844 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.781e-05/0.4702, allocations: 0 / 0.7536 GB, free: 8.844 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.964e-06/0.4702, allocations: 0 / 0.7536 GB, free: 8.844 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.671e-05/0.4703, allocations: 79.22 kB / 0.7537 GB, free: 8.766 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.91e-07/0.4703, allocations: 4.031 kB / 0.7537 GB, free: 8.762 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000408/0.4707, allocations: 7.938 kB / 0.7537 GB, free: 8.754 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 () * 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.000593/0.4713, allocations: 0.6124 MB / 0.7543 GB, free: 8.109 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.54e-05/0.4714, allocations: 8.547 kB / 0.7543 GB, free: 8.102 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.4714, allocations: 4.094 kB / 0.7543 GB, free: 8.098 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.677e-05/0.4714, allocations: 4 kB / 0.7543 GB, free: 8.094 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001488/0.4716, allocations: 4.625 kB / 0.7543 GB, free: 8.09 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003875/0.472, allocations: 73.72 kB / 0.7544 GB, free: 7.98 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.4723, allocations: 0.6729 MB / 0.755 GB, free: 7.281 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.518e-05/0.4724, allocations: 3.984 kB / 0.755 GB, free: 7.277 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.196e-05/0.4724, allocations: 11.5 kB / 0.7551 GB, free: 7.266 MB / 0.6355 GB Notification: Performance of SimCode: time 1.062e-06/0.4724, allocations: 0 / 0.7551 GB, free: 7.266 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06048/0.5329, allocations: 0.5203 MB / 0.7556 GB, free: 6.754 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002701/0.5333, allocations: 152 kB / 0.7557 GB, free: 6.562 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.242/2.775, allocations: 0 / 0.7557 GB, free: 6.562 MB / 0.6355 GB