Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Examples.Splice.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.Examples.Splice,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.39/4.39, allocations: 432.6 MB / 445.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.363e-05/3.38e-05, allocations: 4.953 kB / 0.5383 GB, free: 10.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2144/0.2145, allocations: 98.73 MB / 0.6347 GB, free: 1.883 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2585/0.4731, allocations: 125.7 MB / 0.7575 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000278/0.4734, allocations: 67.97 kB / 0.7576 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.008635/0.4821, allocations: 1.781 MB / 0.7593 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.734e-06/0.4821, allocations: 0 / 0.7593 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.224e-06/0.4821, allocations: 0 / 0.7593 GB, free: 2.121 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004863/0.4826, allocations: 370.3 kB / 0.7597 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.4827, allocations: 8.031 kB / 0.7597 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.564e-05/0.4828, allocations: 38.56 kB / 0.7597 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.931e-05/0.4828, allocations: 11.86 kB / 0.7597 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.483, allocations: 167.1 kB / 0.7599 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.483, allocations: 0 / 0.7599 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.904e-05/0.483, allocations: 4 kB / 0.7599 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.4832, allocations: 45.69 kB / 0.7599 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.4832, allocations: 0 / 0.7599 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.4832, allocations: 0 / 0.7599 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.4832, allocations: 7.938 kB / 0.7599 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.592e-05/0.4833, allocations: 16 kB / 0.7599 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004571/0.4838, allocations: 288.7 kB / 0.7602 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.825e-05/0.4839, allocations: 30.52 kB / 0.7602 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.811e-05/0.4839, allocations: 8.922 kB / 0.7603 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006211/0.4846, allocations: 0.5622 MB / 0.7608 GB, free: 300 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.4846, allocations: 30.56 kB / 0.7608 GB, free: 260 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.935e-06/0.4846, allocations: 0 / 0.7608 GB, free: 260 kB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002212/0.4849, allocations: 53.55 kB / 0.7609 GB, free: 200 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.4849, allocations: 53.34 kB / 0.7609 GB, free: 136 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.4851, allocations: 112.9 kB / 0.761 GB, free: 16 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.216e-05/0.4851, allocations: 25.7 kB / 0.7611 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.827e-05/0.4852, allocations: 96.09 kB / 0.7612 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.4852, allocations: 7.906 kB / 0.7612 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.873e-06/0.4852, allocations: 4 kB / 0.7612 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.4854, allocations: 310.8 kB / 0.7615 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.35e-05/0.4854, allocations: 11.94 kB / 0.7615 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.672e-05/0.4854, allocations: 7.984 kB / 0.7615 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.82e-05/0.4855, allocations: 4 kB / 0.7615 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.4855, allocations: 0 / 0.7615 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001295/0.4856, allocations: 49.77 kB / 0.7615 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.4857, allocations: 4 kB / 0.7615 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.4857, allocations: 3.938 kB / 0.7615 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.4857, allocations: 7.938 kB / 0.7616 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.4859, allocations: 8 kB / 0.7616 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.4859, allocations: 0 / 0.7616 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.173e-05/0.486, allocations: 7.906 kB / 0.7616 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/0.486, allocations: 0 / 0.7616 GB, free: 15.45 MB / 0.6511 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 (2): * Single equations (assignments): 2 * 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.026e-05/0.4861, allocations: 107.2 kB / 0.7617 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.914e-05/0.4861, allocations: 7.984 kB / 0.7617 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001727/0.4863, allocations: 57.28 kB / 0.7617 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.4863, allocations: 0 / 0.7617 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.4863, allocations: 7.953 kB / 0.7617 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.4863, allocations: 0 / 0.7617 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000211/0.4866, allocations: 165.7 kB / 0.7619 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4866, allocations: 0 / 0.7619 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.27e-05/0.4867, allocations: 4 kB / 0.7619 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.203e-06/0.4867, allocations: 4 kB / 0.7619 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.4867, allocations: 8.016 kB / 0.7619 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.4867, allocations: 0 / 0.7619 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.4867, allocations: 0 / 0.7619 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001571/0.4869, allocations: 147.4 kB / 0.7621 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.05e-05/0.487, allocations: 85.09 kB / 0.7621 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.487, allocations: 0 / 0.7621 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.05e-05/0.4871, allocations: 0 / 0.7621 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.87e-05/0.4871, allocations: 8.031 kB / 0.7621 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.4872, allocations: 0 / 0.7621 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.255e-05/0.4872, allocations: 107.2 kB / 0.7622 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.41e-07/0.4873, allocations: 0 / 0.7622 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003002/0.4876, allocations: 11.94 kB / 0.7623 GB, free: 14.66 MB / 0.6511 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 (2): * Single equations (assignments): 2 * 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.0005344/0.4881, allocations: 0.6929 MB / 0.7629 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001289/0.4883, allocations: 15.98 kB / 0.7629 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.4883, allocations: 0 / 0.7629 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.677e-05/0.4883, allocations: 4 kB / 0.763 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001708/0.4885, allocations: 8 kB / 0.763 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004572/0.489, allocations: 98.52 kB / 0.7631 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/0.4893, allocations: 0.6967 MB / 0.7637 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.752e-05/0.4894, allocations: 0 / 0.7637 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.579e-05/0.4894, allocations: 19.42 kB / 0.7638 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of SimCode: time 1.473e-06/0.4895, allocations: 3.938 kB / 0.7638 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02387/0.5133, allocations: 1.226 MB / 0.765 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003204/0.5137, allocations: 148.5 kB / 0.7651 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.318/2.832, allocations: 0 / 0.7651 GB, free: 11.65 MB / 0.6511 GB