Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008206/0.0008208, allocations: 99.58 kB / 16.02 MB, free: 76 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.0009934/0.0009932, allocations: 181.8 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 223.2 MB / 240.9 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001872/0.001872, allocations: 275.1 kB / 292.3 MB, free: 1.801 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9327/0.9327, allocations: 169.5 MB / 0.501 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006512/0.0006514, allocations: 17.03 kB / 0.5993 GB, free: 27.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.1834, allocations: 88.54 MB / 0.6858 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Binomial): time 0.0008656/0.1843, allocations: 305.4 kB / 0.6861 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004907/0.1849, allocations: 115.7 kB / 0.6862 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.617e-05/0.1849, allocations: 0 / 0.6862 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.182e-05/0.1849, allocations: 0 / 0.6862 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.132e-06/0.1849, allocations: 0 / 0.6862 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003384/0.1853, allocations: 24.59 kB / 0.6862 GB, free: 14.63 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001297/0.1854, allocations: 67.86 kB / 0.6863 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.591e-05/0.1855, allocations: 4.719 kB / 0.6863 GB, free: 14.56 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.269e-05/0.1855, allocations: 19.98 kB / 0.6863 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.046e-05/0.1856, allocations: 26.2 kB / 0.6863 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.1856, allocations: 4 kB / 0.6863 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001448/0.1858, allocations: 39.97 kB / 0.6864 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.637e-05/0.1858, allocations: 23.95 kB / 0.6864 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.723e-05/0.1859, allocations: 53.56 kB / 0.6864 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001237/0.1861, allocations: 43.92 kB / 0.6865 GB, free: 14.35 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1861, allocations: 3.438 kB / 0.6865 GB, free: 14.35 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1861, allocations: 0 / 0.6865 GB, free: 14.35 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.1861, allocations: 3.938 kB / 0.6865 GB, free: 14.35 MB / 494.1 MB 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.0005552/0.1866, allocations: 355.8 kB / 0.6868 GB, free: 13.95 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.641e-05/0.1867, allocations: 12.03 kB / 0.6868 GB, free: 13.94 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.977e-05/0.1868, allocations: 12.78 kB / 0.6869 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.1869, allocations: 160.4 kB / 0.687 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000273/0.1872, allocations: 282.2 kB / 0.6873 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.1872, allocations: 384 / 0.6873 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000262/0.1875, allocations: 82.69 kB / 0.6874 GB, free: 13.31 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.1875, allocations: 4.562 kB / 0.6874 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.1875, allocations: 4.562 kB / 0.6874 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.1875, allocations: 0 / 0.6874 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003476/0.1879, allocations: 140.3 kB / 0.6875 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002185/0.1881, allocations: 171.6 kB / 0.6877 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000299/0.1884, allocations: 98.52 kB / 0.6878 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000143/0.1886, allocations: 41.58 kB / 0.6878 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.831e-05/0.1886, allocations: 4 kB / 0.6878 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.1886, allocations: 35.5 kB / 0.6878 GB, free: 12.75 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.123e-06/0.1886, allocations: 0.5625 kB / 0.6878 GB, free: 12.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005442/0.1892, allocations: 152.2 kB / 0.688 GB, free: 12.6 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.186e-05/0.1893, allocations: 55.41 kB / 0.688 GB, free: 12.54 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.277e-05/0.1893, allocations: 89.86 kB / 0.6881 GB, free: 12.44 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.1894, allocations: 29.7 kB / 0.6881 GB, free: 12.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.31e-05/0.1894, allocations: 80.14 kB / 0.6882 GB, free: 12.32 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000227/0.1896, allocations: 44.03 kB / 0.6883 GB, free: 12.28 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.742e-05/0.1897, allocations: 17.72 kB / 0.6883 GB, free: 12.25 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001976/0.1899, allocations: 316.2 kB / 0.6886 GB, free: 11.94 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.19, allocations: 31.98 kB / 0.6886 GB, free: 11.91 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.1902, allocations: 36.34 kB / 0.6886 GB, free: 11.87 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002788/0.1904, allocations: 76.06 kB / 0.6887 GB, free: 11.8 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.1905, allocations: 0 / 0.6887 GB, free: 11.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003235/0.1908, allocations: 121.4 kB / 0.6888 GB, free: 11.67 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.1908, allocations: 7.938 kB / 0.6888 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.1908, allocations: 0 / 0.6888 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.1908, allocations: 0 / 0.6888 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001483/0.191, allocations: 27.97 kB / 0.6889 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.191, allocations: 0.7812 kB / 0.6889 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.882e-05/0.1911, allocations: 4 kB / 0.6889 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.1911, allocations: 9.578 kB / 0.6889 GB, free: 11.62 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001429/0.1912, allocations: 119.1 kB / 0.689 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.467e-05/0.1913, allocations: 8.75 kB / 0.689 GB, free: 11.49 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.391e-05/0.1913, allocations: 11.97 kB / 0.689 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.585e-06/0.1913, allocations: 8.672 kB / 0.689 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.1913, allocations: 0 / 0.689 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1914, allocations: 0.7812 kB / 0.689 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000206/0.1916, allocations: 177.6 kB / 0.6892 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1916, allocations: 1.281 kB / 0.6892 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/0.1917, allocations: 19.98 kB / 0.6892 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/0.1917, allocations: 3.938 kB / 0.6892 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.008e-05/0.1917, allocations: 15.98 kB / 0.6892 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.1917, allocations: 7.938 kB / 0.6892 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1917, allocations: 0 / 0.6892 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003613/0.1921, allocations: 137 kB / 0.6894 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.428e-05/0.1922, allocations: 88.95 kB / 0.6895 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.202e-05/0.1922, allocations: 7.938 kB / 0.6895 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.686e-05/0.1923, allocations: 4 kB / 0.6895 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.182e-05/0.1923, allocations: 11.97 kB / 0.6895 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.1923, allocations: 8 kB / 0.6895 GB, free: 10.91 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.198e-05/0.1924, allocations: 79.28 kB / 0.6896 GB, free: 10.84 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1924, allocations: 0 / 0.6896 GB, free: 10.84 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002312/0.1926, allocations: 16 kB / 0.6896 GB, free: 10.82 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002153/0.1928, allocations: 127.2 kB / 0.6897 GB, free: 10.69 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003403/0.1932, allocations: 83.88 kB / 0.6898 GB, free: 10.61 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1932, allocations: 0 / 0.6898 GB, free: 10.61 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.1934, allocations: 51.97 kB / 0.6898 GB, free: 10.55 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001562/0.1935, allocations: 14.73 kB / 0.6898 GB, free: 10.54 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004746/0.194, allocations: 197.4 kB / 0.69 GB, free: 10.32 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004059/0.1944, allocations: 0.6848 MB / 0.6907 GB, free: 9.609 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.313e-05/0.1945, allocations: 19.42 kB / 0.6907 GB, free: 9.59 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1945, allocations: 0 / 0.6907 GB, free: 9.59 MB / 494.1 MB Notification: Performance of Templates: time 0.003335/0.1978, allocations: 1.315 MB / 0.692 GB, free: 8.273 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BinomialCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BinomialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BinomialCalcHelperMain.o] Error 1