Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.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.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial") translateModel(IDEAS.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005944/0.005944, allocations: 101.1 kB / 15.88 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 189.8 kB / 16.79 MB, free: 5.809 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.29/1.29, allocations: 222.9 MB / 240.4 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7304/0.7304, allocations: 132.2 MB / 422.8 MB, free: 2.027 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001007/0.001007, allocations: 55.2 kB / 0.5017 GB, free: 9.199 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1606, allocations: 80.2 MB / 0.58 GB, free: 9.219 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001861/0.1625, allocations: 0.6465 MB / 0.5807 GB, free: 8.566 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004504/0.163, allocations: 111.7 kB / 0.5808 GB, free: 8.457 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.533e-05/0.163, allocations: 0 / 0.5808 GB, free: 8.457 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.605e-05/0.1631, allocations: 4 kB / 0.5808 GB, free: 8.453 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.172e-06/0.1631, allocations: 0 / 0.5808 GB, free: 8.453 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003012/0.1634, allocations: 31.89 kB / 0.5808 GB, free: 8.422 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001199/0.1635, allocations: 59.94 kB / 0.5809 GB, free: 8.363 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.202e-05/0.1636, allocations: 4 kB / 0.5809 GB, free: 8.359 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.671e-05/0.1636, allocations: 27.91 kB / 0.5809 GB, free: 8.332 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.051e-05/0.1637, allocations: 19.97 kB / 0.5809 GB, free: 8.312 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.1637, allocations: 8 kB / 0.5809 GB, free: 8.305 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001214/0.1638, allocations: 47.94 kB / 0.581 GB, free: 8.258 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.359e-05/0.1639, allocations: 19.98 kB / 0.581 GB, free: 8.238 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.335e-05/0.1639, allocations: 23.91 kB / 0.581 GB, free: 8.215 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001023/0.164, allocations: 43.88 kB / 0.5811 GB, free: 8.172 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.164, allocations: 0 / 0.5811 GB, free: 8.172 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1641, allocations: 0 / 0.5811 GB, free: 8.172 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.1641, allocations: 0 / 0.5811 GB, free: 8.172 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005279/0.1646, allocations: 375.5 kB / 0.5814 GB, free: 7.754 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.1646, allocations: 12.03 kB / 0.5814 GB, free: 7.742 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.232e-05/0.1647, allocations: 12.88 kB / 0.5814 GB, free: 7.73 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.991e-05/0.1648, allocations: 168.5 kB / 0.5816 GB, free: 7.527 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002615/0.1651, allocations: 281.6 kB / 0.5819 GB, free: 7.191 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.663e-05/0.1651, allocations: 4.375 kB / 0.5819 GB, free: 7.188 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000238/0.1653, allocations: 78.19 kB / 0.5819 GB, free: 7.105 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.1653, allocations: 3.938 kB / 0.5819 GB, free: 7.102 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.1654, allocations: 4 kB / 0.5819 GB, free: 7.098 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.1654, allocations: 0 / 0.5819 GB, free: 7.098 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003352/0.1657, allocations: 131.8 kB / 0.5821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001808/0.1659, allocations: 185.6 kB / 0.5823 GB, free: 6.738 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002848/0.1662, allocations: 98.45 kB / 0.5823 GB, free: 6.633 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001351/0.1663, allocations: 44.83 kB / 0.5824 GB, free: 6.586 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/0.1664, allocations: 0 / 0.5824 GB, free: 6.586 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.1664, allocations: 34.56 kB / 0.5824 GB, free: 6.543 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.032e-06/0.1664, allocations: 0 / 0.5824 GB, free: 6.543 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005112/0.1669, allocations: 153.7 kB / 0.5826 GB, free: 6.387 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/0.167, allocations: 63.34 kB / 0.5826 GB, free: 6.312 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.078e-05/0.167, allocations: 89.86 kB / 0.5827 GB, free: 6.215 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.167, allocations: 25.7 kB / 0.5827 GB, free: 6.184 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.633e-05/0.1671, allocations: 80.14 kB / 0.5828 GB, free: 6.102 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.667e-05/0.1671, allocations: 35.45 kB / 0.5828 GB, free: 6.066 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.013e-05/0.1672, allocations: 29.7 kB / 0.5829 GB, free: 6.031 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.1673, allocations: 318.8 kB / 0.5832 GB, free: 5.711 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.1674, allocations: 31.98 kB / 0.5832 GB, free: 5.68 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.1676, allocations: 31.97 kB / 0.5832 GB, free: 5.648 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003226/0.1679, allocations: 80.09 kB / 0.5833 GB, free: 5.57 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1679, allocations: 4 kB / 0.5833 GB, free: 5.566 MB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003113/0.1682, allocations: 113.5 kB / 0.5834 GB, free: 5.449 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.1683, allocations: 11.94 kB / 0.5834 GB, free: 5.438 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.1683, allocations: 0 / 0.5834 GB, free: 5.438 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.1683, allocations: 0 / 0.5834 GB, free: 5.438 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.1684, allocations: 27.95 kB / 0.5835 GB, free: 5.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.1685, allocations: 4 kB / 0.5835 GB, free: 5.406 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.583e-05/0.1685, allocations: 7.938 kB / 0.5835 GB, free: 5.398 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.1685, allocations: 7.984 kB / 0.5835 GB, free: 5.391 MB / 494.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: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 8.545e-05/0.1686, allocations: 113.8 kB / 0.5836 GB, free: 5.27 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.833e-05/0.1686, allocations: 11.84 kB / 0.5836 GB, free: 5.258 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.635e-05/0.1687, allocations: 11.97 kB / 0.5836 GB, free: 5.246 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1687, allocations: 0 / 0.5836 GB, free: 5.246 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1687, allocations: 3.938 kB / 0.5836 GB, free: 5.242 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.1687, allocations: 7.984 kB / 0.5836 GB, free: 5.234 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/0.1689, allocations: 177.6 kB / 0.5838 GB, free: 5.012 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1689, allocations: 0 / 0.5838 GB, free: 5.012 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.169, allocations: 23.92 kB / 0.5838 GB, free: 4.988 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.169, allocations: 7.938 kB / 0.5838 GB, free: 4.98 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.169, allocations: 7.984 kB / 0.5838 GB, free: 4.973 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.169, allocations: 0 / 0.5838 GB, free: 4.973 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.169, allocations: 0 / 0.5838 GB, free: 4.973 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003354/0.1694, allocations: 144.9 kB / 0.584 GB, free: 4.812 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.554e-05/0.1694, allocations: 81.09 kB / 0.5841 GB, free: 4.715 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.876e-05/0.1694, allocations: 7.938 kB / 0.5841 GB, free: 4.707 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.5e-05/0.1695, allocations: 4 kB / 0.5841 GB, free: 4.703 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.385e-05/0.1696, allocations: 7.984 kB / 0.5841 GB, free: 4.695 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.1696, allocations: 11.92 kB / 0.5841 GB, free: 4.684 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.986e-05/0.1696, allocations: 81.05 kB / 0.5842 GB, free: 4.605 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1696, allocations: 0 / 0.5842 GB, free: 4.605 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000206/0.1698, allocations: 16 kB / 0.5842 GB, free: 4.59 MB / 494.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: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0002259/0.1701, allocations: 123.2 kB / 0.5843 GB, free: 4.457 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003219/0.1704, allocations: 83.88 kB / 0.5844 GB, free: 4.375 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1704, allocations: 0 / 0.5844 GB, free: 4.375 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001456/0.1706, allocations: 54.53 kB / 0.5844 GB, free: 4.324 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001308/0.1707, allocations: 4 kB / 0.5844 GB, free: 4.32 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003895/0.1711, allocations: 208.2 kB / 0.5846 GB, free: 4.086 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/0.1714, allocations: 0.688 MB / 0.5853 GB, free: 3.375 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.989e-05/0.1714, allocations: 19.41 kB / 0.5853 GB, free: 3.355 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1714, allocations: 0 / 0.5853 GB, free: 3.355 MB / 494.1 MB Notification: Performance of Templates: time 0.002867/0.1743, allocations: 1.311 MB / 0.5866 GB, free: 2.043 MB / 494.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.makefile make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.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.BinomialCalcHelperMain.o OMCppIDEAS_IDEAS.Utilities.Math.Functions.Examples.BinomialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Utilities.Math.Functions.Examples.BinomialCalcHelperMain.o] Error 1