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.Binomial.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.Binomial,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.748/4.748, allocations: 433.2 MB / 440.7 MB, free: 4.48 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 4.313e-05/4.335e-05, allocations: 8.438 kB / 0.5325 GB, free: 12.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2498, allocations: 98.74 MB / 0.6289 GB, free: 9.031 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2628/0.5127, allocations: 123.4 MB / 0.7495 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003134/0.5131, allocations: 75.95 kB / 0.7495 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005607/0.5187, allocations: 1.218 MB / 0.7507 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.405e-06/0.5187, allocations: 0 / 0.7507 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.133e-06/0.5188, allocations: 0 / 0.7507 GB, free: 12.13 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006565/0.5194, allocations: 362.5 kB / 0.7511 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.38e-05/0.5195, allocations: 8.031 kB / 0.7511 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.19e-05/0.5196, allocations: 11.95 kB / 0.7511 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.5197, allocations: 171 kB / 0.7512 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003708/0.5201, allocations: 277 kB / 0.7515 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.678e-05/0.5201, allocations: 4 kB / 0.7515 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003214/0.5205, allocations: 115.8 kB / 0.7516 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.5207, allocations: 65.64 kB / 0.7517 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.5207, allocations: 0 / 0.7517 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.5207, allocations: 0 / 0.7517 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.5207, allocations: 4 kB / 0.7517 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002626/0.521, allocations: 154 kB / 0.7518 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002047/0.5212, allocations: 82.55 kB / 0.7519 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.5214, allocations: 32.8 kB / 0.7519 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.65e-05/0.5214, allocations: 3.938 kB / 0.752 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.5215, allocations: 38.55 kB / 0.752 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 1.913e-06/0.5215, allocations: 0 / 0.752 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.002131/0.5236, allocations: 201.8 kB / 0.7522 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/0.5237, allocations: 51.41 kB / 0.7522 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.226e-05/0.5238, allocations: 93 kB / 0.7523 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.5238, allocations: 25.7 kB / 0.7523 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.074e-05/0.5239, allocations: 80.33 kB / 0.7524 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.282e-05/0.5239, allocations: 35.45 kB / 0.7525 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.107e-05/0.524, allocations: 0 / 0.7525 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.5241, allocations: 318.8 kB / 0.7528 GB, free: 9.777 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.189e-05/0.5242, allocations: 20 kB / 0.7528 GB, free: 9.758 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.817e-05/0.5243, allocations: 19.98 kB / 0.7528 GB, free: 9.738 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001874/0.5262, allocations: 139.8 kB / 0.7529 GB, free: 9.602 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/0.5262, allocations: 11.89 kB / 0.7529 GB, free: 9.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.002002/0.5282, allocations: 209.8 kB / 0.7531 GB, free: 9.379 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.743e-05/0.5283, allocations: 4 kB / 0.7531 GB, free: 9.375 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.5283, allocations: 0 / 0.7531 GB, free: 9.375 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.5284, allocations: 0 / 0.7531 GB, free: 9.375 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000309/0.5287, allocations: 27.97 kB / 0.7532 GB, free: 9.348 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.5287, allocations: 0 / 0.7532 GB, free: 9.348 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/0.5288, allocations: 7.906 kB / 0.7532 GB, free: 9.34 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.766e-05/0.5289, allocations: 0 / 0.7532 GB, free: 9.34 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: 1 (n) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001217/0.529, allocations: 117.6 kB / 0.7533 GB, free: 9.219 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001999/0.531, allocations: 209.4 kB / 0.7535 GB, free: 9.008 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.029e-05/0.5311, allocations: 3.906 kB / 0.7535 GB, free: 9.004 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.795e-05/0.5311, allocations: 8.406 kB / 0.7535 GB, free: 8.996 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.5312, allocations: 4 kB / 0.7535 GB, free: 8.992 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.5312, allocations: 0 / 0.7535 GB, free: 8.992 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.5312, allocations: 3.984 kB / 0.7535 GB, free: 8.988 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001965/0.5314, allocations: 150.2 kB / 0.7537 GB, free: 8.805 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.5314, allocations: 0 / 0.7537 GB, free: 8.805 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002746/0.5317, allocations: 23.97 kB / 0.7537 GB, free: 8.781 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.099e-05/0.5317, allocations: 8 kB / 0.7537 GB, free: 8.773 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.557e-05/0.5318, allocations: 7.984 kB / 0.7537 GB, free: 8.766 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/0.5318, allocations: 3.938 kB / 0.7537 GB, free: 8.762 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.184e-06/0.5318, allocations: 7.984 kB / 0.7537 GB, free: 8.754 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002042/0.5338, allocations: 232.8 kB / 0.7539 GB, free: 8.508 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.455e-05/0.5339, allocations: 85 kB / 0.754 GB, free: 8.406 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.679e-05/0.534, allocations: 0 / 0.754 GB, free: 8.406 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.5341, allocations: 4 kB / 0.754 GB, free: 8.402 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.295e-05/0.5342, allocations: 19.97 kB / 0.754 GB, free: 8.383 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.908e-05/0.5343, allocations: 7.938 kB / 0.754 GB, free: 8.375 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.467e-05/0.5343, allocations: 75.28 kB / 0.7541 GB, free: 8.301 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.21e-07/0.5343, allocations: 0 / 0.7541 GB, free: 8.301 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003271/0.5347, allocations: 27.98 kB / 0.7541 GB, free: 8.273 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: 1 (n) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.002509/0.5372, allocations: 0.7896 MB / 0.7549 GB, free: 7.453 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002627/0.5375, allocations: 67.91 kB / 0.755 GB, free: 7.387 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.5375, allocations: 0 / 0.755 GB, free: 7.387 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.5376, allocations: 35.92 kB / 0.755 GB, free: 7.352 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001446/0.5378, allocations: 0 / 0.755 GB, free: 7.352 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005752/0.5384, allocations: 153.4 kB / 0.7552 GB, free: 7.164 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.5387, allocations: 0.6854 MB / 0.7558 GB, free: 6.453 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002688/0.539, allocations: 39.73 kB / 0.7559 GB, free: 6.414 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.172e-05/0.5391, allocations: 31.36 kB / 0.7559 GB, free: 6.387 MB / 0.6355 GB Notification: Performance of SimCode: time 9.32e-07/0.5391, allocations: 0 / 0.7559 GB, free: 6.387 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03825/0.5774, allocations: 1.447 MB / 0.7573 GB, free: 4.949 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003259/0.5778, allocations: 137.8 kB / 0.7574 GB, free: 4.762 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.459/3.037, allocations: 32 / 0.7574 GB, free: 4.762 MB / 0.6355 GB