Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Utilities.Math.Examples.Binomial") translateModel(IDEAS.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001131/0.001131, allocations: 102.6 kB / 15.71 MB, free: 460 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.001574/0.001575, allocations: 170.7 kB / 16.58 MB, free: 6.398 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.488/1.488, allocations: 223.3 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.02/1.02, allocations: 135.3 MB / 427 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000493/0.0004935, allocations: 19.98 kB / 0.5076 GB, free: 5.242 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2286/0.2292, allocations: 82.31 MB / 0.588 GB, free: 3.102 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.001939/0.2311, allocations: 1.241 MB / 0.5892 GB, free: 1.844 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003962/0.2316, allocations: 168.4 kB / 0.5894 GB, free: 1.676 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.545e-05/0.2316, allocations: 0 / 0.5894 GB, free: 1.676 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.011e-05/0.2316, allocations: 7.875 kB / 0.5894 GB, free: 1.668 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.474e-05/0.2317, allocations: 0 / 0.5894 GB, free: 1.668 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002193/0.2319, allocations: 47.88 kB / 0.5894 GB, free: 1.621 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.231e-05/0.232, allocations: 31.92 kB / 0.5894 GB, free: 1.59 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.116e-05/0.232, allocations: 4 kB / 0.5894 GB, free: 1.586 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.399e-05/0.2321, allocations: 19.97 kB / 0.5895 GB, free: 1.566 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.402e-05/0.2321, allocations: 15.92 kB / 0.5895 GB, free: 1.551 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.035e-06/0.2321, allocations: 0 / 0.5895 GB, free: 1.551 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.163e-05/0.2322, allocations: 35.97 kB / 0.5895 GB, free: 1.516 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.155e-05/0.2322, allocations: 11.94 kB / 0.5895 GB, free: 1.504 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.236e-05/0.2323, allocations: 29.69 kB / 0.5896 GB, free: 1.469 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.5e-05/0.2323, allocations: 43.92 kB / 0.5896 GB, free: 1.426 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2324, allocations: 0 / 0.5896 GB, free: 1.426 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.2324, allocations: 3.938 kB / 0.5896 GB, free: 1.422 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.635e-06/0.2324, allocations: 0 / 0.5896 GB, free: 1.422 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.0003595/0.2327, allocations: 355.5 kB / 0.5899 GB, free: 1.027 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.199e-05/0.2328, allocations: 8.031 kB / 0.5899 GB, free: 1.02 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.297e-05/0.2328, allocations: 8 kB / 0.59 GB, free: 1.012 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.2329, allocations: 170.9 kB / 0.5901 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.2329, allocations: 0 / 0.5901 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.233, allocations: 7.938 kB / 0.5901 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.2331, allocations: 73.59 kB / 0.5902 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.068e-06/0.2332, allocations: 4 kB / 0.5902 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.831e-06/0.2332, allocations: 0 / 0.5902 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.494e-06/0.2332, allocations: 0 / 0.5902 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001796/0.2334, allocations: 55.95 kB / 0.5903 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003081/0.2337, allocations: 280.8 kB / 0.5905 GB, free: 344 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003519/0.234, allocations: 66.47 kB / 0.5906 GB, free: 268 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.021e-05/0.2342, allocations: 32.91 kB / 0.5906 GB, free: 232 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001882/0.2344, allocations: 166.2 kB / 0.5908 GB, free: 28 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.931e-05/0.2344, allocations: 30.56 kB / 0.5908 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.723e-06/0.2344, allocations: 0 / 0.5908 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003418/0.2348, allocations: 121.5 kB / 0.5909 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.2348, allocations: 55.36 kB / 0.591 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.302e-05/0.2349, allocations: 109.8 kB / 0.5911 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.2349, allocations: 29.7 kB / 0.5911 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.474e-05/0.235, allocations: 84.14 kB / 0.5912 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/0.235, allocations: 11.91 kB / 0.5912 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.886e-06/0.235, allocations: 0 / 0.5912 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.2351, allocations: 314.8 kB / 0.5915 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.349e-05/0.2352, allocations: 23.98 kB / 0.5915 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.797e-05/0.2353, allocations: 31.97 kB / 0.5915 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.857e-05/0.2354, allocations: 19.98 kB / 0.5916 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.2354, allocations: 0 / 0.5916 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002209/0.2356, allocations: 89.56 kB / 0.5917 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.2356, allocations: 7.938 kB / 0.5917 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.344e-06/0.2357, allocations: 0 / 0.5917 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.428e-06/0.2357, allocations: 7.984 kB / 0.5917 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.243e-05/0.2357, allocations: 8 kB / 0.5917 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.875e-06/0.2358, allocations: 0 / 0.5917 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.951e-05/0.2358, allocations: 15.94 kB / 0.5917 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-06/0.2358, allocations: 4 kB / 0.5917 GB, free: 15.02 MB / 0.4981 GB 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,bin.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.719e-05/0.2359, allocations: 113.8 kB / 0.5918 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.483e-05/0.236, allocations: 0 / 0.5918 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002472/0.2362, allocations: 109.8 kB / 0.5919 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.2362, allocations: 3.938 kB / 0.5919 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.2362, allocations: 0 / 0.5919 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.2362, allocations: 4 kB / 0.5919 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001675/0.2364, allocations: 161.6 kB / 0.5921 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.2364, allocations: 11.94 kB / 0.5921 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.038e-05/0.2365, allocations: 11.98 kB / 0.5921 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.2365, allocations: 0 / 0.5921 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.2365, allocations: 0 / 0.5921 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.2365, allocations: 0 / 0.5921 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.2365, allocations: 8 kB / 0.5921 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002541/0.2368, allocations: 187.4 kB / 0.5923 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.626e-05/0.2368, allocations: 77.11 kB / 0.5924 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.2369, allocations: 8 kB / 0.5924 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.987e-05/0.2369, allocations: 7.984 kB / 0.5924 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.873e-05/0.237, allocations: 4 kB / 0.5924 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.237, allocations: 4 kB / 0.5924 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.129e-05/0.2371, allocations: 91.33 kB / 0.5925 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.2371, allocations: 0 / 0.5925 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002474/0.2374, allocations: 16 kB / 0.5925 GB, free: 14.11 MB / 0.4981 GB 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 (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.0001862/0.2375, allocations: 119.2 kB / 0.5926 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002146/0.2378, allocations: 51.95 kB / 0.5926 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.2378, allocations: 0 / 0.5926 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.886e-05/0.2379, allocations: 35.97 kB / 0.5927 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.2381, allocations: 7.953 kB / 0.5927 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002799/0.2384, allocations: 158.2 kB / 0.5928 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.2387, allocations: 0.6848 MB / 0.5935 GB, free: 13 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.851e-05/0.2387, allocations: 11.44 kB / 0.5935 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of SimCode: time 2.8e-07/0.2387, allocations: 4 kB / 0.5935 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of Templates: time 0.002131/0.2409, allocations: 0.9663 MB / 0.5945 GB, free: 12.02 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.makefile make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.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_dev_IDEAS.Utilities.Math.Examples.BinomialCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Utilities.Math.Examples.BinomialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Utilities.Math.Examples.BinomialCalcHelperMain.o] Error 1