Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.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.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Binomial") translateModel(IDEAS.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004413/0.004413, allocations: 99.98 kB / 15.87 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.0009966/0.0009967, allocations: 192.1 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.272/1.272, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7547/0.7547, allocations: 132.2 MB / 422.8 MB, free: 2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001052/0.001052, allocations: 61.88 kB / 0.5017 GB, free: 9.207 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1588, allocations: 80.21 MB / 0.58 GB, free: 9.227 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.002865/0.1617, allocations: 1.58 MB / 0.5816 GB, free: 7.629 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005114/0.1623, allocations: 192.2 kB / 0.5818 GB, free: 7.438 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.192e-05/0.1623, allocations: 0 / 0.5818 GB, free: 7.438 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.843e-05/0.1624, allocations: 0 / 0.5818 GB, free: 7.438 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.079e-05/0.1624, allocations: 7.875 kB / 0.5818 GB, free: 7.43 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002981/0.1627, allocations: 43.95 kB / 0.5818 GB, free: 7.387 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.517e-05/0.1628, allocations: 35.91 kB / 0.5818 GB, free: 7.352 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.1629, allocations: 12 kB / 0.5818 GB, free: 7.34 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.517e-05/0.163, allocations: 15.92 kB / 0.5819 GB, free: 7.324 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.41e-05/0.163, allocations: 15.92 kB / 0.5819 GB, free: 7.309 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.163, allocations: 4 kB / 0.5819 GB, free: 7.305 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.1631, allocations: 39.95 kB / 0.5819 GB, free: 7.266 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.86e-05/0.1632, allocations: 11.98 kB / 0.5819 GB, free: 7.254 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.715e-05/0.1632, allocations: 15.94 kB / 0.5819 GB, free: 7.238 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.1633, allocations: 47.86 kB / 0.582 GB, free: 7.191 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1633, allocations: 0 / 0.582 GB, free: 7.191 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.12e-07/0.1633, allocations: 0 / 0.582 GB, free: 7.191 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.676e-06/0.1634, allocations: 0 / 0.582 GB, free: 7.191 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005563/0.1639, allocations: 351.7 kB / 0.5823 GB, free: 6.797 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.164, allocations: 8.031 kB / 0.5823 GB, free: 6.789 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.109e-05/0.164, allocations: 12.83 kB / 0.5823 GB, free: 6.777 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.1641, allocations: 168.3 kB / 0.5825 GB, free: 6.574 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/0.1642, allocations: 8.375 kB / 0.5825 GB, free: 6.566 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/0.1642, allocations: 384 / 0.5825 GB, free: 6.566 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.1644, allocations: 66.22 kB / 0.5826 GB, free: 6.496 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.1644, allocations: 192 / 0.5826 GB, free: 6.496 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.1644, allocations: 7.922 kB / 0.5826 GB, free: 6.488 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.1644, allocations: 0 / 0.5826 GB, free: 6.488 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001837/0.1646, allocations: 43.95 kB / 0.5826 GB, free: 6.445 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003887/0.165, allocations: 292.6 kB / 0.5829 GB, free: 6.109 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003261/0.1654, allocations: 58.59 kB / 0.583 GB, free: 6.043 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.435e-05/0.1655, allocations: 20.84 kB / 0.583 GB, free: 6.02 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002418/0.1657, allocations: 170.2 kB / 0.5831 GB, free: 5.816 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.1658, allocations: 38.55 kB / 0.5832 GB, free: 5.77 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1658, allocations: 0 / 0.5832 GB, free: 5.77 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003872/0.1662, allocations: 97.58 kB / 0.5833 GB, free: 5.668 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.781e-05/0.1662, allocations: 55.34 kB / 0.5833 GB, free: 5.602 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.205e-05/0.1663, allocations: 106.1 kB / 0.5834 GB, free: 5.488 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.1663, allocations: 29.7 kB / 0.5835 GB, free: 5.453 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.217e-05/0.1663, allocations: 96.03 kB / 0.5836 GB, free: 5.355 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.408e-05/0.1664, allocations: 3.906 kB / 0.5836 GB, free: 5.352 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.675e-05/0.1664, allocations: 21.66 kB / 0.5836 GB, free: 5.324 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.1665, allocations: 314.8 kB / 0.5839 GB, free: 5.008 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.524e-05/0.1666, allocations: 23.97 kB / 0.5839 GB, free: 4.984 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.969e-05/0.1667, allocations: 19.98 kB / 0.5839 GB, free: 4.965 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.1669, allocations: 52.75 kB / 0.584 GB, free: 4.91 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1669, allocations: 0 / 0.584 GB, free: 4.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001983/0.1671, allocations: 73.66 kB / 0.584 GB, free: 4.832 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.1671, allocations: 8 kB / 0.584 GB, free: 4.824 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1671, allocations: 0 / 0.584 GB, free: 4.824 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.1671, allocations: 3.984 kB / 0.5841 GB, free: 4.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.773e-05/0.1672, allocations: 8 kB / 0.5841 GB, free: 4.812 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.1672, allocations: 8.062 kB / 0.5841 GB, free: 4.805 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.421e-05/0.1673, allocations: 7.984 kB / 0.5841 GB, free: 4.797 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.1673, allocations: 0 / 0.5841 GB, free: 4.797 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: 2 (bin.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.519e-05/0.1674, allocations: 113.8 kB / 0.5842 GB, free: 4.676 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.623e-05/0.1674, allocations: 3.906 kB / 0.5842 GB, free: 4.672 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002491/0.1677, allocations: 93.47 kB / 0.5843 GB, free: 4.574 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.1677, allocations: 4 kB / 0.5843 GB, free: 4.57 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1677, allocations: 0 / 0.5843 GB, free: 4.57 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.1677, allocations: 384 / 0.5843 GB, free: 4.57 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001618/0.1679, allocations: 169.6 kB / 0.5844 GB, free: 4.355 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1679, allocations: 0 / 0.5844 GB, free: 4.355 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.234e-05/0.168, allocations: 11.98 kB / 0.5845 GB, free: 4.344 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.168, allocations: 0 / 0.5845 GB, free: 4.344 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.168, allocations: 0 / 0.5845 GB, free: 4.344 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.168, allocations: 0 / 0.5845 GB, free: 4.344 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.168, allocations: 4 kB / 0.5845 GB, free: 4.34 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000243/0.1682, allocations: 183.4 kB / 0.5846 GB, free: 4.145 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.148e-05/0.1683, allocations: 77.11 kB / 0.5847 GB, free: 4.051 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.1683, allocations: 3.938 kB / 0.5847 GB, free: 4.047 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.247e-05/0.1684, allocations: 7.984 kB / 0.5847 GB, free: 4.039 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.202e-05/0.1685, allocations: 8 kB / 0.5847 GB, free: 4.031 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.491e-06/0.1685, allocations: 4 kB / 0.5847 GB, free: 4.027 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.635e-05/0.1685, allocations: 95.27 kB / 0.5848 GB, free: 3.934 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1685, allocations: 0 / 0.5848 GB, free: 3.934 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002391/0.1688, allocations: 15.91 kB / 0.5848 GB, free: 3.918 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: 2 (rea2Int.y,bin.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.0001992/0.169, allocations: 119.3 kB / 0.5849 GB, free: 3.789 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002294/0.1692, allocations: 43.95 kB / 0.585 GB, free: 3.746 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1692, allocations: 0 / 0.585 GB, free: 3.746 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.575e-05/0.1693, allocations: 35.91 kB / 0.585 GB, free: 3.711 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002999/0.1696, allocations: 11.81 kB / 0.585 GB, free: 3.699 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003451/0.17, allocations: 153 kB / 0.5852 GB, free: 3.52 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002343/0.1702, allocations: 0.677 MB / 0.5858 GB, free: 2.816 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.373e-05/0.1703, allocations: 19.36 kB / 0.5859 GB, free: 2.797 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1703, allocations: 4 kB / 0.5859 GB, free: 2.793 MB / 494.1 MB Notification: Performance of Templates: time 0.002327/0.1726, allocations: 0.9566 MB / 0.5868 GB, free: 1.836 MB / 494.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.Binomial.makefile make -j1 -f IDEAS_IDEAS.Utilities.Math.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.Examples.BinomialCalcHelperMain.o OMCppIDEAS_IDEAS.Utilities.Math.Examples.BinomialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Utilities.Math.Examples.BinomialCalcHelperMain.o] Error 1