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.0009174/0.0009236, allocations: 99.67 kB / 15.71 MB, free: 452 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.0009354/0.0009355, allocations: 175.1 kB / 16.58 MB, free: 6.418 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.455/1.455, allocations: 223.2 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/package.mo): time 0.7826/0.7826, allocations: 132.3 MB / 424 MB, free: 2.113 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003408/0.0003408, allocations: 12 kB / 0.504 GB, free: 4.289 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5036/0.5039, allocations: 81.57 MB / 0.5837 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.001848/0.5058, allocations: 1.241 MB / 0.5849 GB, free: 3.105 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004707/0.5063, allocations: 172.5 kB / 0.585 GB, free: 2.988 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.546e-05/0.5064, allocations: 1 kB / 0.585 GB, free: 2.988 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.987e-05/0.5064, allocations: 1.219 kB / 0.585 GB, free: 2.988 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.818e-05/0.5065, allocations: 5.672 kB / 0.5851 GB, free: 2.984 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00032/0.5068, allocations: 40.14 kB / 0.5851 GB, free: 2.965 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.232e-05/0.5069, allocations: 33.28 kB / 0.5851 GB, free: 2.949 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.693e-05/0.507, allocations: 7.859 kB / 0.5851 GB, free: 2.949 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.275e-05/0.507, allocations: 14.31 kB / 0.5851 GB, free: 2.941 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.648e-05/0.5071, allocations: 19.66 kB / 0.5852 GB, free: 2.934 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.5071, allocations: 0.6562 kB / 0.5852 GB, free: 2.934 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.5072, allocations: 37.86 kB / 0.5852 GB, free: 2.926 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.373e-05/0.5073, allocations: 7.297 kB / 0.5852 GB, free: 2.922 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.184e-05/0.5073, allocations: 31.92 kB / 0.5852 GB, free: 2.887 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001272/0.5074, allocations: 43.94 kB / 0.5853 GB, free: 2.871 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.5074, allocations: 1.125 kB / 0.5853 GB, free: 2.871 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.255e-06/0.5074, allocations: 0.5 kB / 0.5853 GB, free: 2.871 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.5074, allocations: 0.625 kB / 0.5853 GB, free: 2.871 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.0004317/0.5079, allocations: 356.9 kB / 0.5856 GB, free: 2.508 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.5079, allocations: 12.94 kB / 0.5856 GB, free: 2.504 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.401e-05/0.508, allocations: 6.625 kB / 0.5856 GB, free: 2.5 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.621e-05/0.5081, allocations: 174.4 kB / 0.5858 GB, free: 2.293 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/0.5081, allocations: 1.359 kB / 0.5858 GB, free: 2.293 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.5081, allocations: 2.969 kB / 0.5858 GB, free: 2.293 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002175/0.5083, allocations: 78.2 kB / 0.5859 GB, free: 2.242 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.5084, allocations: 0.6094 kB / 0.5859 GB, free: 2.242 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.5084, allocations: 0 / 0.5859 GB, free: 2.242 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.5084, allocations: 0.6562 kB / 0.5859 GB, free: 2.242 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002072/0.5086, allocations: 62.73 kB / 0.5859 GB, free: 2.227 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003796/0.509, allocations: 276.6 kB / 0.5862 GB, free: 1.941 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003158/0.5093, allocations: 61.61 kB / 0.5863 GB, free: 1.91 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.5094, allocations: 39.62 kB / 0.5863 GB, free: 1.891 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001982/0.5096, allocations: 165.9 kB / 0.5865 GB, free: 1.703 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.617e-05/0.5097, allocations: 31.53 kB / 0.5865 GB, free: 1.664 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.5097, allocations: 1 kB / 0.5865 GB, free: 1.664 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004225/0.5101, allocations: 120.2 kB / 0.5866 GB, free: 1.609 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.441e-05/0.5101, allocations: 51.41 kB / 0.5867 GB, free: 1.547 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.217e-05/0.5102, allocations: 107.7 kB / 0.5868 GB, free: 1.445 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.5102, allocations: 30.67 kB / 0.5868 GB, free: 1.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.406e-05/0.5103, allocations: 85.66 kB / 0.5869 GB, free: 1.324 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.575e-05/0.5103, allocations: 6.766 kB / 0.5869 GB, free: 1.32 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-06/0.5103, allocations: 4 kB / 0.5869 GB, free: 1.316 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.84e-05/0.5104, allocations: 313 kB / 0.5872 GB, free: 1.004 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.586e-05/0.5105, allocations: 29 kB / 0.5872 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.845e-05/0.5106, allocations: 29.86 kB / 0.5872 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.506e-05/0.5107, allocations: 21.72 kB / 0.5873 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.5107, allocations: 0 / 0.5873 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002167/0.5109, allocations: 91.94 kB / 0.5873 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.5109, allocations: 5.875 kB / 0.5874 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.5109, allocations: 4.594 kB / 0.5874 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.511, allocations: 0 / 0.5874 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.105e-05/0.511, allocations: 16.97 kB / 0.5874 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.5111, allocations: 1.562 kB / 0.5874 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.671e-05/0.5111, allocations: 11.94 kB / 0.5874 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.5111, allocations: 10.06 kB / 0.5874 GB, free: 0.9219 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,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 6.312e-05/0.5112, allocations: 113.7 kB / 0.5875 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.346e-05/0.5112, allocations: 4.969 kB / 0.5875 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002706/0.5115, allocations: 93.78 kB / 0.5876 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.5115, allocations: 1.062 kB / 0.5876 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.5115, allocations: 3.953 kB / 0.5876 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.5115, allocations: 1.75 kB / 0.5876 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.5117, allocations: 169 kB / 0.5878 GB, free: 0.543 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.5117, allocations: 1.688 kB / 0.5878 GB, free: 0.543 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.285e-05/0.5118, allocations: 12.84 kB / 0.5878 GB, free: 0.543 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.5118, allocations: 1.234 kB / 0.5878 GB, free: 0.543 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.5118, allocations: 1.516 kB / 0.5878 GB, free: 0.543 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.5118, allocations: 4 kB / 0.5878 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.5118, allocations: 1.156 kB / 0.5878 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000246/0.5121, allocations: 195.2 kB / 0.588 GB, free: 392 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.384e-05/0.5121, allocations: 78.95 kB / 0.588 GB, free: 296 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.5121, allocations: 5.984 kB / 0.5881 GB, free: 292 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.307e-05/0.5122, allocations: 7.562 kB / 0.5881 GB, free: 292 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.14e-05/0.5123, allocations: 6.031 kB / 0.5881 GB, free: 292 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/0.5123, allocations: 1.812 kB / 0.5881 GB, free: 292 kB / 430.1 MB Notification: Performance of sorting global known variables: time 3.949e-05/0.5123, allocations: 86.61 kB / 0.5882 GB, free: 212 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5123, allocations: 0.7812 kB / 0.5882 GB, free: 212 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002513/0.5126, allocations: 22.28 kB / 0.5882 GB, free: 204 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 (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.0002015/0.5128, allocations: 116.4 kB / 0.5883 GB, free: 104 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002479/0.5131, allocations: 63.17 kB / 0.5883 GB, free: 88 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.5131, allocations: 1.312 kB / 0.5883 GB, free: 88 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.5132, allocations: 32.95 kB / 0.5884 GB, free: 80 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002734/0.5135, allocations: 5.094 kB / 0.5884 GB, free: 80 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003361/0.5138, allocations: 152.3 kB / 0.5885 GB, free: 15.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.5141, allocations: 0.6803 MB / 0.5892 GB, free: 15.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.285e-05/0.5142, allocations: 18.88 kB / 0.5892 GB, free: 15.22 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.5142, allocations: 0 / 0.5892 GB, free: 15.22 MB / 446.1 MB Notification: Performance of Templates: time 0.003058/0.5172, allocations: 0.9633 MB / 0.5901 GB, free: 15.15 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++ 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_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