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.01129/0.0113, allocations: 107 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.001282/0.001281, allocations: 181.5 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 1.957/1.957, allocations: 194.5 MB / 211.2 MB, free: 10.99 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.343/2.343, allocations: 236.1 MB / 492.6 MB, free: 11.31 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006597/0.0006598, allocations: 16 kB / 0.587 GB, free: 2.062 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6691/0.6698, allocations: 98.71 MB / 0.6834 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002204/0.6721, allocations: 1.225 MB / 0.6846 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0005941/0.6728, allocations: 163.4 kB / 0.6848 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.258e-05/0.6728, allocations: 1.469 kB / 0.6848 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.622e-05/0.6729, allocations: 5.156 kB / 0.6848 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 5.215e-05/0.6729, allocations: 9.328 kB / 0.6848 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.000339/0.6733, allocations: 33.41 kB / 0.6848 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 7.326e-05/0.6734, allocations: 22.75 kB / 0.6848 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.6735, allocations: 11.33 kB / 0.6849 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 3.435e-05/0.6735, allocations: 11.66 kB / 0.6849 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 5.275e-05/0.6736, allocations: 19.8 kB / 0.6849 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.6736, allocations: 1.562 kB / 0.6849 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001438/0.6738, allocations: 40.05 kB / 0.6849 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.399e-05/0.6738, allocations: 2.688 kB / 0.6849 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.749e-05/0.6738, allocations: 34.89 kB / 0.685 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001435/0.674, allocations: 41.14 kB / 0.685 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.674, allocations: 0 / 0.685 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.814e-06/0.674, allocations: 1.281 kB / 0.685 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.6741, allocations: 0 / 0.685 GB, free: 15.62 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005238/0.6746, allocations: 355.8 kB / 0.6853 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.6747, allocations: 13.69 kB / 0.6854 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.341e-05/0.6747, allocations: 32.88 kB / 0.6854 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.164e-05/0.6748, allocations: 2.781 kB / 0.6854 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.6749, allocations: 169.7 kB / 0.6856 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.731e-05/0.6749, allocations: 9.25 kB / 0.6856 GB, free: 15 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.6749, allocations: 2.594 kB / 0.6856 GB, free: 15 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002911/0.6752, allocations: 70.62 kB / 0.6856 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.6753, allocations: 0 / 0.6856 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.6753, allocations: 0 / 0.6856 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.6753, allocations: 5.094 kB / 0.6856 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003337/0.6756, allocations: 58.23 kB / 0.6857 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004734/0.6761, allocations: 277.3 kB / 0.686 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005164/0.6767, allocations: 72.72 kB / 0.686 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002692/0.6769, allocations: 175.8 kB / 0.6862 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.677, allocations: 31.66 kB / 0.6862 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 2.244e-06/0.677, allocations: 0 / 0.6862 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0006493/0.6777, allocations: 115.8 kB / 0.6863 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.6777, allocations: 52.62 kB / 0.6864 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.909e-05/0.6778, allocations: 106.7 kB / 0.6865 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.6778, allocations: 27.14 kB / 0.6865 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.259e-05/0.6779, allocations: 90.64 kB / 0.6866 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.206e-05/0.6779, allocations: 9.516 kB / 0.6866 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-06/0.6779, allocations: 3.938 kB / 0.6866 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.088e-05/0.678, allocations: 320.9 kB / 0.6869 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001633/0.6782, allocations: 25.69 kB / 0.6869 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001554/0.6784, allocations: 21.44 kB / 0.687 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001729/0.6785, allocations: 29.92 kB / 0.687 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.6786, allocations: 0 / 0.687 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004038/0.679, allocations: 83.53 kB / 0.6871 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.679, allocations: 5.719 kB / 0.6871 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.679, allocations: 0 / 0.6871 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.6791, allocations: 4 kB / 0.6871 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.6792, allocations: 14.64 kB / 0.6871 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.6793, allocations: 8.734 kB / 0.6871 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.6794, allocations: 8.922 kB / 0.6871 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.6794, allocations: 1.281 kB / 0.6871 GB, free: 13.65 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: 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 8.569e-05/0.6795, allocations: 117.2 kB / 0.6872 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.46e-05/0.6795, allocations: 13.22 kB / 0.6872 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004549/0.68, allocations: 90.27 kB / 0.6873 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.68, allocations: 1.031 kB / 0.6873 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.68, allocations: 0 / 0.6873 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.68, allocations: 4.656 kB / 0.6873 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001972/0.6803, allocations: 170.1 kB / 0.6875 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.6803, allocations: 0.75 kB / 0.6875 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001443/0.6804, allocations: 13.5 kB / 0.6875 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.6804, allocations: 0 / 0.6875 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.6805, allocations: 2.016 kB / 0.6875 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.6805, allocations: 0 / 0.6875 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.6805, allocations: 1.875 kB / 0.6875 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004163/0.6809, allocations: 190.4 kB / 0.6877 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.267e-05/0.681, allocations: 83.44 kB / 0.6878 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.681, allocations: 1.344 kB / 0.6878 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/0.6811, allocations: 12.03 kB / 0.6878 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.438e-05/0.6812, allocations: 10.73 kB / 0.6878 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.6812, allocations: 5.938 kB / 0.6878 GB, free: 13 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.638e-05/0.6813, allocations: 86.34 kB / 0.6879 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.5e-07/0.6813, allocations: 1.031 kB / 0.6879 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003614/0.6817, allocations: 17.48 kB / 0.6879 GB, free: 12.91 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: 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.0007971/0.6825, allocations: 0.7359 MB / 0.6886 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004063/0.6829, allocations: 58.67 kB / 0.6887 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.6829, allocations: 0 / 0.6887 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001844/0.6831, allocations: 31.42 kB / 0.6887 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002695/0.6834, allocations: 6.5 kB / 0.6887 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.6848, allocations: 467.8 kB / 0.6892 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001472/0.685, allocations: 0.6865 MB / 0.6898 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.465e-05/0.685, allocations: 8.547 kB / 0.6898 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.772e-05/0.6851, allocations: 14.62 kB / 0.6898 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of SimCode: time 8.71e-07/0.6851, allocations: 0 / 0.6898 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02019/0.7053, allocations: 1.61 MB / 0.6914 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002409/0.7056, allocations: 175.6 kB / 0.6916 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.405/3.111, allocations: 1.062 kB / 0.6916 GB, free: 10.69 MB / 0.5261 GB