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.001015/0.001015, allocations: 96.14 kB / 15.87 MB, free: 12 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.0009882/0.0009881, allocations: 196.2 kB / 16.79 MB, free: 6.828 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.325/1.325, allocations: 222.9 MB / 240.4 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7515/0.7515, allocations: 132.2 MB / 422.8 MB, free: 2.004 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00102/0.00102, allocations: 59.81 kB / 0.5017 GB, free: 4.355 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4135/0.4145, allocations: 80.2 MB / 0.58 GB, free: 4.566 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Factorial): time 0.002335/0.4169, allocations: 1.57 MB / 0.5816 GB, free: 3.48 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003251/0.4173, allocations: 121.1 kB / 0.5817 GB, free: 3.398 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.387e-05/0.4173, allocations: 1.281 kB / 0.5817 GB, free: 3.398 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.03e-05/0.4173, allocations: 7.938 kB / 0.5817 GB, free: 3.391 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.485e-05/0.4174, allocations: 0.7031 kB / 0.5817 GB, free: 3.391 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001629/0.4175, allocations: 17.23 kB / 0.5817 GB, free: 3.383 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.504e-05/0.4176, allocations: 30.73 kB / 0.5817 GB, free: 3.367 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.593e-05/0.4177, allocations: 14.02 kB / 0.5818 GB, free: 3.359 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.492e-05/0.4177, allocations: 6.781 kB / 0.5818 GB, free: 3.359 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.161e-05/0.4178, allocations: 16.91 kB / 0.5818 GB, free: 3.352 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.4178, allocations: 1.812 kB / 0.5818 GB, free: 3.352 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.412e-05/0.4178, allocations: 15.59 kB / 0.5818 GB, free: 3.344 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.28e-05/0.4179, allocations: 2.375 kB / 0.5818 GB, free: 3.344 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.459e-05/0.4179, allocations: 15.62 kB / 0.5818 GB, free: 3.332 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.644e-05/0.418, allocations: 23.25 kB / 0.5818 GB, free: 3.324 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.418, allocations: 0 / 0.5818 GB, free: 3.324 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.418, allocations: 0.8125 kB / 0.5818 GB, free: 3.324 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.496e-06/0.418, allocations: 3.938 kB / 0.5818 GB, free: 3.32 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.0003749/0.4184, allocations: 347.6 kB / 0.5822 GB, free: 2.957 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.4184, allocations: 14.22 kB / 0.5822 GB, free: 2.953 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.257e-05/0.4185, allocations: 6.125 kB / 0.5822 GB, free: 2.949 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.942e-05/0.4185, allocations: 175.5 kB / 0.5824 GB, free: 2.742 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.4186, allocations: 1.594 kB / 0.5824 GB, free: 2.742 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.4186, allocations: 5.953 kB / 0.5824 GB, free: 2.738 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.4188, allocations: 58.64 kB / 0.5824 GB, free: 2.699 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.4188, allocations: 1.672 kB / 0.5824 GB, free: 2.699 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.4188, allocations: 3.938 kB / 0.5824 GB, free: 2.695 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.4188, allocations: 0.9062 kB / 0.5824 GB, free: 2.695 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001908/0.419, allocations: 41.84 kB / 0.5825 GB, free: 2.688 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002784/0.4193, allocations: 264.6 kB / 0.5827 GB, free: 2.406 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00032/0.4196, allocations: 57.81 kB / 0.5828 GB, free: 2.375 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.833e-05/0.4197, allocations: 33.31 kB / 0.5828 GB, free: 2.355 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.804e-05/0.4198, allocations: 85.69 kB / 0.5829 GB, free: 2.258 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.629e-05/0.4198, allocations: 32.67 kB / 0.5829 GB, free: 2.219 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.4198, allocations: 0 / 0.5829 GB, free: 2.219 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003671/0.4202, allocations: 92.48 kB / 0.583 GB, free: 2.176 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.089e-05/0.4202, allocations: 52.11 kB / 0.5831 GB, free: 2.113 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.299e-05/0.4203, allocations: 105.9 kB / 0.5832 GB, free: 2.008 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.755e-06/0.4203, allocations: 25.7 kB / 0.5832 GB, free: 1.977 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.397e-05/0.4203, allocations: 90.69 kB / 0.5833 GB, free: 1.887 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.198e-05/0.4203, allocations: 4.656 kB / 0.5833 GB, free: 1.883 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.979e-05/0.4204, allocations: 15.28 kB / 0.5833 GB, free: 1.867 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.883e-05/0.4204, allocations: 317.4 kB / 0.5836 GB, free: 1.551 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.587e-05/0.4205, allocations: 16.23 kB / 0.5836 GB, free: 1.551 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.651e-05/0.4206, allocations: 24.42 kB / 0.5836 GB, free: 1.543 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.4208, allocations: 49.03 kB / 0.5837 GB, free: 1.523 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.4208, allocations: 5.125 kB / 0.5837 GB, free: 1.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002121/0.421, allocations: 76.67 kB / 0.5837 GB, free: 1.477 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.421, allocations: 5.438 kB / 0.5838 GB, free: 1.477 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.421, allocations: 0.8125 kB / 0.5838 GB, free: 1.477 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.4211, allocations: 4.781 kB / 0.5838 GB, free: 1.473 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.082e-05/0.4211, allocations: 11.27 kB / 0.5838 GB, free: 1.473 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.4212, allocations: 0 / 0.5838 GB, free: 1.473 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.735e-05/0.4212, allocations: 10.81 kB / 0.5838 GB, free: 1.469 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.4212, allocations: 1.328 kB / 0.5838 GB, free: 1.469 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 4.731e-05/0.4213, allocations: 113.9 kB / 0.5839 GB, free: 1.352 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.452e-05/0.4213, allocations: 1.062 kB / 0.5839 GB, free: 1.352 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002494/0.4216, allocations: 94.55 kB / 0.584 GB, free: 1.285 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.4216, allocations: 0.5156 kB / 0.584 GB, free: 1.285 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.4216, allocations: 4.938 kB / 0.584 GB, free: 1.281 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.4216, allocations: 0.6094 kB / 0.584 GB, free: 1.281 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001132/0.4217, allocations: 167.6 kB / 0.5841 GB, free: 1.082 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4217, allocations: 0 / 0.5841 GB, free: 1.082 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.848e-05/0.4218, allocations: 10.95 kB / 0.5842 GB, free: 1.082 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.4218, allocations: 1.5 kB / 0.5842 GB, free: 1.082 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.4218, allocations: 0 / 0.5842 GB, free: 1.082 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.4218, allocations: 5.781 kB / 0.5842 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4218, allocations: 0 / 0.5842 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002323/0.4221, allocations: 181 kB / 0.5843 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.675e-05/0.4221, allocations: 83.14 kB / 0.5844 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.4221, allocations: 2.266 kB / 0.5844 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.428e-05/0.4222, allocations: 5.469 kB / 0.5844 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.081e-05/0.4223, allocations: 9.641 kB / 0.5844 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.4223, allocations: 2.281 kB / 0.5844 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.299e-05/0.4223, allocations: 83.16 kB / 0.5845 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4223, allocations: 0 / 0.5845 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002145/0.4225, allocations: 7.062 kB / 0.5845 GB, free: 0.7461 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.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.0001189/0.4226, allocations: 100.1 kB / 0.5846 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002315/0.4229, allocations: 48.23 kB / 0.5847 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.4229, allocations: 0.875 kB / 0.5847 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.423, allocations: 28.22 kB / 0.5847 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.4232, allocations: 7.281 kB / 0.5847 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002511/0.4235, allocations: 145 kB / 0.5848 GB, free: 500 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001507/0.4237, allocations: 0.6807 MB / 0.5855 GB, free: 15.79 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.826e-05/0.4237, allocations: 10.8 kB / 0.5855 GB, free: 15.78 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4237, allocations: 0 / 0.5855 GB, free: 15.78 MB / 446.1 MB Notification: Performance of Templates: time 0.001974/0.4257, allocations: 0.7227 MB / 0.5862 GB, free: 15.74 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