Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 102 kB / 15.71 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 175.8 kB / 16.58 MB, free: 6.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.9/1.9, allocations: 205.4 MB / 222.8 MB, free: 5.613 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.856/1.856, allocations: 292.7 MB / 0.5505 GB, free: 14.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005502/0.0005502, allocations: 15.59 kB / 0.6744 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3065, allocations: 116.3 MB / 0.7879 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002067/0.3087, allocations: 1.243 MB / 0.7891 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0005315/0.3092, allocations: 169.5 kB / 0.7893 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.139e-05/0.3093, allocations: 0 / 0.7893 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.023e-05/0.3093, allocations: 0 / 0.7893 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.716e-05/0.3094, allocations: 7.922 kB / 0.7893 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003338/0.3097, allocations: 31.97 kB / 0.7893 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.5e-05/0.3098, allocations: 35.84 kB / 0.7894 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.31, allocations: 11.98 kB / 0.7894 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.667e-05/0.31, allocations: 11.92 kB / 0.7894 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.509e-05/0.3101, allocations: 23.92 kB / 0.7894 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.3101, allocations: 0 / 0.7894 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001337/0.3102, allocations: 43.95 kB / 0.7895 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.218e-05/0.3103, allocations: 4 kB / 0.7895 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.494e-05/0.3103, allocations: 33.64 kB / 0.7895 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.3104, allocations: 39.91 kB / 0.7895 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.3104, allocations: 0 / 0.7895 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.244e-06/0.3104, allocations: 0 / 0.7895 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.3105, allocations: 0 / 0.7895 GB, free: 10.28 MB / 0.6075 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.0005656/0.311, allocations: 359.5 kB / 0.7899 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.3111, allocations: 8.031 kB / 0.7899 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.535e-05/0.3111, allocations: 0 / 0.7899 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.3113, allocations: 174.9 kB / 0.79 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.029e-05/0.3113, allocations: 7.938 kB / 0.7901 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.3113, allocations: 4 kB / 0.7901 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002191/0.3116, allocations: 73.59 kB / 0.7901 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.3116, allocations: 0 / 0.7901 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.3116, allocations: 0 / 0.7901 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.3116, allocations: 4 kB / 0.7901 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001903/0.3118, allocations: 51.95 kB / 0.7902 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004866/0.3123, allocations: 288.7 kB / 0.7905 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003575/0.3127, allocations: 62.48 kB / 0.7905 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.981e-05/0.3128, allocations: 36.89 kB / 0.7906 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000251/0.3131, allocations: 166.2 kB / 0.7907 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.3131, allocations: 30.56 kB / 0.7907 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.3131, allocations: 0 / 0.7907 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0003953/0.3135, allocations: 117.5 kB / 0.7909 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.3135, allocations: 51.41 kB / 0.7909 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.592e-05/0.3137, allocations: 117.8 kB / 0.791 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.3137, allocations: 25.7 kB / 0.791 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.351e-05/0.3137, allocations: 88.12 kB / 0.7911 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.697e-05/0.3138, allocations: 11.91 kB / 0.7911 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.568e-06/0.3138, allocations: 0 / 0.7911 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.3139, allocations: 318.8 kB / 0.7914 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.585e-05/0.314, allocations: 23.98 kB / 0.7915 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.768e-05/0.3141, allocations: 28.16 kB / 0.7915 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.696e-05/0.3142, allocations: 27.97 kB / 0.7915 GB, free: 8 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3142, allocations: 0 / 0.7915 GB, free: 8 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000204/0.3144, allocations: 85.66 kB / 0.7916 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.3145, allocations: 4 kB / 0.7916 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.3145, allocations: 0 / 0.7916 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.3145, allocations: 0 / 0.7916 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.886e-05/0.3146, allocations: 15.98 kB / 0.7916 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.3146, allocations: 3.938 kB / 0.7916 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.869e-05/0.3146, allocations: 15.89 kB / 0.7916 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.3147, allocations: 3.953 kB / 0.7916 GB, free: 7.867 MB / 0.6075 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.0001023/0.3148, allocations: 117.8 kB / 0.7918 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.216e-05/0.3148, allocations: 0 / 0.7918 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002624/0.3151, allocations: 89.55 kB / 0.7918 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.3151, allocations: 0 / 0.7918 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.3151, allocations: 4 kB / 0.7918 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.3151, allocations: 0 / 0.7918 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001881/0.3153, allocations: 173.6 kB / 0.792 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.3153, allocations: 0 / 0.792 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.965e-05/0.3154, allocations: 19.92 kB / 0.792 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3154, allocations: 3.938 kB / 0.792 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.3154, allocations: 0 / 0.792 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3154, allocations: 3.938 kB / 0.792 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3154, allocations: 0 / 0.792 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002667/0.3157, allocations: 191.4 kB / 0.7922 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.718e-05/0.3158, allocations: 81.09 kB / 0.7923 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/0.3158, allocations: 4 kB / 0.7923 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.92e-05/0.3159, allocations: 12 kB / 0.7923 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.178e-05/0.3159, allocations: 7.984 kB / 0.7923 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.3159, allocations: 0 / 0.7923 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.181e-05/0.316, allocations: 91.56 kB / 0.7924 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.316, allocations: 0 / 0.7924 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002481/0.3163, allocations: 23.94 kB / 0.7924 GB, free: 6.953 MB / 0.6075 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.0001865/0.3164, allocations: 115.2 kB / 0.7925 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002097/0.3167, allocations: 55.89 kB / 0.7926 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3167, allocations: 4 kB / 0.7926 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.535e-05/0.3168, allocations: 23.98 kB / 0.7926 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002735/0.3171, allocations: 19.94 kB / 0.7926 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003037/0.3174, allocations: 150.3 kB / 0.7928 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002434/0.3176, allocations: 0.6814 MB / 0.7934 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.679e-05/0.3177, allocations: 7.438 kB / 0.7934 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.3177, allocations: 0 / 0.7934 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of Templates: time 0.002308/0.32, allocations: 0.9783 MB / 0.7944 GB, free: 4.859 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.Binomial.makefile make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.Binomial.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Utilities.Math.Examples.BinomialCalcHelperMain.o OMCppBuildings_8_Buildings.Utilities.Math.Examples.BinomialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Utilities.Math.Examples.BinomialCalcHelperMain.o] Error 1