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.0008519/0.0008519, allocations: 99.83 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.0008903/0.0008904, allocations: 177.6 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.411/1.411, allocations: 223.2 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7575/0.7575, allocations: 132.3 MB / 424 MB, free: 2.094 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003616/0.0003618, allocations: 17.53 kB / 0.504 GB, free: 4.266 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4942/0.4946, allocations: 81.57 MB / 0.5837 GB, free: 4 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Factorial): time 0.000675/0.4953, allocations: 314.6 kB / 0.584 GB, free: 3.789 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002196/0.4956, allocations: 43.08 kB / 0.584 GB, free: 3.762 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.198e-05/0.4956, allocations: 0 / 0.584 GB, free: 3.762 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.557e-06/0.4956, allocations: 5.031 kB / 0.584 GB, free: 3.758 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.33e-06/0.4956, allocations: 0 / 0.584 GB, free: 3.758 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000175/0.4958, allocations: 17.03 kB / 0.584 GB, free: 3.746 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.031e-05/0.4958, allocations: 1.859 kB / 0.584 GB, free: 3.746 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.351e-05/0.4959, allocations: 5.375 kB / 0.584 GB, free: 3.742 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.304e-05/0.4959, allocations: 0.875 kB / 0.5841 GB, free: 3.742 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.473e-05/0.4959, allocations: 1.688 kB / 0.5841 GB, free: 3.742 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.966e-06/0.4959, allocations: 0.8125 kB / 0.5841 GB, free: 3.742 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.53e-05/0.496, allocations: 9.125 kB / 0.5841 GB, free: 3.738 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.721e-06/0.496, allocations: 0.8125 kB / 0.5841 GB, free: 3.738 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.119e-05/0.4961, allocations: 31.08 kB / 0.5841 GB, free: 3.703 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 5.681e-05/0.4961, allocations: 8.359 kB / 0.5841 GB, free: 3.699 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.4961, allocations: 0.75 kB / 0.5841 GB, free: 3.699 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.4961, allocations: 0 / 0.5841 GB, free: 3.699 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.4961, allocations: 0.6875 kB / 0.5841 GB, free: 3.699 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.0001707/0.4963, allocations: 307.8 kB / 0.5844 GB, free: 3.355 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.4964, allocations: 9.219 kB / 0.5844 GB, free: 3.355 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.705e-05/0.4964, allocations: 1.312 kB / 0.5844 GB, free: 3.355 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.356e-05/0.4965, allocations: 172.1 kB / 0.5846 GB, free: 3.148 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.4965, allocations: 1.297 kB / 0.5846 GB, free: 3.148 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.246e-06/0.4965, allocations: 5.312 kB / 0.5846 GB, free: 3.145 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.778e-05/0.4966, allocations: 29.97 kB / 0.5846 GB, free: 3.113 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.671e-06/0.4966, allocations: 0.8125 kB / 0.5846 GB, free: 3.113 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.724e-06/0.4966, allocations: 0 / 0.5846 GB, free: 3.113 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.4966, allocations: 1.953 kB / 0.5846 GB, free: 3.113 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.19e-05/0.4967, allocations: 3.578 kB / 0.5846 GB, free: 3.113 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.77e-05/0.4968, allocations: 153.3 kB / 0.5848 GB, free: 2.918 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.394e-05/0.4968, allocations: 28.53 kB / 0.5848 GB, free: 2.887 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.699e-05/0.4968, allocations: 11.66 kB / 0.5848 GB, free: 2.875 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001271/0.497, allocations: 82.36 kB / 0.5849 GB, free: 2.781 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.567e-05/0.497, allocations: 35.83 kB / 0.5849 GB, free: 2.738 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.113e-06/0.497, allocations: 3.938 kB / 0.5849 GB, free: 2.734 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001246/0.4971, allocations: 40.25 kB / 0.5849 GB, free: 2.699 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.486e-05/0.4972, allocations: 53 kB / 0.585 GB, free: 2.637 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.211e-05/0.4972, allocations: 98.92 kB / 0.5851 GB, free: 2.531 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.604e-06/0.4972, allocations: 30.2 kB / 0.5851 GB, free: 2.496 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.023e-05/0.4972, allocations: 84.08 kB / 0.5852 GB, free: 2.41 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.498e-05/0.4972, allocations: 0.7812 kB / 0.5852 GB, free: 2.41 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.335e-06/0.4972, allocations: 0.8125 kB / 0.5852 GB, free: 2.41 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.317e-05/0.4973, allocations: 316.3 kB / 0.5855 GB, free: 2.094 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.313e-05/0.4973, allocations: 6.406 kB / 0.5855 GB, free: 2.09 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.215e-06/0.4973, allocations: 2.578 kB / 0.5855 GB, free: 2.09 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.905e-05/0.4973, allocations: 7.188 kB / 0.5855 GB, free: 2.086 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.4973, allocations: 0 / 0.5855 GB, free: 2.086 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.136e-05/0.4974, allocations: 39.95 kB / 0.5856 GB, free: 2.051 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.4974, allocations: 7.891 kB / 0.5856 GB, free: 2.051 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.4974, allocations: 0 / 0.5856 GB, free: 2.051 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.498e-06/0.4974, allocations: 0.8438 kB / 0.5856 GB, free: 2.051 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.068e-05/0.4975, allocations: 4.203 kB / 0.5856 GB, free: 2.051 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.4975, allocations: 0 / 0.5856 GB, free: 2.051 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.246e-05/0.4975, allocations: 0.9375 kB / 0.5856 GB, free: 2.051 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-06/0.4975, allocations: 1.875 kB / 0.5856 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 (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 5.028e-05/0.4976, allocations: 119 kB / 0.5857 GB, free: 1.926 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.771e-06/0.4976, allocations: 0.8125 kB / 0.5857 GB, free: 1.926 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.929e-05/0.4977, allocations: 45.42 kB / 0.5857 GB, free: 1.887 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.4977, allocations: 1.25 kB / 0.5857 GB, free: 1.887 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.4977, allocations: 0.7031 kB / 0.5857 GB, free: 1.887 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.4977, allocations: 4 kB / 0.5857 GB, free: 1.883 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.217e-05/0.4978, allocations: 149.5 kB / 0.5859 GB, free: 1.691 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.4978, allocations: 1.844 kB / 0.5859 GB, free: 1.691 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.002e-05/0.4978, allocations: 3.328 kB / 0.5859 GB, free: 1.691 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.4978, allocations: 5.031 kB / 0.5859 GB, free: 1.688 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.969e-06/0.4978, allocations: 0 / 0.5859 GB, free: 1.688 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.4978, allocations: 1.609 kB / 0.5859 GB, free: 1.688 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.4978, allocations: 0 / 0.5859 GB, free: 1.688 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.874e-05/0.4979, allocations: 72.98 kB / 0.586 GB, free: 1.609 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.607e-05/0.4979, allocations: 82.88 kB / 0.586 GB, free: 1.512 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.999e-06/0.4979, allocations: 0.5312 kB / 0.586 GB, free: 1.512 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.086e-05/0.498, allocations: 4.641 kB / 0.586 GB, free: 1.508 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.102e-05/0.498, allocations: 2.609 kB / 0.586 GB, free: 1.508 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.498, allocations: 2.016 kB / 0.586 GB, free: 1.508 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.071e-05/0.498, allocations: 75.28 kB / 0.5861 GB, free: 1.434 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.498, allocations: 3.938 kB / 0.5861 GB, free: 1.43 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002001/0.4982, allocations: 11.75 kB / 0.5861 GB, free: 1.422 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 (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.0001362/0.4984, allocations: 101.5 kB / 0.5862 GB, free: 1.336 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 6.943e-05/0.4984, allocations: 19.38 kB / 0.5863 GB, free: 1.324 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.4984, allocations: 0 / 0.5863 GB, free: 1.324 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.179e-05/0.4985, allocations: 4.297 kB / 0.5863 GB, free: 1.324 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001242/0.4986, allocations: 3.938 kB / 0.5863 GB, free: 1.324 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001436/0.4987, allocations: 109.2 kB / 0.5864 GB, free: 1.199 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.252e-05/0.4988, allocations: 0.6726 MB / 0.587 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.412e-05/0.4988, allocations: 12.88 kB / 0.587 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4989, allocations: 0 / 0.587 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of Templates: time 0.001662/0.5005, allocations: 449.9 kB / 0.5875 GB, free: 480 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++ 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.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