Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial") translateModel(BuildingSystems.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0009974/0.0009974, allocations: 99.42 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.001239/0.001239, allocations: 186.7 kB / 16.92 MB, free: 6.75 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.33/1.33, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001786/0.001786, allocations: 274.1 kB / 292.3 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9528/0.9528, allocations: 169.5 MB / 0.501 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004665/0.0004665, allocations: 23.48 kB / 0.5993 GB, free: 27.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1849/0.1854, allocations: 88.55 MB / 0.6858 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Binomial): time 0.001939/0.1874, allocations: 1.249 MB / 0.687 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005438/0.1879, allocations: 180.7 kB / 0.6872 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.317e-05/0.188, allocations: 0 / 0.6872 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.079e-05/0.188, allocations: 0 / 0.6872 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.032e-05/0.1881, allocations: 3.938 kB / 0.6872 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003006/0.1884, allocations: 41.42 kB / 0.6872 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.309e-05/0.1885, allocations: 27.92 kB / 0.6872 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.1886, allocations: 21.12 kB / 0.6873 GB, free: 13.52 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.628e-05/0.1886, allocations: 11.94 kB / 0.6873 GB, free: 13.51 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.785e-05/0.1887, allocations: 16.45 kB / 0.6873 GB, free: 13.49 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.1887, allocations: 6.531 kB / 0.6873 GB, free: 13.49 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.1888, allocations: 43.95 kB / 0.6873 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.696e-05/0.1889, allocations: 7.984 kB / 0.6873 GB, free: 13.44 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.307e-05/0.1889, allocations: 37.58 kB / 0.6874 GB, free: 13.39 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001215/0.189, allocations: 40.2 kB / 0.6874 GB, free: 13.36 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.189, allocations: 0 / 0.6874 GB, free: 13.36 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1891, allocations: 0 / 0.6874 GB, free: 13.36 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.91e-06/0.1891, allocations: 2.219 kB / 0.6874 GB, free: 13.36 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004831/0.1896, allocations: 359.4 kB / 0.6878 GB, free: 12.95 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.1896, allocations: 8.594 kB / 0.6878 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.437e-05/0.1896, allocations: 0.9375 kB / 0.6878 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.1898, allocations: 169.5 kB / 0.6879 GB, free: 12.74 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.1898, allocations: 384 / 0.6879 GB, free: 12.74 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/0.1898, allocations: 4.375 kB / 0.6879 GB, free: 12.74 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002284/0.1901, allocations: 68.16 kB / 0.688 GB, free: 12.67 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.1901, allocations: 192 / 0.688 GB, free: 12.67 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.1901, allocations: 11.53 kB / 0.688 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.1901, allocations: 3.938 kB / 0.688 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002049/0.1903, allocations: 51.95 kB / 0.6881 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004662/0.1908, allocations: 293.3 kB / 0.6883 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003302/0.1911, allocations: 60.58 kB / 0.6884 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.1913, allocations: 35.48 kB / 0.6884 GB, free: 12.17 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002533/0.1915, allocations: 166.2 kB / 0.6886 GB, free: 11.97 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.1916, allocations: 38.56 kB / 0.6886 GB, free: 11.92 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.1916, allocations: 4 kB / 0.6886 GB, free: 11.92 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004191/0.192, allocations: 113.5 kB / 0.6887 GB, free: 11.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.1921, allocations: 55.41 kB / 0.6888 GB, free: 11.73 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.578e-05/0.1922, allocations: 109.8 kB / 0.6889 GB, free: 11.62 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.1922, allocations: 29.64 kB / 0.6889 GB, free: 11.58 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.822e-05/0.1922, allocations: 84.14 kB / 0.689 GB, free: 11.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.684e-05/0.1923, allocations: 7.906 kB / 0.689 GB, free: 11.49 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.301e-05/0.1923, allocations: 9.719 kB / 0.689 GB, free: 11.47 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.1924, allocations: 322.8 kB / 0.6893 GB, free: 11.15 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.574e-05/0.1925, allocations: 23.98 kB / 0.6894 GB, free: 11.12 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.741e-05/0.1926, allocations: 24.17 kB / 0.6894 GB, free: 11.1 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001887/0.1928, allocations: 68.83 kB / 0.6894 GB, free: 11.03 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1928, allocations: 0 / 0.6894 GB, free: 11.03 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002432/0.1931, allocations: 85.64 kB / 0.6895 GB, free: 10.94 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.1931, allocations: 4 kB / 0.6895 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.1931, allocations: 4 kB / 0.6895 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.1931, allocations: 0 / 0.6895 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.541e-05/0.1932, allocations: 19.98 kB / 0.6896 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.1932, allocations: 0 / 0.6896 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.018e-05/0.1933, allocations: 8 kB / 0.6896 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.1933, allocations: 4 kB / 0.6896 GB, free: 10.9 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: 2 (bin.y,rea2Int.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.769e-05/0.1934, allocations: 115.1 kB / 0.6897 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.723e-05/0.1935, allocations: 11.91 kB / 0.6897 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002818/0.1937, allocations: 97.48 kB / 0.6898 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.1938, allocations: 0 / 0.6898 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1938, allocations: 0 / 0.6898 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.1938, allocations: 0 / 0.6898 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001755/0.194, allocations: 181.5 kB / 0.69 GB, free: 10.44 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.194, allocations: 0 / 0.69 GB, free: 10.44 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.575e-05/0.194, allocations: 15.98 kB / 0.69 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.1941, allocations: 0 / 0.69 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.034e-06/0.1941, allocations: 0 / 0.69 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1941, allocations: 0 / 0.69 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1941, allocations: 0 / 0.69 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000297/0.1944, allocations: 191.4 kB / 0.6901 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.891e-05/0.1944, allocations: 81.02 kB / 0.6902 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.1944, allocations: 0 / 0.6902 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.909e-05/0.1946, allocations: 11.98 kB / 0.6902 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.647e-05/0.1946, allocations: 8 kB / 0.6902 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.1946, allocations: 7.984 kB / 0.6903 GB, free: 10.09 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.593e-05/0.1947, allocations: 83.28 kB / 0.6903 GB, free: 10.01 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1947, allocations: 0 / 0.6903 GB, free: 10.01 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002518/0.195, allocations: 20 kB / 0.6904 GB, free: 9.992 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: 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 (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.000193/0.1952, allocations: 111.2 kB / 0.6905 GB, free: 9.875 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002641/0.1954, allocations: 59.95 kB / 0.6905 GB, free: 9.816 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1954, allocations: 0 / 0.6905 GB, free: 9.816 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001105/0.1956, allocations: 35.84 kB / 0.6905 GB, free: 9.781 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.1959, allocations: 11.91 kB / 0.6906 GB, free: 9.773 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000363/0.1962, allocations: 158.3 kB / 0.6907 GB, free: 9.59 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.1966, allocations: 0.6813 MB / 0.6914 GB, free: 8.883 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.132e-05/0.1966, allocations: 11.44 kB / 0.6914 GB, free: 8.871 MB / 494.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1966, allocations: 0 / 0.6914 GB, free: 8.871 MB / 494.1 MB Notification: Performance of Templates: time 0.002794/0.1994, allocations: 0.9746 MB / 0.6923 GB, free: 7.898 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.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.Examples.BinomialCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.BinomialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.BinomialCalcHelperMain.o] Error 1