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.01885/0.01886, allocations: 106.2 kB / 15.06 MB, free: 5.555 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.001847/0.001847, allocations: 178.2 kB / 15.95 MB, free: 5.52 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 2.119/2.119, allocations: 194.6 MB / 211.3 MB, free: 10.98 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.444/2.444, allocations: 236.1 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007647/0.0007652, allocations: 12 kB / 0.587 GB, free: 2.082 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7572/0.7581, allocations: 98.72 MB / 0.6834 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.0008018/0.7589, allocations: 315.5 kB / 0.6837 GB, free: 16.59 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0004168/0.7594, allocations: 102.2 kB / 0.6838 GB, free: 16.53 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.926e-05/0.7594, allocations: 0 / 0.6838 GB, free: 16.53 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 3.69e-05/0.7595, allocations: 0 / 0.6838 GB, free: 16.53 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 5.601e-06/0.7595, allocations: 0 / 0.6838 GB, free: 16.53 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003207/0.7598, allocations: 26.83 kB / 0.6839 GB, free: 16.52 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001371/0.76, allocations: 51.39 kB / 0.6839 GB, free: 16.5 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 4.303e-05/0.76, allocations: 1.312 kB / 0.6839 GB, free: 16.5 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 4.594e-05/0.7601, allocations: 21.75 kB / 0.6839 GB, free: 16.5 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 6.298e-05/0.7602, allocations: 28.58 kB / 0.684 GB, free: 16.48 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.436e-05/0.7602, allocations: 2.781 kB / 0.684 GB, free: 16.48 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001516/0.7604, allocations: 42.12 kB / 0.684 GB, free: 16.47 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 4.714e-05/0.7604, allocations: 16.73 kB / 0.684 GB, free: 16.47 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 4.707e-05/0.7605, allocations: 31.3 kB / 0.684 GB, free: 16.44 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001357/0.7606, allocations: 44.47 kB / 0.6841 GB, free: 16.43 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.7606, allocations: 0 / 0.6841 GB, free: 16.43 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.034e-06/0.7606, allocations: 0 / 0.6841 GB, free: 16.43 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.491e-06/0.7607, allocations: 0 / 0.6841 GB, free: 16.43 MB / 0.5261 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.0005735/0.7612, allocations: 352.6 kB / 0.6844 GB, free: 16.07 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.7613, allocations: 10.05 kB / 0.6844 GB, free: 16.07 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.776e-05/0.7614, allocations: 41.61 kB / 0.6845 GB, free: 16.02 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.839e-05/0.7614, allocations: 13.03 kB / 0.6845 GB, free: 16.01 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.617e-05/0.7615, allocations: 175.1 kB / 0.6847 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002867/0.7618, allocations: 276.9 kB / 0.6849 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.876e-05/0.7619, allocations: 11.38 kB / 0.6849 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004333/0.7623, allocations: 78.8 kB / 0.685 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.7623, allocations: 0 / 0.685 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.7624, allocations: 5.094 kB / 0.685 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.7624, allocations: 5.094 kB / 0.685 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006596/0.763, allocations: 133.3 kB / 0.6851 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002346/0.7633, allocations: 191 kB / 0.6853 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005351/0.7639, allocations: 94.31 kB / 0.6854 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.098e-05/0.7639, allocations: 5.047 kB / 0.6854 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.7639, allocations: 33.03 kB / 0.6854 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=11): time 2.505e-06/0.764, allocations: 0 / 0.6854 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.0009504/0.7649, allocations: 143.2 kB / 0.6856 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.765, allocations: 64.78 kB / 0.6856 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.079e-05/0.765, allocations: 89.86 kB / 0.6857 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.7651, allocations: 26.77 kB / 0.6858 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 1.818e-05/0.7651, allocations: 80.33 kB / 0.6858 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.109e-05/0.7652, allocations: 36.14 kB / 0.6859 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.319e-05/0.7652, allocations: 4 kB / 0.6859 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.638e-05/0.7653, allocations: 318.5 kB / 0.6862 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002549/0.7655, allocations: 32.33 kB / 0.6862 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002456/0.7658, allocations: 33.98 kB / 0.6862 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002874/0.7661, allocations: 34.09 kB / 0.6863 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.7661, allocations: 0 / 0.6863 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006235/0.7667, allocations: 116.1 kB / 0.6864 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.7668, allocations: 9.688 kB / 0.6864 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.7668, allocations: 0 / 0.6864 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.7668, allocations: 1.531 kB / 0.6864 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000293/0.7671, allocations: 23.22 kB / 0.6864 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.7671, allocations: 0.6562 kB / 0.6864 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001285/0.7673, allocations: 6.328 kB / 0.6864 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.471e-05/0.7673, allocations: 7.734 kB / 0.6864 GB, free: 14.34 MB / 0.5261 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.0001043/0.7674, allocations: 119.7 kB / 0.6865 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.368e-05/0.7675, allocations: 3.422 kB / 0.6865 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.479e-05/0.7675, allocations: 11.97 kB / 0.6866 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.7675, allocations: 2.156 kB / 0.6866 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.7676, allocations: 1.094 kB / 0.6866 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.7676, allocations: 0.7031 kB / 0.6866 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.7677, allocations: 188.4 kB / 0.6867 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.7678, allocations: 4 kB / 0.6867 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002425/0.768, allocations: 28.3 kB / 0.6868 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.768, allocations: 0 / 0.6868 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.957e-05/0.7681, allocations: 3.891 kB / 0.6868 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.7681, allocations: 1.156 kB / 0.6868 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.7681, allocations: 3.938 kB / 0.6868 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006381/0.7687, allocations: 140.1 kB / 0.6869 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.35e-05/0.7688, allocations: 86.92 kB / 0.687 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/0.7688, allocations: 6.312 kB / 0.687 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.7689, allocations: 8.438 kB / 0.687 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.396e-05/0.7691, allocations: 11.33 kB / 0.687 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.165e-05/0.7691, allocations: 4.953 kB / 0.687 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 1.935e-05/0.7691, allocations: 79.22 kB / 0.6871 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.91e-07/0.7691, allocations: 0 / 0.6871 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003454/0.7695, allocations: 26.38 kB / 0.6871 GB, free: 13.7 MB / 0.5261 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.001054/0.7705, allocations: 0.7017 MB / 0.6878 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000617/0.7712, allocations: 83.11 kB / 0.6879 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.7712, allocations: 0 / 0.6879 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002903/0.7715, allocations: 50.92 kB / 0.6879 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001422/0.7717, allocations: 4.875 kB / 0.6879 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007885/0.7725, allocations: 207.8 kB / 0.6881 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001541/0.7727, allocations: 0.6914 MB / 0.6888 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002509/0.7729, allocations: 42.39 kB / 0.6889 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.967e-05/0.773, allocations: 20.92 kB / 0.6889 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of SimCode: time 1.393e-06/0.773, allocations: 0 / 0.6889 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02173/0.7948, allocations: 1.753 MB / 0.6906 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002203/0.7951, allocations: 184.8 kB / 0.6908 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.312/3.107, allocations: 0 / 0.6908 GB, free: 11.68 MB / 0.5261 GB