Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.Factorial") translateModel(IDEAS.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.0007776/0.0007776, allocations: 92.16 kB / 16.02 MB, free: 80 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.0009403/0.0009403, allocations: 172.4 kB / 16.92 MB, free: 6.652 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.318/1.318, allocations: 223.3 MB / 241 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7137/0.7137, allocations: 132.3 MB / 424.4 MB, free: 1.977 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003195/0.0003194, allocations: 12 kB / 0.5046 GB, free: 3.898 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4165/0.4168, allocations: 81.58 MB / 0.5843 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Factorial): time 0.0006987/0.4176, allocations: 319.4 kB / 0.5846 GB, free: 3.832 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000291/0.4179, allocations: 52.3 kB / 0.5847 GB, free: 3.797 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.908e-06/0.4179, allocations: 0 / 0.5847 GB, free: 3.797 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.132e-05/0.4179, allocations: 0 / 0.5847 GB, free: 3.797 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.519e-06/0.4179, allocations: 0.7188 kB / 0.5847 GB, free: 3.797 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001985/0.4182, allocations: 4.719 kB / 0.5847 GB, free: 3.797 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.959e-05/0.4182, allocations: 7.266 kB / 0.5847 GB, free: 3.793 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.917e-05/0.4182, allocations: 4.703 kB / 0.5847 GB, free: 3.789 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.406e-05/0.4183, allocations: 1.766 kB / 0.5847 GB, free: 3.789 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.273e-05/0.4183, allocations: 1.312 kB / 0.5847 GB, free: 3.789 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.487e-06/0.4183, allocations: 0.6562 kB / 0.5847 GB, free: 3.789 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.449e-05/0.4184, allocations: 9.953 kB / 0.5847 GB, free: 3.785 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.208e-05/0.4184, allocations: 5.156 kB / 0.5847 GB, free: 3.781 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.895e-05/0.4184, allocations: 30.34 kB / 0.5847 GB, free: 3.746 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 6.117e-05/0.4185, allocations: 4.156 kB / 0.5847 GB, free: 3.746 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.4185, allocations: 0.5938 kB / 0.5847 GB, free: 3.746 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.4185, allocations: 0 / 0.5847 GB, free: 3.746 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.4185, allocations: 0.6562 kB / 0.5847 GB, free: 3.746 MB / 430.1 MB 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.0002062/0.4187, allocations: 312.9 kB / 0.585 GB, free: 3.395 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.4188, allocations: 9.797 kB / 0.585 GB, free: 3.395 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.347e-05/0.4188, allocations: 5.625 kB / 0.585 GB, free: 3.391 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.846e-05/0.4189, allocations: 169.6 kB / 0.5852 GB, free: 3.188 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.4189, allocations: 1.156 kB / 0.5852 GB, free: 3.188 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.915e-06/0.4189, allocations: 5.406 kB / 0.5852 GB, free: 3.184 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.051e-05/0.419, allocations: 32.23 kB / 0.5852 GB, free: 3.152 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.419, allocations: 192 / 0.5852 GB, free: 3.152 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.799e-06/0.4191, allocations: 3.938 kB / 0.5852 GB, free: 3.148 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.4191, allocations: 1.641 kB / 0.5852 GB, free: 3.148 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.361e-05/0.4191, allocations: 3.031 kB / 0.5852 GB, free: 3.148 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001059/0.4192, allocations: 161.8 kB / 0.5854 GB, free: 2.945 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.464e-05/0.4193, allocations: 25.09 kB / 0.5854 GB, free: 2.918 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.724e-05/0.4193, allocations: 11.61 kB / 0.5854 GB, free: 2.906 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001444/0.4194, allocations: 81.75 kB / 0.5855 GB, free: 2.812 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.696e-05/0.4195, allocations: 32.19 kB / 0.5855 GB, free: 2.773 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.322e-06/0.4195, allocations: 1.062 kB / 0.5855 GB, free: 2.773 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001388/0.4196, allocations: 43.7 kB / 0.5856 GB, free: 2.734 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.584e-05/0.4197, allocations: 57.11 kB / 0.5856 GB, free: 2.668 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.097e-05/0.4197, allocations: 97.7 kB / 0.5857 GB, free: 2.562 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.073e-06/0.4197, allocations: 30.97 kB / 0.5858 GB, free: 2.527 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.468e-06/0.4197, allocations: 80.14 kB / 0.5858 GB, free: 2.445 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.95e-05/0.4197, allocations: 1.5 kB / 0.5858 GB, free: 2.445 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.962e-05/0.4198, allocations: 11.3 kB / 0.5858 GB, free: 2.43 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.137e-05/0.4198, allocations: 311.5 kB / 0.5861 GB, free: 2.117 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.131e-05/0.4198, allocations: 6.562 kB / 0.5862 GB, free: 2.113 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.536e-06/0.4198, allocations: 7.531 kB / 0.5862 GB, free: 2.109 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.779e-05/0.4199, allocations: 9.656 kB / 0.5862 GB, free: 2.102 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.4199, allocations: 0.7188 kB / 0.5862 GB, free: 2.102 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.764e-05/0.4199, allocations: 39.77 kB / 0.5862 GB, free: 2.066 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.42, allocations: 5.734 kB / 0.5862 GB, free: 2.066 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.42, allocations: 0 / 0.5862 GB, free: 2.066 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.42, allocations: 4.844 kB / 0.5862 GB, free: 2.062 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.96e-05/0.4201, allocations: 11.84 kB / 0.5862 GB, free: 2.055 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.4201, allocations: 4.797 kB / 0.5862 GB, free: 2.051 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.399e-05/0.4201, allocations: 0.8125 kB / 0.5862 GB, free: 2.051 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.4201, allocations: 0.6875 kB / 0.5862 GB, free: 2.051 MB / 430.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 (n,fac) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.396e-05/0.4202, allocations: 108.2 kB / 0.5863 GB, free: 1.938 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.706e-06/0.4202, allocations: 1.562 kB / 0.5863 GB, free: 1.938 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.748e-05/0.4203, allocations: 48.98 kB / 0.5864 GB, free: 1.895 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.4203, allocations: 0 / 0.5864 GB, free: 1.895 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.4203, allocations: 1.734 kB / 0.5864 GB, free: 1.895 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.4203, allocations: 4.031 kB / 0.5864 GB, free: 1.891 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.542e-05/0.4203, allocations: 150.4 kB / 0.5865 GB, free: 1.699 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.4204, allocations: 0 / 0.5865 GB, free: 1.699 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.188e-05/0.4204, allocations: 3.359 kB / 0.5865 GB, free: 1.699 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.818e-06/0.4204, allocations: 1.609 kB / 0.5865 GB, free: 1.699 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.4204, allocations: 8.812 kB / 0.5865 GB, free: 1.691 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.4204, allocations: 0 / 0.5865 GB, free: 1.691 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.4204, allocations: 1.812 kB / 0.5865 GB, free: 1.691 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.237e-05/0.4205, allocations: 63.73 kB / 0.5866 GB, free: 1.621 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.417e-05/0.4205, allocations: 82.52 kB / 0.5867 GB, free: 1.523 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.4205, allocations: 5.875 kB / 0.5867 GB, free: 1.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.127e-05/0.4205, allocations: 7.938 kB / 0.5867 GB, free: 1.512 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.555e-05/0.4206, allocations: 3.469 kB / 0.5867 GB, free: 1.512 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.524e-06/0.4206, allocations: 3.938 kB / 0.5867 GB, free: 1.508 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.205e-05/0.4206, allocations: 76.95 kB / 0.5868 GB, free: 1.434 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4206, allocations: 0 / 0.5868 GB, free: 1.434 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001959/0.4208, allocations: 3.5 kB / 0.5868 GB, free: 1.434 MB / 430.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 (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 (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.000141/0.4209, allocations: 104.3 kB / 0.5869 GB, free: 1.344 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 7.181e-05/0.421, allocations: 16.34 kB / 0.5869 GB, free: 1.336 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.421, allocations: 0 / 0.5869 GB, free: 1.336 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.098e-05/0.421, allocations: 5.359 kB / 0.5869 GB, free: 1.336 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001272/0.4212, allocations: 1.312 kB / 0.5869 GB, free: 1.336 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001673/0.4213, allocations: 112.6 kB / 0.587 GB, free: 1.207 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001103/0.4215, allocations: 0.6771 MB / 0.5877 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.594e-05/0.4215, allocations: 9.266 kB / 0.5877 GB, free: 0.5 MB / 430.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4215, allocations: 0.8125 kB / 0.5877 GB, free: 0.5 MB / 430.1 MB Notification: Performance of Templates: time 0.001888/0.4234, allocations: 439.2 kB / 0.5881 GB, free: 496 kB / 430.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Factorial.makefile make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Factorial.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 OMCppIDEAS_IDEAS.Utilities.Math.Functions.Examples.FactorialCalcHelperMain.o OMCppIDEAS_IDEAS.Utilities.Math.Functions.Examples.FactorialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Utilities.Math.Functions.Examples.FactorialCalcHelperMain.o] Error 1