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.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.Examples.Binomial,fileNamePrefix="Buildings_6_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.2/package.mo): time 0.01267/0.01267, allocations: 223 kB / 15.17 MB, free: 5.934 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.001153/0.001153, allocations: 179.6 kB / 16.06 MB, free: 5.832 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.761/3.761, allocations: 389.1 MB / 405.9 MB, free: 13.32 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.389/4.389, allocations: 472.3 MB / 0.9017 GB, free: 130 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004915/0.0004919, allocations: 12 kB / 1.008 GB, free: 21.53 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6092/0.6098, allocations: 98.72 MB / 1.104 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.001739/0.6116, allocations: 1.228 MB / 1.105 GB, free: 9.453 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0004749/0.6121, allocations: 164.4 kB / 1.105 GB, free: 9.289 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.622e-05/0.6121, allocations: 0.625 kB / 1.105 GB, free: 9.289 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.632e-05/0.6122, allocations: 0 / 1.105 GB, free: 9.289 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 5.198e-05/0.6122, allocations: 9.125 kB / 1.105 GB, free: 9.281 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002885/0.6125, allocations: 31.95 kB / 1.106 GB, free: 9.25 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 6.677e-05/0.6126, allocations: 31.86 kB / 1.106 GB, free: 9.219 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 8.985e-05/0.6127, allocations: 17.42 kB / 1.106 GB, free: 9.203 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 2.882e-05/0.6127, allocations: 8.75 kB / 1.106 GB, free: 9.195 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 4.428e-05/0.6128, allocations: 19.91 kB / 1.106 GB, free: 9.176 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.6128, allocations: 0.5625 kB / 1.106 GB, free: 9.176 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001254/0.613, allocations: 39.95 kB / 1.106 GB, free: 9.137 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.115e-05/0.613, allocations: 5.031 kB / 1.106 GB, free: 9.133 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.519e-05/0.613, allocations: 33.64 kB / 1.106 GB, free: 9.094 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001401/0.6132, allocations: 35.92 kB / 1.106 GB, free: 9.059 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.6132, allocations: 0.9062 kB / 1.106 GB, free: 9.059 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.394e-06/0.6132, allocations: 0 / 1.106 GB, free: 9.059 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.6132, allocations: 4.688 kB / 1.106 GB, free: 9.055 MB / 0.5105 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.000678/0.6139, allocations: 358.9 kB / 1.106 GB, free: 8.66 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.975e-05/0.614, allocations: 8.031 kB / 1.106 GB, free: 8.652 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.661e-05/0.6141, allocations: 34.56 kB / 1.106 GB, free: 8.609 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.57e-05/0.6141, allocations: 2.031 kB / 1.106 GB, free: 8.609 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.6143, allocations: 175 kB / 1.106 GB, free: 8.398 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.848e-05/0.6143, allocations: 0 / 1.106 GB, free: 8.398 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.075e-05/0.6144, allocations: 4 kB / 1.106 GB, free: 8.395 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003749/0.6147, allocations: 84.97 kB / 1.106 GB, free: 8.309 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.6148, allocations: 0 / 1.106 GB, free: 8.309 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.864e-05/0.6148, allocations: 0 / 1.106 GB, free: 8.309 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.6148, allocations: 0 / 1.106 GB, free: 8.309 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005194/0.6154, allocations: 56.64 kB / 1.106 GB, free: 8.254 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006241/0.616, allocations: 278.7 kB / 1.107 GB, free: 7.934 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007139/0.6168, allocations: 72.92 kB / 1.107 GB, free: 7.855 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002762/0.6171, allocations: 34.02 kB / 1.107 GB, free: 7.82 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004359/0.6175, allocations: 166.9 kB / 1.107 GB, free: 7.621 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.6176, allocations: 31.09 kB / 1.107 GB, free: 7.582 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 3.547e-06/0.6176, allocations: 0.9688 kB / 1.107 GB, free: 7.582 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.00098/0.6186, allocations: 117.2 kB / 1.107 GB, free: 7.465 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.6187, allocations: 51.41 kB / 1.107 GB, free: 7.402 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.6188, allocations: 110.4 kB / 1.107 GB, free: 7.285 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.6188, allocations: 25.7 kB / 1.107 GB, free: 7.254 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.904e-05/0.6189, allocations: 92.98 kB / 1.107 GB, free: 7.16 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.395e-05/0.6189, allocations: 7.844 kB / 1.107 GB, free: 7.152 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.256e-06/0.6189, allocations: 0.9375 kB / 1.107 GB, free: 7.152 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.538e-05/0.619, allocations: 319.3 kB / 1.108 GB, free: 6.832 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002331/0.6193, allocations: 25.5 kB / 1.108 GB, free: 6.809 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002177/0.6195, allocations: 21.14 kB / 1.108 GB, free: 6.789 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00025/0.6198, allocations: 29.59 kB / 1.108 GB, free: 6.762 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.6198, allocations: 0 / 1.108 GB, free: 6.762 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006565/0.6205, allocations: 88.67 kB / 1.108 GB, free: 6.672 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.801e-05/0.6205, allocations: 4 kB / 1.108 GB, free: 6.668 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.6206, allocations: 1.25 kB / 1.108 GB, free: 6.668 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/0.6206, allocations: 3.938 kB / 1.108 GB, free: 6.664 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002315/0.6209, allocations: 20.59 kB / 1.108 GB, free: 6.645 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.6209, allocations: 3.938 kB / 1.108 GB, free: 6.641 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000165/0.6211, allocations: 8.984 kB / 1.108 GB, free: 6.633 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.6211, allocations: 5.156 kB / 1.108 GB, free: 6.629 MB / 0.5105 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 0.0001098/0.6212, allocations: 113.8 kB / 1.108 GB, free: 6.508 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.366e-05/0.6213, allocations: 8.625 kB / 1.108 GB, free: 6.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006562/0.622, allocations: 92.52 kB / 1.108 GB, free: 6.395 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.622, allocations: 4 kB / 1.108 GB, free: 6.391 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.6221, allocations: 3.953 kB / 1.108 GB, free: 6.387 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.6221, allocations: 4 kB / 1.108 GB, free: 6.383 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002745/0.6224, allocations: 165.7 kB / 1.108 GB, free: 6.172 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.6224, allocations: 0 / 1.108 GB, free: 6.172 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.6225, allocations: 15.98 kB / 1.108 GB, free: 6.156 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.6226, allocations: 0 / 1.108 GB, free: 6.156 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.6226, allocations: 3.984 kB / 1.108 GB, free: 6.152 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.6226, allocations: 7.875 kB / 1.108 GB, free: 6.145 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.6226, allocations: 0 / 1.108 GB, free: 6.145 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004628/0.6231, allocations: 187.5 kB / 1.108 GB, free: 5.945 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.683e-05/0.6231, allocations: 81.02 kB / 1.109 GB, free: 5.848 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.998e-05/0.6232, allocations: 3.984 kB / 1.109 GB, free: 5.844 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002263/0.6234, allocations: 12 kB / 1.109 GB, free: 5.832 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.572e-05/0.6235, allocations: 3.984 kB / 1.109 GB, free: 5.828 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.6236, allocations: 4 kB / 1.109 GB, free: 5.824 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 6.446e-05/0.6237, allocations: 87.34 kB / 1.109 GB, free: 5.738 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.41e-07/0.6237, allocations: 0 / 1.109 GB, free: 5.738 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007322/0.6244, allocations: 27.95 kB / 1.109 GB, free: 5.711 MB / 0.5105 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.0009825/0.6254, allocations: 0.728 MB / 1.109 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005275/0.626, allocations: 59.95 kB / 1.109 GB, free: 4.898 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.626, allocations: 3.938 kB / 1.109 GB, free: 4.895 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002391/0.6263, allocations: 31.97 kB / 1.109 GB, free: 4.863 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005442/0.6268, allocations: 7.531 kB / 1.109 GB, free: 4.859 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001745/0.6286, allocations: 464.4 kB / 1.11 GB, free: 4.363 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001718/0.6288, allocations: 0.6848 MB / 1.111 GB, free: 3.652 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 8.155e-05/0.6289, allocations: 8 kB / 1.111 GB, free: 3.645 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.315e-05/0.629, allocations: 11.44 kB / 1.111 GB, free: 3.633 MB / 0.5105 GB Notification: Performance of SimCode: time 1.503e-06/0.629, allocations: 3.938 kB / 1.111 GB, free: 3.629 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02311/0.6522, allocations: 1.622 MB / 1.112 GB, free: 2.113 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002754/0.6525, allocations: 176.6 kB / 1.112 GB, free: 1.879 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.533/3.186, allocations: 0 / 1.112 GB, free: 1.879 MB / 0.5105 GB