Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/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.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Factorial") translateModel(IDEAS.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.0008646/0.0008644, allocations: 100.8 kB / 15.71 MB, free: 460 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.0009692/0.0009694, allocations: 173.7 kB / 16.58 MB, free: 6.145 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.382/1.382, allocations: 223.3 MB / 240.6 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7643/0.7643, allocations: 132.3 MB / 424 MB, free: 2.082 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003455/0.0003456, allocations: 10.16 kB / 0.504 GB, free: 4.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4864/0.4868, allocations: 81.59 MB / 0.5837 GB, free: 3.965 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Factorial): time 0.001766/0.4886, allocations: 1.216 MB / 0.5849 GB, free: 3.082 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003372/0.4889, allocations: 124.7 kB / 0.585 GB, free: 2.992 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.161e-05/0.489, allocations: 1.812 kB / 0.585 GB, free: 2.992 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.533e-05/0.489, allocations: 0.6562 kB / 0.585 GB, free: 2.992 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.839e-05/0.4891, allocations: 3.047 kB / 0.585 GB, free: 2.992 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002093/0.4893, allocations: 17.14 kB / 0.585 GB, free: 2.984 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.418e-05/0.4894, allocations: 29.55 kB / 0.585 GB, free: 2.969 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.431e-05/0.4895, allocations: 9.609 kB / 0.585 GB, free: 2.965 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.631e-05/0.4895, allocations: 6.141 kB / 0.5851 GB, free: 2.965 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.784e-05/0.4896, allocations: 23.78 kB / 0.5851 GB, free: 2.949 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.4896, allocations: 1.594 kB / 0.5851 GB, free: 2.949 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.774e-05/0.4897, allocations: 6.5 kB / 0.5851 GB, free: 2.949 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.206e-05/0.4897, allocations: 6.719 kB / 0.5851 GB, free: 2.945 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.629e-05/0.4897, allocations: 27.83 kB / 0.5851 GB, free: 2.914 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 9.131e-05/0.4898, allocations: 22.84 kB / 0.5851 GB, free: 2.906 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.4898, allocations: 0.7188 kB / 0.5851 GB, free: 2.906 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.4898, allocations: 0 / 0.5851 GB, free: 2.906 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.4899, allocations: 1.531 kB / 0.5851 GB, free: 2.906 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003918/0.4902, allocations: 346.9 kB / 0.5855 GB, free: 2.547 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.4903, allocations: 9.031 kB / 0.5855 GB, free: 2.547 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.207e-05/0.4903, allocations: 2.781 kB / 0.5855 GB, free: 2.547 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.997e-05/0.4904, allocations: 169.7 kB / 0.5856 GB, free: 2.344 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.364e-05/0.4905, allocations: 5.656 kB / 0.5856 GB, free: 2.34 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.4905, allocations: 2.25 kB / 0.5856 GB, free: 2.34 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/0.4907, allocations: 63.38 kB / 0.5857 GB, free: 2.301 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.4907, allocations: 0 / 0.5857 GB, free: 2.301 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.4907, allocations: 0 / 0.5857 GB, free: 2.301 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.341e-06/0.4907, allocations: 5.281 kB / 0.5857 GB, free: 2.297 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001885/0.4909, allocations: 50.84 kB / 0.5858 GB, free: 2.289 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000334/0.4913, allocations: 276.5 kB / 0.586 GB, free: 1.996 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003/0.4916, allocations: 61.33 kB / 0.5861 GB, free: 1.965 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.4917, allocations: 34.92 kB / 0.5861 GB, free: 1.949 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001133/0.4918, allocations: 82.02 kB / 0.5862 GB, free: 1.855 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.4918, allocations: 32.45 kB / 0.5862 GB, free: 1.816 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.4918, allocations: 0 / 0.5862 GB, free: 1.816 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003962/0.4922, allocations: 114.9 kB / 0.5863 GB, free: 1.766 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.928e-05/0.4923, allocations: 52.78 kB / 0.5864 GB, free: 1.703 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.252e-05/0.4924, allocations: 104.6 kB / 0.5865 GB, free: 1.598 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.4924, allocations: 31.02 kB / 0.5865 GB, free: 1.562 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.355e-05/0.4924, allocations: 82.83 kB / 0.5866 GB, free: 1.48 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.336e-05/0.4924, allocations: 7.906 kB / 0.5866 GB, free: 1.473 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-06/0.4924, allocations: 5.031 kB / 0.5866 GB, free: 1.469 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.066e-05/0.4925, allocations: 317.4 kB / 0.5869 GB, free: 1.152 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.582e-05/0.4926, allocations: 24.19 kB / 0.5869 GB, free: 1.148 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.266e-05/0.4927, allocations: 22.17 kB / 0.587 GB, free: 1.148 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.186e-05/0.4928, allocations: 28.62 kB / 0.587 GB, free: 1.141 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.4928, allocations: 0.75 kB / 0.587 GB, free: 1.141 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002343/0.4931, allocations: 99.34 kB / 0.5871 GB, free: 1.086 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.4931, allocations: 5.062 kB / 0.5871 GB, free: 1.086 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.4931, allocations: 0.6094 kB / 0.5871 GB, free: 1.086 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.4931, allocations: 4 kB / 0.5871 GB, free: 1.082 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.512e-05/0.4932, allocations: 13.81 kB / 0.5871 GB, free: 1.082 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.4932, allocations: 1.125 kB / 0.5871 GB, free: 1.082 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.082e-05/0.4933, allocations: 12.55 kB / 0.5871 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.4933, allocations: 1.188 kB / 0.5871 GB, free: 1.078 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 (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 7.399e-05/0.4934, allocations: 117.4 kB / 0.5872 GB, free: 0.957 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.256e-05/0.4934, allocations: 1.531 kB / 0.5872 GB, free: 0.957 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002775/0.4937, allocations: 92.75 kB / 0.5873 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.4937, allocations: 0 / 0.5873 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.4937, allocations: 5.062 kB / 0.5873 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.4937, allocations: 0.6562 kB / 0.5873 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000142/0.4939, allocations: 167.5 kB / 0.5875 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4939, allocations: 0 / 0.5875 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.566e-05/0.494, allocations: 13.22 kB / 0.5875 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.494, allocations: 1.188 kB / 0.5875 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.494, allocations: 0.6562 kB / 0.5875 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.494, allocations: 1.156 kB / 0.5875 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.494, allocations: 0.7031 kB / 0.5875 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002542/0.4943, allocations: 182.3 kB / 0.5877 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.775e-05/0.4943, allocations: 90.97 kB / 0.5878 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.4943, allocations: 4.5 kB / 0.5878 GB, free: 456 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.471e-05/0.4944, allocations: 13.23 kB / 0.5878 GB, free: 452 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.247e-05/0.4945, allocations: 13.19 kB / 0.5878 GB, free: 444 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.4945, allocations: 2.562 kB / 0.5878 GB, free: 444 kB / 430.1 MB Notification: Performance of sorting global known variables: time 2.837e-05/0.4945, allocations: 79.56 kB / 0.5879 GB, free: 368 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4945, allocations: 0 / 0.5879 GB, free: 368 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002203/0.4948, allocations: 6.938 kB / 0.5879 GB, free: 368 kB / 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.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.0001616/0.4949, allocations: 102.7 kB / 0.588 GB, free: 276 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002504/0.4952, allocations: 54.92 kB / 0.588 GB, free: 268 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4952, allocations: 0.7812 kB / 0.588 GB, free: 268 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.4953, allocations: 36.55 kB / 0.5881 GB, free: 256 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.4956, allocations: 7.188 kB / 0.5881 GB, free: 252 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002989/0.4959, allocations: 144.9 kB / 0.5882 GB, free: 96 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/0.4962, allocations: 0.6776 MB / 0.5889 GB, free: 15.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.658e-05/0.4963, allocations: 10.77 kB / 0.5889 GB, free: 15.39 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4963, allocations: 0 / 0.5889 GB, free: 15.39 MB / 446.1 MB Notification: Performance of Templates: time 0.002773/0.4991, allocations: 0.7257 MB / 0.5896 GB, free: 15.35 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.Factorial.makefile make -j1 -f IDEAS_IDEAS.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 OMCppIDEAS_IDEAS.Utilities.Math.Examples.FactorialCalcHelperMain.o OMCppIDEAS_IDEAS.Utilities.Math.Examples.FactorialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Utilities.Math.Examples.FactorialCalcHelperMain.o] Error 1