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.0007635/0.0007635, allocations: 99.5 kB / 16.02 MB, free: 76 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.0008318/0.0008319, allocations: 185.1 kB / 16.93 MB, free: 6.891 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.323/1.323, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7345/0.7345, allocations: 132.3 MB / 424.4 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003358/0.0003359, allocations: 8.562 kB / 0.5046 GB, free: 3.957 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4418/0.4421, allocations: 81.57 MB / 0.5843 GB, free: 4.078 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.001912/0.4441, allocations: 1.253 MB / 0.5855 GB, free: 3.168 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005708/0.4447, allocations: 180.4 kB / 0.5857 GB, free: 3.047 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.603e-05/0.4447, allocations: 0.7812 kB / 0.5857 GB, free: 3.047 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.216e-05/0.4448, allocations: 8.188 kB / 0.5857 GB, free: 3.043 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.334e-05/0.4449, allocations: 0 / 0.5857 GB, free: 3.043 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003566/0.4452, allocations: 43.08 kB / 0.5857 GB, free: 3.02 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.897e-05/0.4453, allocations: 38.84 kB / 0.5858 GB, free: 3 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.4454, allocations: 12.33 kB / 0.5858 GB, free: 2.996 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.508e-05/0.4455, allocations: 9.188 kB / 0.5858 GB, free: 2.996 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.977e-05/0.4455, allocations: 20.86 kB / 0.5858 GB, free: 2.984 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.4455, allocations: 1.312 kB / 0.5858 GB, free: 2.984 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001431/0.4457, allocations: 41.66 kB / 0.5858 GB, free: 2.973 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.619e-05/0.4457, allocations: 6.734 kB / 0.5859 GB, free: 2.969 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.654e-05/0.4458, allocations: 42.03 kB / 0.5859 GB, free: 2.926 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001308/0.4459, allocations: 41.48 kB / 0.5859 GB, free: 2.914 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.4459, allocations: 0.6875 kB / 0.5859 GB, free: 2.914 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.686e-06/0.4459, allocations: 0 / 0.5859 GB, free: 2.914 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.4459, allocations: 0 / 0.5859 GB, free: 2.914 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004624/0.4464, allocations: 356.5 kB / 0.5863 GB, free: 2.547 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.4464, allocations: 9.656 kB / 0.5863 GB, free: 2.547 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.544e-05/0.4465, allocations: 6.75 kB / 0.5863 GB, free: 2.543 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.828e-05/0.4466, allocations: 171.8 kB / 0.5865 GB, free: 2.34 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.848e-05/0.4466, allocations: 1.938 kB / 0.5865 GB, free: 2.34 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.4467, allocations: 11.48 kB / 0.5865 GB, free: 2.332 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002301/0.4469, allocations: 74.16 kB / 0.5865 GB, free: 2.285 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.4469, allocations: 0.8438 kB / 0.5865 GB, free: 2.285 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.4469, allocations: 6.016 kB / 0.5865 GB, free: 2.281 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.4469, allocations: 0 / 0.5865 GB, free: 2.281 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002374/0.4472, allocations: 57.94 kB / 0.5866 GB, free: 2.27 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003756/0.4476, allocations: 276.7 kB / 0.5869 GB, free: 1.984 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003309/0.4479, allocations: 70.03 kB / 0.5869 GB, free: 1.945 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.448, allocations: 27.16 kB / 0.587 GB, free: 1.938 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000193/0.4482, allocations: 174.4 kB / 0.5871 GB, free: 1.742 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.4483, allocations: 36.67 kB / 0.5872 GB, free: 1.699 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.253e-06/0.4483, allocations: 0 / 0.5872 GB, free: 1.699 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004285/0.4487, allocations: 111.5 kB / 0.5873 GB, free: 1.652 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.907e-05/0.4488, allocations: 57.27 kB / 0.5873 GB, free: 1.586 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.412e-05/0.4488, allocations: 111.2 kB / 0.5874 GB, free: 1.48 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.207e-06/0.4488, allocations: 25.7 kB / 0.5874 GB, free: 1.449 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.255e-05/0.4489, allocations: 86.92 kB / 0.5875 GB, free: 1.363 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.708e-05/0.4489, allocations: 5.922 kB / 0.5875 GB, free: 1.359 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.553e-05/0.4489, allocations: 12.67 kB / 0.5875 GB, free: 1.344 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.943e-05/0.449, allocations: 321.3 kB / 0.5879 GB, free: 1.023 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.4491, allocations: 28.75 kB / 0.5879 GB, free: 1.016 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.142e-05/0.4492, allocations: 25.25 kB / 0.5879 GB, free: 1.012 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001875/0.4494, allocations: 59.67 kB / 0.588 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4494, allocations: 0 / 0.588 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002649/0.4497, allocations: 92 kB / 0.5881 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.4497, allocations: 5.312 kB / 0.5881 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.4497, allocations: 5.375 kB / 0.5881 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.4498, allocations: 0 / 0.5881 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.759e-05/0.4498, allocations: 13.19 kB / 0.5881 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.4499, allocations: 2.766 kB / 0.5881 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.51e-05/0.4499, allocations: 12.02 kB / 0.5881 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.4499, allocations: 1.844 kB / 0.5881 GB, free: 0.9375 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 (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.213e-05/0.45, allocations: 120.5 kB / 0.5882 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.764e-05/0.4501, allocations: 2.75 kB / 0.5882 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002874/0.4503, allocations: 88.73 kB / 0.5883 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.4504, allocations: 5.031 kB / 0.5883 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.4504, allocations: 0.6094 kB / 0.5883 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.4504, allocations: 4 kB / 0.5883 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.4505, allocations: 173.4 kB / 0.5885 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.4505, allocations: 2.047 kB / 0.5885 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.723e-05/0.4506, allocations: 12.23 kB / 0.5885 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.4506, allocations: 1.828 kB / 0.5885 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.4506, allocations: 0 / 0.5885 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.4506, allocations: 1.438 kB / 0.5885 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.4506, allocations: 0.75 kB / 0.5885 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002629/0.4509, allocations: 183.6 kB / 0.5887 GB, free: 416 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.44e-05/0.4509, allocations: 79.39 kB / 0.5887 GB, free: 320 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.451, allocations: 5.516 kB / 0.5887 GB, free: 316 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.885e-05/0.4511, allocations: 12.91 kB / 0.5888 GB, free: 312 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.612e-05/0.4511, allocations: 8.859 kB / 0.5888 GB, free: 308 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.4511, allocations: 2.203 kB / 0.5888 GB, free: 308 kB / 430.1 MB Notification: Performance of sorting global known variables: time 3.873e-05/0.4512, allocations: 95.64 kB / 0.5889 GB, free: 220 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4512, allocations: 0 / 0.5889 GB, free: 220 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002561/0.4515, allocations: 14.34 kB / 0.5889 GB, free: 220 kB / 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 (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.0001844/0.4516, allocations: 124.1 kB / 0.589 GB, free: 112 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002665/0.4519, allocations: 56.11 kB / 0.589 GB, free: 104 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.4519, allocations: 3.938 kB / 0.589 GB, free: 100 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.452, allocations: 29.44 kB / 0.5891 GB, free: 96 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/0.4523, allocations: 14.58 kB / 0.5891 GB, free: 84 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003448/0.4527, allocations: 160.4 kB / 0.5892 GB, free: 15.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004053/0.4531, allocations: 0.6796 MB / 0.5899 GB, free: 15.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.498e-05/0.4531, allocations: 11.33 kB / 0.5899 GB, free: 15.22 MB / 446.1 MB Notification: Performance of SimCode: time 4.8e-07/0.4531, allocations: 0 / 0.5899 GB, free: 15.22 MB / 446.1 MB Notification: Performance of Templates: time 0.003462/0.4566, allocations: 0.965 MB / 0.5909 GB, free: 15.16 MB / 446.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