Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.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.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008625/0.0008625, allocations: 99.67 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.001181/0.001182, allocations: 174.3 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.48/1.48, allocations: 223.2 MB / 240.6 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.189/1.189, allocations: 143.4 MB / 435.1 MB, free: 13.6 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003853/0.0003853, allocations: 8 kB / 0.5166 GB, free: 11.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2123, allocations: 83.41 MB / 0.5981 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial): time 0.002289/0.2147, allocations: 1.219 MB / 0.5992 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004455/0.2151, allocations: 124.6 kB / 0.5994 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.424e-05/0.2152, allocations: 0 / 0.5994 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.024e-05/0.2152, allocations: 3.938 kB / 0.5994 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.122e-05/0.2153, allocations: 0 / 0.5994 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000232/0.2155, allocations: 19.98 kB / 0.5994 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.28e-05/0.2156, allocations: 27.91 kB / 0.5994 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.2158, allocations: 7.938 kB / 0.5994 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.968e-05/0.2158, allocations: 15.92 kB / 0.5994 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.072e-05/0.2159, allocations: 15.92 kB / 0.5995 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.2159, allocations: 0 / 0.5995 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.799e-05/0.216, allocations: 8 kB / 0.5995 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.022e-05/0.216, allocations: 0 / 0.5995 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.812e-05/0.2161, allocations: 29.7 kB / 0.5995 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000113/0.2162, allocations: 35.88 kB / 0.5995 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.2162, allocations: 0 / 0.5995 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2162, allocations: 0 / 0.5995 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.2162, allocations: 0 / 0.5995 GB, free: 6.258 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000582/0.2168, allocations: 347.5 kB / 0.5999 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.2169, allocations: 8.031 kB / 0.5999 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.058e-05/0.2169, allocations: 0 / 0.5999 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.2171, allocations: 167 kB / 0.6 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.318e-05/0.2171, allocations: 7.938 kB / 0.6 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.966e-05/0.2172, allocations: 8 kB / 0.6 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002496/0.2174, allocations: 57.66 kB / 0.6001 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.2174, allocations: 0 / 0.6001 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.2175, allocations: 4 kB / 0.6001 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.2175, allocations: 3.984 kB / 0.6001 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002641/0.2177, allocations: 55.95 kB / 0.6002 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005172/0.2183, allocations: 260.9 kB / 0.6004 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004048/0.2187, allocations: 66.48 kB / 0.6005 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001373/0.2188, allocations: 32.89 kB / 0.6005 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000169/0.219, allocations: 81.11 kB / 0.6006 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.2191, allocations: 34.56 kB / 0.6006 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.423e-06/0.2191, allocations: 0 / 0.6006 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005805/0.2197, allocations: 117.5 kB / 0.6007 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.772e-05/0.2197, allocations: 55.41 kB / 0.6008 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.2199, allocations: 105.8 kB / 0.6009 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.2199, allocations: 25.7 kB / 0.6009 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.813e-05/0.22, allocations: 84.14 kB / 0.601 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.488e-05/0.22, allocations: 7.844 kB / 0.601 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.57e-06/0.22, allocations: 0 / 0.601 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.2202, allocations: 314.8 kB / 0.6013 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.2203, allocations: 27.97 kB / 0.6013 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.2205, allocations: 27.92 kB / 0.6013 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.2206, allocations: 27.97 kB / 0.6014 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2206, allocations: 0 / 0.6014 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003302/0.221, allocations: 85.66 kB / 0.6014 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.221, allocations: 4 kB / 0.6015 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.221, allocations: 7.875 kB / 0.6015 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.221, allocations: 4 kB / 0.6015 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.2211, allocations: 15.98 kB / 0.6015 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.2212, allocations: 4 kB / 0.6015 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.57e-05/0.2213, allocations: 15.94 kB / 0.6015 GB, free: 4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.2213, allocations: 0 / 0.6015 GB, free: 4 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.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001172/0.2214, allocations: 113.8 kB / 0.6016 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.231e-05/0.2215, allocations: 3.906 kB / 0.6016 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003571/0.2218, allocations: 93.14 kB / 0.6017 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.2219, allocations: 0 / 0.6017 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.2219, allocations: 0 / 0.6017 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.2219, allocations: 0.5625 kB / 0.6017 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002664/0.2221, allocations: 169.6 kB / 0.6019 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.2222, allocations: 0 / 0.6019 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.747e-05/0.2223, allocations: 15.92 kB / 0.6019 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.2223, allocations: 4 kB / 0.6019 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.2223, allocations: 8 kB / 0.6019 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2223, allocations: 0 / 0.6019 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2223, allocations: 0 / 0.6019 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003865/0.2227, allocations: 187.4 kB / 0.6021 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.51e-05/0.2228, allocations: 77.11 kB / 0.6021 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.2228, allocations: 4 kB / 0.6021 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.223, allocations: 7.984 kB / 0.6022 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.309e-05/0.223, allocations: 8 kB / 0.6022 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.223, allocations: 0 / 0.6022 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.33e-05/0.2231, allocations: 83.27 kB / 0.6022 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2231, allocations: 4 kB / 0.6022 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004356/0.2236, allocations: 11.91 kB / 0.6023 GB, free: 3.121 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.y,rea2Int.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.0002295/0.2238, allocations: 107.1 kB / 0.6024 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003275/0.2241, allocations: 51.95 kB / 0.6024 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2242, allocations: 4 kB / 0.6024 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001405/0.2243, allocations: 31.97 kB / 0.6024 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004374/0.2248, allocations: 10.77 kB / 0.6024 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004059/0.2252, allocations: 138.4 kB / 0.6026 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003761/0.2256, allocations: 0.6887 MB / 0.6033 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.683e-05/0.2256, allocations: 7.438 kB / 0.6033 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of SimCode: time 3.3e-07/0.2256, allocations: 0 / 0.6033 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of Templates: time 0.002792/0.2284, allocations: 0.7234 MB / 0.604 GB, free: 1.301 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.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.Examples.FactorialCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FactorialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FactorialCalcHelperMain.o] Error 1