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.Binomial.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.Binomial,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Functions_Examples_Binomial",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.01017/0.01017, allocations: 88.86 kB / 15.04 MB, free: 6.051 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.001153/0.001153, allocations: 171.1 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.424/2.424, allocations: 205.5 MB / 222.2 MB, free: 13.71 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.383/2.383, allocations: 252.8 MB / 0.511 GB, free: 8.352 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000487/0.0004871, allocations: 19.84 kB / 0.6243 GB, free: 28.4 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.2246, allocations: 106.2 MB / 0.7281 GB, free: 10.18 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.0008112/0.2255, allocations: 325 kB / 0.7284 GB, free: 9.859 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0004037/0.2259, allocations: 105.2 kB / 0.7285 GB, free: 9.758 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.664e-05/0.2259, allocations: 4 kB / 0.7285 GB, free: 9.754 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 3.265e-05/0.226, allocations: 0 / 0.7285 GB, free: 9.754 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 5.551e-06/0.226, allocations: 0 / 0.7285 GB, free: 9.754 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002962/0.2263, allocations: 31.91 kB / 0.7285 GB, free: 9.723 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.2265, allocations: 43.94 kB / 0.7286 GB, free: 9.68 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.844e-05/0.2265, allocations: 0 / 0.7286 GB, free: 9.68 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.461e-05/0.2266, allocations: 23.92 kB / 0.7286 GB, free: 9.656 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.926e-05/0.2266, allocations: 27.95 kB / 0.7286 GB, free: 9.629 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.301e-05/0.2267, allocations: 4 kB / 0.7286 GB, free: 9.625 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001402/0.2268, allocations: 39.89 kB / 0.7286 GB, free: 9.586 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 4.406e-05/0.2269, allocations: 23.98 kB / 0.7287 GB, free: 9.562 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.771e-05/0.2269, allocations: 29.7 kB / 0.7287 GB, free: 9.527 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001235/0.2271, allocations: 47.92 kB / 0.7287 GB, free: 9.48 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.2271, allocations: 0 / 0.7287 GB, free: 9.48 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.774e-06/0.2271, allocations: 0 / 0.7287 GB, free: 9.48 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.409e-06/0.2271, allocations: 0 / 0.7287 GB, free: 9.48 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006623/0.2278, allocations: 351.3 kB / 0.7291 GB, free: 9.09 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/0.2278, allocations: 8.031 kB / 0.7291 GB, free: 9.082 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.699e-05/0.2279, allocations: 42.56 kB / 0.7291 GB, free: 9.031 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.34e-05/0.228, allocations: 8 kB / 0.7291 GB, free: 9.023 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.2281, allocations: 175.2 kB / 0.7293 GB, free: 8.812 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003347/0.2284, allocations: 277 kB / 0.7296 GB, free: 8.48 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.585e-05/0.2285, allocations: 4 kB / 0.7296 GB, free: 8.477 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003904/0.2289, allocations: 85.56 kB / 0.7297 GB, free: 8.387 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.2289, allocations: 0 / 0.7297 GB, free: 8.387 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.2289, allocations: 0 / 0.7297 GB, free: 8.387 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.2289, allocations: 0 / 0.7297 GB, free: 8.387 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006467/0.2296, allocations: 135.8 kB / 0.7298 GB, free: 8.254 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002575/0.2299, allocations: 193.5 kB / 0.73 GB, free: 8.016 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005442/0.2304, allocations: 98.45 kB / 0.7301 GB, free: 7.91 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.212e-05/0.2305, allocations: 0 / 0.7301 GB, free: 7.91 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.2305, allocations: 34.56 kB / 0.7301 GB, free: 7.867 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=11): time 1.693e-06/0.2305, allocations: 4 kB / 0.7301 GB, free: 7.863 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11): time 0.0009419/0.2315, allocations: 145.8 kB / 0.7302 GB, free: 7.715 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.639e-05/0.2315, allocations: 51.41 kB / 0.7303 GB, free: 7.652 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.441e-05/0.2316, allocations: 93.86 kB / 0.7304 GB, free: 7.551 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/0.2317, allocations: 25.7 kB / 0.7304 GB, free: 7.52 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 3.495e-05/0.2317, allocations: 88.33 kB / 0.7305 GB, free: 7.426 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 6.81e-05/0.2318, allocations: 35.45 kB / 0.7305 GB, free: 7.391 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.104e-05/0.2318, allocations: 0 / 0.7305 GB, free: 7.391 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.2319, allocations: 318.8 kB / 0.7308 GB, free: 7.07 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002635/0.2322, allocations: 31.97 kB / 0.7309 GB, free: 7.039 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002458/0.2325, allocations: 31.91 kB / 0.7309 GB, free: 7.008 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002645/0.2327, allocations: 35.98 kB / 0.7309 GB, free: 6.973 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.2328, allocations: 4 kB / 0.7309 GB, free: 6.969 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006148/0.2334, allocations: 113.5 kB / 0.731 GB, free: 6.852 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.2334, allocations: 4 kB / 0.731 GB, free: 6.848 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.2334, allocations: 3.984 kB / 0.731 GB, free: 6.844 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.2335, allocations: 4 kB / 0.731 GB, free: 6.84 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000284/0.2338, allocations: 19.98 kB / 0.7311 GB, free: 6.82 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.2338, allocations: 0 / 0.7311 GB, free: 6.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.2339, allocations: 15.84 kB / 0.7311 GB, free: 6.805 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.541e-05/0.2339, allocations: 7.984 kB / 0.7311 GB, free: 6.797 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: 1 (n) * Number of discrete states: 0 () * Number of clocked 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.0001426/0.2341, allocations: 121.8 kB / 0.7312 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.403e-05/0.2341, allocations: 4 kB / 0.7312 GB, free: 6.664 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.836e-05/0.2342, allocations: 15.89 kB / 0.7312 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.2342, allocations: 0 / 0.7312 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.2342, allocations: 0 / 0.7312 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.2342, allocations: 0 / 0.7312 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002096/0.2344, allocations: 185.5 kB / 0.7314 GB, free: 6.414 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.2345, allocations: 0 / 0.7314 GB, free: 6.414 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002521/0.2347, allocations: 27.98 kB / 0.7314 GB, free: 6.387 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.105e-06/0.2347, allocations: 7.984 kB / 0.7314 GB, free: 6.379 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.017e-05/0.2348, allocations: 4 kB / 0.7314 GB, free: 6.375 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.2348, allocations: 0 / 0.7314 GB, free: 6.375 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.2348, allocations: 3.938 kB / 0.7314 GB, free: 6.371 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00065/0.2355, allocations: 141 kB / 0.7316 GB, free: 6.215 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.126e-05/0.2355, allocations: 88.97 kB / 0.7317 GB, free: 6.109 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.278e-05/0.2356, allocations: 0 / 0.7317 GB, free: 6.109 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.2357, allocations: 8 kB / 0.7317 GB, free: 6.102 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.86e-05/0.2358, allocations: 15.97 kB / 0.7317 GB, free: 6.086 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.158e-05/0.2359, allocations: 4 kB / 0.7317 GB, free: 6.082 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 3.522e-05/0.2359, allocations: 75.28 kB / 0.7318 GB, free: 6.008 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.3e-07/0.2359, allocations: 0 / 0.7318 GB, free: 6.008 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003485/0.2363, allocations: 20 kB / 0.7318 GB, free: 5.988 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: 1 (n) * Number of discrete states: 0 () * Number of clocked 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.001077/0.2373, allocations: 0.6991 MB / 0.7325 GB, free: 5.262 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0006125/0.238, allocations: 91.92 kB / 0.7325 GB, free: 5.172 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.238, allocations: 0 / 0.7325 GB, free: 5.172 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002894/0.2383, allocations: 51.91 kB / 0.7326 GB, free: 5.121 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001365/0.2385, allocations: 11.88 kB / 0.7326 GB, free: 5.109 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008002/0.2393, allocations: 208.3 kB / 0.7328 GB, free: 4.867 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002993/0.2396, allocations: 0.6887 MB / 0.7335 GB, free: 4.152 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002482/0.2399, allocations: 31.97 kB / 0.7335 GB, free: 4.121 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.376e-05/0.24, allocations: 23.42 kB / 0.7335 GB, free: 4.098 MB / 0.5573 GB Notification: Performance of SimCode: time 4.699e-06/0.24, allocations: 0 / 0.7335 GB, free: 4.098 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02428/0.2643, allocations: 1.757 MB / 0.7352 GB, free: 2.449 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003065/0.2646, allocations: 183.2 kB / 0.7354 GB, free: 2.211 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.584/2.848, allocations: 0 / 0.7354 GB, free: 2.211 MB / 0.5573 GB