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.0007684/0.0007686, allocations: 91.77 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.0009402/0.0009403, allocations: 178.6 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.271/1.271, allocations: 223.3 MB / 241 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7132/0.7132, allocations: 132.3 MB / 424.4 MB, free: 1.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003295/0.0003295, allocations: 8 kB / 0.5046 GB, free: 3.867 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4134/0.4138, allocations: 81.57 MB / 0.5843 GB, free: 4.023 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Factorial): time 0.001589/0.4154, allocations: 1.235 MB / 0.5855 GB, free: 3.125 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00036/0.4158, allocations: 119.8 kB / 0.5856 GB, free: 3.043 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.541e-05/0.4158, allocations: 1 kB / 0.5856 GB, free: 3.043 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.874e-05/0.4159, allocations: 2.359 kB / 0.5856 GB, free: 3.043 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.17e-05/0.4159, allocations: 4.75 kB / 0.5856 GB, free: 3.039 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002016/0.4161, allocations: 20.81 kB / 0.5856 GB, free: 3.027 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.304e-05/0.4162, allocations: 31.7 kB / 0.5857 GB, free: 3.012 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.4163, allocations: 12.41 kB / 0.5857 GB, free: 3.008 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.224e-05/0.4164, allocations: 9.859 kB / 0.5857 GB, free: 3.004 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.907e-05/0.4164, allocations: 11.66 kB / 0.5857 GB, free: 3 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.4164, allocations: 0.9375 kB / 0.5857 GB, free: 3 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.861e-05/0.4165, allocations: 15.06 kB / 0.5857 GB, free: 2.992 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.229e-05/0.4165, allocations: 2.609 kB / 0.5857 GB, free: 2.992 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.087e-05/0.4165, allocations: 43.2 kB / 0.5858 GB, free: 2.949 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.939e-05/0.4166, allocations: 19.17 kB / 0.5858 GB, free: 2.945 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.4166, allocations: 0 / 0.5858 GB, free: 2.945 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4167, allocations: 4.656 kB / 0.5858 GB, free: 2.941 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.4167, allocations: 0 / 0.5858 GB, free: 2.941 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.0003643/0.417, allocations: 344.1 kB / 0.5861 GB, free: 2.582 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.4171, allocations: 10.42 kB / 0.5861 GB, free: 2.582 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.955e-05/0.4171, allocations: 6.125 kB / 0.5861 GB, free: 2.578 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.126e-05/0.4172, allocations: 171.7 kB / 0.5863 GB, free: 2.375 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/0.4172, allocations: 5.375 kB / 0.5863 GB, free: 2.371 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.4172, allocations: 6.656 kB / 0.5863 GB, free: 2.367 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.4174, allocations: 63.39 kB / 0.5864 GB, free: 2.328 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.4174, allocations: 0.8438 kB / 0.5864 GB, free: 2.328 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.4175, allocations: 3.938 kB / 0.5864 GB, free: 2.324 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.4175, allocations: 0.6875 kB / 0.5864 GB, free: 2.324 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001968/0.4177, allocations: 52.25 kB / 0.5864 GB, free: 2.316 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003021/0.418, allocations: 260.4 kB / 0.5867 GB, free: 2.039 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003047/0.4183, allocations: 69.78 kB / 0.5867 GB, free: 2 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.996e-05/0.4184, allocations: 32.5 kB / 0.5868 GB, free: 1.988 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.107e-05/0.4185, allocations: 80.42 kB / 0.5868 GB, free: 1.895 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.394e-05/0.4185, allocations: 36.59 kB / 0.5869 GB, free: 1.852 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.4185, allocations: 4 kB / 0.5869 GB, free: 1.848 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.000394/0.4189, allocations: 111 kB / 0.587 GB, free: 1.801 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.922e-05/0.419, allocations: 52.28 kB / 0.587 GB, free: 1.738 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.214e-05/0.419, allocations: 106.2 kB / 0.5871 GB, free: 1.633 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.915e-06/0.419, allocations: 25.7 kB / 0.5872 GB, free: 1.602 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.867e-05/0.4191, allocations: 89.77 kB / 0.5872 GB, free: 1.512 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.4e-05/0.4191, allocations: 5.25 kB / 0.5872 GB, free: 1.508 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.109e-05/0.4191, allocations: 13.09 kB / 0.5873 GB, free: 1.492 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.287e-05/0.4192, allocations: 312.2 kB / 0.5876 GB, free: 1.18 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.867e-05/0.4193, allocations: 29.05 kB / 0.5876 GB, free: 1.172 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.858e-05/0.4194, allocations: 26.41 kB / 0.5876 GB, free: 1.168 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001752/0.4195, allocations: 51.86 kB / 0.5877 GB, free: 1.156 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.4196, allocations: 7.938 kB / 0.5877 GB, free: 1.148 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002205/0.4198, allocations: 93.48 kB / 0.5878 GB, free: 1.098 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.4198, allocations: 6.078 kB / 0.5878 GB, free: 1.098 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.4198, allocations: 0 / 0.5878 GB, free: 1.098 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.4198, allocations: 1.188 kB / 0.5878 GB, free: 1.098 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.272e-05/0.4199, allocations: 17.7 kB / 0.5878 GB, free: 1.094 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.4199, allocations: 3.938 kB / 0.5878 GB, free: 1.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.788e-05/0.42, allocations: 9.391 kB / 0.5878 GB, free: 1.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.42, allocations: 0.7812 kB / 0.5878 GB, free: 1.09 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 (rea2Int.y,fac.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 5.746e-05/0.4201, allocations: 116.8 kB / 0.5879 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.426e-05/0.4201, allocations: 3 kB / 0.5879 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000266/0.4204, allocations: 96.11 kB / 0.588 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.4204, allocations: 3.938 kB / 0.588 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.4204, allocations: 0.875 kB / 0.588 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.4204, allocations: 0.7969 kB / 0.588 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001171/0.4205, allocations: 171.4 kB / 0.5882 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.4205, allocations: 0 / 0.5882 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.444e-05/0.4206, allocations: 17.2 kB / 0.5882 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.4206, allocations: 1.766 kB / 0.5882 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.842e-06/0.4206, allocations: 1.062 kB / 0.5882 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.4206, allocations: 0.7969 kB / 0.5882 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4206, allocations: 1.344 kB / 0.5882 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002348/0.4209, allocations: 185.5 kB / 0.5884 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.631e-05/0.4209, allocations: 82.84 kB / 0.5884 GB, free: 464 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.4209, allocations: 1.766 kB / 0.5884 GB, free: 464 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.498e-05/0.421, allocations: 11.98 kB / 0.5885 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.548e-05/0.4211, allocations: 5.984 kB / 0.5885 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.4211, allocations: 6.156 kB / 0.5885 GB, free: 456 kB / 430.1 MB Notification: Performance of sorting global known variables: time 2.127e-05/0.4211, allocations: 87.84 kB / 0.5886 GB, free: 372 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4211, allocations: 0 / 0.5886 GB, free: 372 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.000215/0.4213, allocations: 10.84 kB / 0.5886 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 (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.0001255/0.4215, allocations: 99.95 kB / 0.5887 GB, free: 280 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002345/0.4217, allocations: 55.28 kB / 0.5887 GB, free: 272 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.4217, allocations: 0 / 0.5887 GB, free: 272 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.4218, allocations: 28.67 kB / 0.5887 GB, free: 268 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002496/0.4221, allocations: 12.55 kB / 0.5887 GB, free: 260 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002592/0.4224, allocations: 152.4 kB / 0.5889 GB, free: 96 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002299/0.4226, allocations: 0.678 MB / 0.5896 GB, free: 15.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.583e-05/0.4226, allocations: 10.84 kB / 0.5896 GB, free: 15.39 MB / 446.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4226, allocations: 0 / 0.5896 GB, free: 15.39 MB / 446.1 MB Notification: Performance of Templates: time 0.002057/0.4247, allocations: 0.7294 MB / 0.5903 GB, free: 15.34 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++ -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.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