Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009552/0.0009553, allocations: 101 kB / 15.71 MB, free: 452 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.001304/0.001304, allocations: 174.7 kB / 16.58 MB, free: 6.422 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.446/1.446, allocations: 223.2 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.099/1.099, allocations: 143.4 MB / 435.1 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003606/0.0003606, allocations: 12 kB / 0.5166 GB, free: 11.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1879/0.1883, allocations: 83.41 MB / 0.5981 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial): time 0.000728/0.1891, allocations: 311 kB / 0.5984 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002301/0.1893, allocations: 51.83 kB / 0.5984 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.106e-05/0.1893, allocations: 4 kB / 0.5984 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.103e-05/0.1894, allocations: 0 / 0.5984 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.693e-06/0.1894, allocations: 4 kB / 0.5984 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000182/0.1896, allocations: 0 / 0.5984 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.467e-05/0.1896, allocations: 7.938 kB / 0.5984 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.443e-05/0.1897, allocations: 0 / 0.5984 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.815e-05/0.1897, allocations: 7.984 kB / 0.5984 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.801e-05/0.1897, allocations: 4 kB / 0.5984 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.044e-05/0.1897, allocations: 0 / 0.5984 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.033e-05/0.1898, allocations: 4 kB / 0.5984 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.406e-06/0.1898, allocations: 3.984 kB / 0.5984 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.29e-05/0.1899, allocations: 29.7 kB / 0.5985 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 6.111e-05/0.1899, allocations: 7.984 kB / 0.5985 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.19, allocations: 4 kB / 0.5985 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.094e-06/0.19, allocations: 0 / 0.5985 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.19, allocations: 0 / 0.5985 GB, free: 7.332 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002748/0.1902, allocations: 307.4 kB / 0.5988 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.1903, allocations: 8.031 kB / 0.5988 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.64e-05/0.1903, allocations: 0 / 0.5988 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.1904, allocations: 167 kB / 0.5989 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.1905, allocations: 4 kB / 0.599 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.1905, allocations: 4 kB / 0.599 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.1906, allocations: 29.64 kB / 0.599 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.1906, allocations: 0 / 0.599 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.1906, allocations: 8 kB / 0.599 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1906, allocations: 0 / 0.599 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.159e-05/0.1907, allocations: 3.984 kB / 0.599 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000146/0.1908, allocations: 149.6 kB / 0.5991 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.746e-05/0.1909, allocations: 30.55 kB / 0.5992 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.981e-05/0.1909, allocations: 12.92 kB / 0.5992 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001733/0.1911, allocations: 85.03 kB / 0.5993 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.1911, allocations: 34.56 kB / 0.5993 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.1911, allocations: 0 / 0.5993 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001449/0.1913, allocations: 41.69 kB / 0.5993 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.1913, allocations: 51.41 kB / 0.5994 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.554e-05/0.1914, allocations: 93.98 kB / 0.5995 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.1914, allocations: 25.7 kB / 0.5995 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.44e-05/0.1914, allocations: 84.08 kB / 0.5996 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.1914, allocations: 11.91 kB / 0.5996 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-06/0.1914, allocations: 0 / 0.5996 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.1916, allocations: 310.8 kB / 0.5999 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.578e-06/0.1916, allocations: 0 / 0.5999 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.548e-06/0.1916, allocations: 7.938 kB / 0.5999 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.017e-05/0.1916, allocations: 8.016 kB / 0.5999 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.1916, allocations: 0 / 0.5999 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.909e-05/0.1917, allocations: 41.69 kB / 0.5999 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.1917, allocations: 8 kB / 0.5999 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.1917, allocations: 0 / 0.5999 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.1917, allocations: 0 / 0.5999 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.554e-05/0.1918, allocations: 4 kB / 0.6 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.1918, allocations: 0 / 0.6 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.456e-05/0.1918, allocations: 3.984 kB / 0.6 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.1918, allocations: 3.984 kB / 0.6 GB, free: 5.59 MB / 0.4981 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 (fac,n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 6.863e-05/0.1919, allocations: 121.5 kB / 0.6001 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.951e-06/0.1919, allocations: 0 / 0.6001 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.824e-05/0.192, allocations: 49.03 kB / 0.6001 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.192, allocations: 0 / 0.6001 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.192, allocations: 4 kB / 0.6001 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-06/0.192, allocations: 0 / 0.6001 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.13e-05/0.1921, allocations: 149.6 kB / 0.6003 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.1921, allocations: 7.953 kB / 0.6003 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.905e-05/0.1922, allocations: 0 / 0.6003 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.1922, allocations: 8.016 kB / 0.6003 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.1922, allocations: 4 kB / 0.6003 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.1922, allocations: 3.938 kB / 0.6003 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1922, allocations: 0 / 0.6003 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.401e-05/0.1923, allocations: 61.08 kB / 0.6003 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.381e-05/0.1923, allocations: 85.05 kB / 0.6004 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.838e-06/0.1923, allocations: 0 / 0.6004 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.01e-05/0.1924, allocations: 32 / 0.6004 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.666e-05/0.1924, allocations: 8 kB / 0.6004 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.1924, allocations: 0 / 0.6004 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.308e-05/0.1924, allocations: 75.28 kB / 0.6005 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1924, allocations: 0 / 0.6005 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001915/0.1926, allocations: 8 kB / 0.6005 GB, free: 4.922 MB / 0.4981 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 (fac,n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0002026/0.1928, allocations: 111.2 kB / 0.6006 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.034e-05/0.1929, allocations: 4 kB / 0.6006 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.193, allocations: 4.062 kB / 0.6006 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.495e-05/0.193, allocations: 7.938 kB / 0.6006 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001664/0.1932, allocations: 7.938 kB / 0.6006 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002898/0.1935, allocations: 108.4 kB / 0.6008 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003624/0.1938, allocations: 0.6731 MB / 0.6014 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.043e-05/0.1939, allocations: 7.438 kB / 0.6014 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1939, allocations: 0 / 0.6014 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of Templates: time 0.002281/0.1962, allocations: 463.2 kB / 0.6019 GB, free: 3.484 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.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 OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FactorialCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FactorialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FactorialCalcHelperMain.o] Error 1