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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.302/4.302, allocations: 432.6 MB / 445.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 5.172e-05/5.188e-05, allocations: 9.094 kB / 0.5383 GB, free: 10.34 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.2523, allocations: 98.73 MB / 0.6347 GB, free: 1.902 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2331/0.4855, allocations: 124.7 MB / 0.7565 GB, free: 5.078 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004792/0.486, allocations: 79.94 kB / 0.7565 GB, free: 5 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.007602/0.4937, allocations: 1.206 MB / 0.7577 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.515e-06/0.4937, allocations: 0 / 0.7577 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.4938, allocations: 0 / 0.7577 GB, free: 3.789 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.0004549/0.4942, allocations: 330.5 kB / 0.758 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.391e-05/0.4943, allocations: 12.03 kB / 0.758 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.661e-05/0.4944, allocations: 30.56 kB / 0.7581 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.458e-05/0.4944, allocations: 0 / 0.7581 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/0.4946, allocations: 167 kB / 0.7582 GB, free: 3.168 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.4947, allocations: 0 / 0.7582 GB, free: 3.168 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.4947, allocations: 7.984 kB / 0.7582 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.4949, allocations: 29.7 kB / 0.7583 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.4949, allocations: 3.938 kB / 0.7583 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.4949, allocations: 3.984 kB / 0.7583 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.106e-06/0.495, allocations: 0 / 0.7583 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.227e-05/0.495, allocations: 0 / 0.7583 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00023/0.4952, allocations: 149.6 kB / 0.7584 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.674e-05/0.4953, allocations: 18.58 kB / 0.7584 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.048e-05/0.4954, allocations: 12.95 kB / 0.7584 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008983/0.4963, allocations: 0.5544 MB / 0.759 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.813e-05/0.4964, allocations: 34.56 kB / 0.759 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 8.406e-06/0.4964, allocations: 0 / 0.759 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0002127/0.4967, allocations: 41.64 kB / 0.7591 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/0.4967, allocations: 51.41 kB / 0.7591 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.26e-05/0.4968, allocations: 85 kB / 0.7592 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.4969, allocations: 25.7 kB / 0.7592 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.342e-05/0.4969, allocations: 80.14 kB / 0.7593 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.148e-05/0.497, allocations: 0 / 0.7593 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-06/0.497, allocations: 0 / 0.7593 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001851/0.4972, allocations: 322.8 kB / 0.7596 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.359e-05/0.4972, allocations: 7.969 kB / 0.7596 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.582e-05/0.4973, allocations: 0 / 0.7596 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.7e-05/0.4973, allocations: 4 kB / 0.7596 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.4974, allocations: 0 / 0.7596 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001276/0.4975, allocations: 33.64 kB / 0.7596 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.758e-05/0.4975, allocations: 4 kB / 0.7596 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.4976, allocations: 0 / 0.7596 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.4976, allocations: 4 kB / 0.7596 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.966e-05/0.4977, allocations: 0 / 0.7596 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.4977, allocations: 96 / 0.7596 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.985e-05/0.4978, allocations: 11.98 kB / 0.7597 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.617e-06/0.4978, allocations: 0 / 0.7597 GB, free: 1.445 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 0.0001071/0.4979, allocations: 116.8 kB / 0.7598 GB, free: 1.324 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.511e-05/0.498, allocations: 0 / 0.7598 GB, free: 1.324 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001666/0.4981, allocations: 36.77 kB / 0.7598 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.4982, allocations: 0 / 0.7598 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.4982, allocations: 4.031 kB / 0.7598 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.4982, allocations: 4 kB / 0.7598 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001646/0.4984, allocations: 153.6 kB / 0.76 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.4984, allocations: 0 / 0.76 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.982e-05/0.4985, allocations: 0 / 0.76 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.596e-06/0.4985, allocations: 4 kB / 0.76 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.4985, allocations: 0 / 0.76 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.4985, allocations: 4 kB / 0.76 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.4986, allocations: 0 / 0.76 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001422/0.4987, allocations: 61.12 kB / 0.76 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.194e-05/0.4988, allocations: 81.06 kB / 0.7601 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.4988, allocations: 0 / 0.7601 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.169e-05/0.4988, allocations: 0 / 0.7601 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.505e-05/0.4989, allocations: 0 / 0.7601 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.4989, allocations: 0 / 0.7601 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.836e-05/0.499, allocations: 79.28 kB / 0.7602 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.01e-07/0.499, allocations: 3.938 kB / 0.7602 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004281/0.4994, allocations: 12 kB / 0.7602 GB, free: 0.8008 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.0006677/0.5001, allocations: 0.6142 MB / 0.7608 GB, free: 164 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.314e-05/0.5002, allocations: 4 kB / 0.7608 GB, free: 160 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.5003, allocations: 3.938 kB / 0.7608 GB, free: 156 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.983e-05/0.5003, allocations: 4.031 kB / 0.7608 GB, free: 152 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000166/0.5005, allocations: 12 kB / 0.7608 GB, free: 140 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004349/0.5009, allocations: 74.66 kB / 0.7609 GB, free: 28 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003423/0.5013, allocations: 0.677 MB / 0.7616 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.606e-05/0.5014, allocations: 0 / 0.7616 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.656e-05/0.5014, allocations: 7.438 kB / 0.7616 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of SimCode: time 1.663e-06/0.5014, allocations: 0 / 0.7616 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.022/0.5234, allocations: 0.8242 MB / 0.7624 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003414/0.5239, allocations: 172.5 kB / 0.7625 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.469/2.993, allocations: 0 / 0.7625 GB, free: 14.33 MB / 0.6511 GB