Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.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.Examples.Binomial,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_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.009919/0.009923, allocations: 89.42 kB / 15.04 MB, free: 6.059 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.001225/0.001225, allocations: 170.2 kB / 15.92 MB, free: 5.996 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.499/2.499, allocations: 205.5 MB / 222.2 MB, free: 13.7 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.426/2.426, allocations: 252.8 MB / 0.511 GB, free: 8.348 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00047/0.0004701, allocations: 12.75 kB / 0.6243 GB, free: 21.15 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2234, allocations: 106.2 MB / 0.7281 GB, free: 8.141 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002142/0.2256, allocations: 1.259 MB / 0.7293 GB, free: 6.867 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0005884/0.2263, allocations: 168.4 kB / 0.7294 GB, free: 6.699 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.119e-05/0.2264, allocations: 0 / 0.7294 GB, free: 6.699 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.996e-05/0.2264, allocations: 3.938 kB / 0.7294 GB, free: 6.695 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 6.01e-05/0.2265, allocations: 3.984 kB / 0.7295 GB, free: 6.691 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003238/0.2268, allocations: 39.89 kB / 0.7295 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 6.919e-05/0.2269, allocations: 15.98 kB / 0.7295 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 9.752e-05/0.227, allocations: 15.98 kB / 0.7295 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 3.667e-05/0.2271, allocations: 15.92 kB / 0.7295 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.189e-05/0.2271, allocations: 19.91 kB / 0.7296 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.2271, allocations: 4 kB / 0.7296 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.2273, allocations: 27.97 kB / 0.7296 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.912e-05/0.2273, allocations: 8 kB / 0.7296 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.735e-05/0.2273, allocations: 29.64 kB / 0.7296 GB, free: 6.512 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.000126/0.2275, allocations: 43.92 kB / 0.7297 GB, free: 6.469 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.2275, allocations: 0 / 0.7297 GB, free: 6.469 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.874e-06/0.2275, allocations: 3.938 kB / 0.7297 GB, free: 6.465 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.2275, allocations: 0 / 0.7297 GB, free: 6.465 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005504/0.2281, allocations: 359.5 kB / 0.73 GB, free: 6.066 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.2281, allocations: 8.031 kB / 0.73 GB, free: 6.059 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.14e-05/0.2282, allocations: 34.56 kB / 0.7301 GB, free: 6.016 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.095e-05/0.2282, allocations: 7.906 kB / 0.7301 GB, free: 6.008 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.2284, allocations: 167 kB / 0.7302 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.637e-05/0.2284, allocations: 4 kB / 0.7302 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.907e-05/0.2284, allocations: 4 kB / 0.7302 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002816/0.2287, allocations: 69.66 kB / 0.7303 GB, free: 5.723 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.2288, allocations: 0 / 0.7303 GB, free: 5.723 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.2288, allocations: 7.938 kB / 0.7303 GB, free: 5.715 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.2288, allocations: 0 / 0.7303 GB, free: 5.715 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000331/0.2291, allocations: 59.94 kB / 0.7304 GB, free: 5.656 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004933/0.2296, allocations: 280.8 kB / 0.7306 GB, free: 5.332 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005632/0.2302, allocations: 62.48 kB / 0.7307 GB, free: 5.262 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002896/0.2305, allocations: 174.3 kB / 0.7309 GB, free: 5.055 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.2306, allocations: 30.56 kB / 0.7309 GB, free: 5.016 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 2.505e-06/0.2306, allocations: 0 / 0.7309 GB, free: 5.016 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.0006226/0.2312, allocations: 109.6 kB / 0.731 GB, free: 4.902 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.2313, allocations: 59.39 kB / 0.731 GB, free: 4.832 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.2314, allocations: 109.8 kB / 0.7311 GB, free: 4.715 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.2314, allocations: 29.69 kB / 0.7312 GB, free: 4.68 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.56e-05/0.2315, allocations: 88.05 kB / 0.7313 GB, free: 4.59 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.098e-05/0.2315, allocations: 16.53 kB / 0.7313 GB, free: 4.574 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-06/0.2315, allocations: 0 / 0.7313 GB, free: 4.574 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.2316, allocations: 310.8 kB / 0.7316 GB, free: 4.262 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/0.2318, allocations: 31.91 kB / 0.7316 GB, free: 4.23 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001562/0.232, allocations: 23.98 kB / 0.7316 GB, free: 4.207 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001678/0.2322, allocations: 31.97 kB / 0.7317 GB, free: 4.176 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2322, allocations: 0 / 0.7317 GB, free: 4.176 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003934/0.2326, allocations: 81.66 kB / 0.7317 GB, free: 4.09 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.2326, allocations: 8 kB / 0.7317 GB, free: 4.082 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.2326, allocations: 0 / 0.7317 GB, free: 4.082 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.2327, allocations: 4 kB / 0.7317 GB, free: 4.078 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.2328, allocations: 11.98 kB / 0.7318 GB, free: 4.066 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.2328, allocations: 7.953 kB / 0.7318 GB, free: 4.059 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.2329, allocations: 11.98 kB / 0.7318 GB, free: 4.047 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.233, allocations: 0 / 0.7318 GB, free: 4.047 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: 2 (rea2Int.y,bin.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.959e-05/0.2331, allocations: 117.8 kB / 0.7319 GB, free: 3.922 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.595e-05/0.2331, allocations: 7.906 kB / 0.7319 GB, free: 3.914 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004306/0.2336, allocations: 89.55 kB / 0.732 GB, free: 3.816 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.2336, allocations: 3.938 kB / 0.732 GB, free: 3.812 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.2336, allocations: 4 kB / 0.732 GB, free: 3.809 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.2336, allocations: 7.953 kB / 0.732 GB, free: 3.801 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002653/0.2339, allocations: 161.7 kB / 0.7321 GB, free: 3.594 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.2339, allocations: 4 kB / 0.7322 GB, free: 3.59 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001382/0.2341, allocations: 11.98 kB / 0.7322 GB, free: 3.578 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.2341, allocations: 0 / 0.7322 GB, free: 3.578 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.2341, allocations: 0 / 0.7322 GB, free: 3.578 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.872e-06/0.2341, allocations: 4 kB / 0.7322 GB, free: 3.574 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.2341, allocations: 0 / 0.7322 GB, free: 3.574 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004419/0.2346, allocations: 187.8 kB / 0.7323 GB, free: 3.375 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.897e-05/0.2346, allocations: 81.06 kB / 0.7324 GB, free: 3.277 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/0.2347, allocations: 7.984 kB / 0.7324 GB, free: 3.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.2348, allocations: 15.98 kB / 0.7324 GB, free: 3.254 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.286e-05/0.2349, allocations: 7.984 kB / 0.7325 GB, free: 3.246 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.2349, allocations: 0 / 0.7325 GB, free: 3.246 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 6.557e-05/0.235, allocations: 91.34 kB / 0.7325 GB, free: 3.156 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.5e-07/0.235, allocations: 0 / 0.7325 GB, free: 3.156 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003603/0.2354, allocations: 15.98 kB / 0.7326 GB, free: 3.141 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: 2 (rea2Int.y,bin.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0008614/0.2362, allocations: 0.7397 MB / 0.7333 GB, free: 2.375 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.000392/0.2367, allocations: 59.95 kB / 0.7333 GB, free: 2.316 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2367, allocations: 0 / 0.7333 GB, free: 2.316 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001802/0.2369, allocations: 31.97 kB / 0.7334 GB, free: 2.285 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002674/0.2372, allocations: 6.5 kB / 0.7334 GB, free: 2.281 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001386/0.2385, allocations: 458.4 kB / 0.7338 GB, free: 1.789 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002811/0.2389, allocations: 0.681 MB / 0.7345 GB, free: 1.082 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 5.879e-05/0.2389, allocations: 11.92 kB / 0.7345 GB, free: 1.07 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.989e-05/0.239, allocations: 11.44 kB / 0.7345 GB, free: 1.059 MB / 0.5573 GB Notification: Performance of SimCode: time 1.332e-06/0.239, allocations: 0 / 0.7345 GB, free: 1.059 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01921/0.2582, allocations: 1.605 MB / 0.7361 GB, free: 15.55 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003064/0.2586, allocations: 172.6 kB / 0.7362 GB, free: 15.31 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.394/2.652, allocations: 0 / 0.7362 GB, free: 15.31 MB / 0.573 GB