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 Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.03068/0.03069, allocations: 220.7 kB / 15.17 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001947/0.001946, allocations: 178.9 kB / 16.06 MB, free: 5.871 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.791/3.791, allocations: 389 MB / 405.9 MB, free: 13.33 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.19/4.19, allocations: 472.3 MB / 0.9017 GB, free: 3.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006625/0.0006628, allocations: 16 kB / 1.008 GB, free: 10.14 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6599/0.6606, allocations: 98.7 MB / 1.104 GB, free: 213 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.0008131/0.6615, allocations: 317.4 kB / 1.104 GB, free: 212.9 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0003782/0.6619, allocations: 96.98 kB / 1.105 GB, free: 212.8 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.184e-05/0.662, allocations: 4.156 kB / 1.105 GB, free: 212.8 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.505e-05/0.662, allocations: 3.938 kB / 1.105 GB, free: 212.8 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.713e-06/0.662, allocations: 0 / 1.105 GB, free: 212.8 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003043/0.6623, allocations: 27.05 kB / 1.105 GB, free: 212.8 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001453/0.6625, allocations: 54.08 kB / 1.105 GB, free: 212.8 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.622e-05/0.6626, allocations: 1.312 kB / 1.105 GB, free: 212.8 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 4.372e-05/0.6626, allocations: 30.33 kB / 1.105 GB, free: 212.8 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.233e-05/0.6627, allocations: 27.69 kB / 1.105 GB, free: 212.8 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.619e-05/0.6627, allocations: 4.344 kB / 1.105 GB, free: 212.8 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000139/0.6629, allocations: 42.97 kB / 1.105 GB, free: 212.8 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.043e-05/0.6629, allocations: 22.77 kB / 1.105 GB, free: 212.8 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.031e-05/0.663, allocations: 29.36 kB / 1.105 GB, free: 212.8 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001204/0.6631, allocations: 38.67 kB / 1.105 GB, free: 212.7 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.6631, allocations: 2.562 kB / 1.105 GB, free: 212.7 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.874e-06/0.6631, allocations: 0 / 1.105 GB, free: 212.7 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.6631, allocations: 3.312 kB / 1.105 GB, free: 212.7 MB / 0.7292 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.0005545/0.6637, allocations: 355.6 kB / 1.105 GB, free: 212.4 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.6638, allocations: 9.781 kB / 1.105 GB, free: 212.4 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.577e-05/0.6638, allocations: 39.61 kB / 1.105 GB, free: 212.3 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.435e-05/0.6639, allocations: 8.875 kB / 1.105 GB, free: 212.3 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.486e-05/0.6639, allocations: 167 kB / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002816/0.6642, allocations: 278.5 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.373e-05/0.6643, allocations: 13.44 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003651/0.6647, allocations: 76.72 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.6647, allocations: 0 / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.686e-05/0.6647, allocations: 9.75 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.993e-05/0.6648, allocations: 3.422 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005848/0.6653, allocations: 135.7 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002103/0.6656, allocations: 185.1 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000499/0.6661, allocations: 93.72 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002478/0.6663, allocations: 42.02 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.086e-05/0.6664, allocations: 6.219 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.6664, allocations: 30.56 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 2.495e-06/0.6664, allocations: 3.156 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0008882/0.6673, allocations: 149.6 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.6674, allocations: 58.23 kB / 1.106 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.664e-05/0.6674, allocations: 89.86 kB / 1.106 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.6675, allocations: 25.7 kB / 1.106 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.74e-05/0.6675, allocations: 80.33 kB / 1.107 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.423e-05/0.6676, allocations: 41.91 kB / 1.107 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.154e-05/0.6676, allocations: 4 kB / 1.107 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.422e-05/0.6677, allocations: 319.2 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002386/0.6679, allocations: 30.62 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002341/0.6681, allocations: 31.67 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002429/0.6684, allocations: 35.55 kB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.6684, allocations: 0 / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005994/0.669, allocations: 126 kB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.6691, allocations: 9.031 kB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.6691, allocations: 0 / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.6691, allocations: 0 / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002763/0.6694, allocations: 26.06 kB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.6694, allocations: 4.125 kB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.6695, allocations: 3.969 kB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.001e-05/0.6696, allocations: 2.75 kB / 1.107 GB, free: 210.7 MB / 0.7292 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.0001014/0.6697, allocations: 126.4 kB / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.953e-05/0.6697, allocations: 3.188 kB / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.847e-05/0.6698, allocations: 13.94 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.6698, allocations: 1.312 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.6698, allocations: 1.406 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.6698, allocations: 0 / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001603/0.67, allocations: 185.8 kB / 1.107 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.67, allocations: 4.938 kB / 1.107 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002334/0.6702, allocations: 24.27 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.6702, allocations: 0 / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.6703, allocations: 2.328 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.798e-06/0.6703, allocations: 2.547 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.6703, allocations: 0 / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005884/0.6709, allocations: 148.3 kB / 1.108 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.877e-05/0.6709, allocations: 83.22 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.609e-05/0.671, allocations: 8.844 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.6711, allocations: 11.75 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.524e-05/0.6712, allocations: 12.42 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.768e-05/0.6712, allocations: 5.906 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.871e-05/0.6712, allocations: 75.28 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.41e-07/0.6712, allocations: 1.375 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000311/0.6716, allocations: 24.38 kB / 1.108 GB, free: 210.1 MB / 0.7292 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.0009177/0.6725, allocations: 0.7006 MB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005887/0.6731, allocations: 84.14 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.6731, allocations: 1.25 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002716/0.6734, allocations: 53.84 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001932/0.6736, allocations: 6.688 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007253/0.6744, allocations: 200.1 kB / 1.109 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001465/0.6745, allocations: 0.6911 MB / 1.11 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002368/0.6748, allocations: 42.28 kB / 1.11 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.354e-05/0.6748, allocations: 21.88 kB / 1.11 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of SimCode: time 9.41e-07/0.6749, allocations: 1.344 kB / 1.11 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02009/0.695, allocations: 1.767 MB / 1.111 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000228/0.6953, allocations: 197.2 kB / 1.112 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.415/3.111, allocations: 1.75 kB / 1.112 GB, free: 208.3 MB / 0.7292 GB