Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial") translateModel(IBPSA.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.00102/0.001021, allocations: 92.25 kB / 16.33 MB, free: 6.871 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.001213/0.001213, allocations: 191.4 kB / 17.23 MB, free: 6.699 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.507/1.507, allocations: 223.2 MB / 241.2 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7506/0.7506, allocations: 114.4 MB / 406.7 MB, free: 3.973 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004169/0.000417, allocations: 12.91 kB / 494.5 MB, free: 7.977 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1909/0.1913, allocations: 77.27 MB / 0.5583 GB, free: 10.92 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Binomial): time 0.0009015/0.1923, allocations: 295.1 kB / 0.5586 GB, free: 10.63 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004584/0.1928, allocations: 102.1 kB / 0.5587 GB, free: 10.53 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.1e-05/0.1928, allocations: 4 kB / 0.5587 GB, free: 10.53 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.702e-05/0.1928, allocations: 0 / 0.5587 GB, free: 10.53 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 1.074e-05/0.1929, allocations: 0 / 0.5587 GB, free: 10.53 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003683/0.1932, allocations: 39.83 kB / 0.5588 GB, free: 10.49 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001352/0.1934, allocations: 51.94 kB / 0.5588 GB, free: 10.44 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.702e-05/0.1935, allocations: 7.938 kB / 0.5588 GB, free: 10.43 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.47e-05/0.1935, allocations: 19.98 kB / 0.5588 GB, free: 10.41 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.002e-05/0.1936, allocations: 23.95 kB / 0.5589 GB, free: 10.39 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.1936, allocations: 4 kB / 0.5589 GB, free: 10.38 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001476/0.1938, allocations: 43.97 kB / 0.5589 GB, free: 10.34 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.809e-05/0.1938, allocations: 27.89 kB / 0.5589 GB, free: 10.31 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.097e-05/0.1939, allocations: 29.7 kB / 0.559 GB, free: 10.28 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001259/0.194, allocations: 39.92 kB / 0.559 GB, free: 10.24 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.194, allocations: 0 / 0.559 GB, free: 10.24 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.194, allocations: 4 kB / 0.559 GB, free: 10.23 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.585e-06/0.194, allocations: 0 / 0.559 GB, free: 10.23 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005096/0.1945, allocations: 355.4 kB / 0.5593 GB, free: 9.84 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.000144/0.1947, allocations: 12.02 kB / 0.5593 GB, free: 9.828 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.491e-05/0.1948, allocations: 7.906 kB / 0.5594 GB, free: 9.82 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.1949, allocations: 163.3 kB / 0.5595 GB, free: 9.621 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005056/0.1954, allocations: 288.9 kB / 0.5598 GB, free: 9.277 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.1954, allocations: 8 kB / 0.5598 GB, free: 9.27 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002538/0.1957, allocations: 85.53 kB / 0.5599 GB, free: 9.18 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.1957, allocations: 4 kB / 0.5599 GB, free: 9.176 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.1957, allocations: 0 / 0.5599 GB, free: 9.176 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.1957, allocations: 0 / 0.5599 GB, free: 9.176 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000393/0.1961, allocations: 135.8 kB / 0.56 GB, free: 9.043 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002052/0.1963, allocations: 169.7 kB / 0.5602 GB, free: 8.828 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002793/0.1966, allocations: 94.47 kB / 0.5603 GB, free: 8.727 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001358/0.1968, allocations: 44.83 kB / 0.5603 GB, free: 8.68 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.725e-05/0.1968, allocations: 4 kB / 0.5603 GB, free: 8.676 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.1968, allocations: 34.56 kB / 0.5603 GB, free: 8.633 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/0.1969, allocations: 0 / 0.5603 GB, free: 8.633 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.000527/0.1974, allocations: 153.7 kB / 0.5605 GB, free: 8.477 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.1974, allocations: 51.41 kB / 0.5605 GB, free: 8.414 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.294e-05/0.1975, allocations: 89.86 kB / 0.5606 GB, free: 8.316 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.1975, allocations: 33.64 kB / 0.5607 GB, free: 8.277 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.531e-05/0.1976, allocations: 84.33 kB / 0.5607 GB, free: 8.188 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.831e-05/0.1976, allocations: 39.53 kB / 0.5608 GB, free: 8.148 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.152e-06/0.1977, allocations: 0 / 0.5608 GB, free: 8.148 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.1978, allocations: 318.8 kB / 0.5611 GB, free: 7.828 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.1979, allocations: 27.98 kB / 0.5611 GB, free: 7.801 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.198, allocations: 35.97 kB / 0.5611 GB, free: 7.766 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.1982, allocations: 35.25 kB / 0.5612 GB, free: 7.734 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1982, allocations: 7.875 kB / 0.5612 GB, free: 7.727 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003703/0.1986, allocations: 109.5 kB / 0.5613 GB, free: 7.613 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.1986, allocations: 8 kB / 0.5613 GB, free: 7.605 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/0.1986, allocations: 0 / 0.5613 GB, free: 7.605 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.1986, allocations: 4 kB / 0.5613 GB, free: 7.602 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.1988, allocations: 27.88 kB / 0.5613 GB, free: 7.574 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.1988, allocations: 0 / 0.5613 GB, free: 7.574 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.275e-05/0.1989, allocations: 15.92 kB / 0.5613 GB, free: 7.559 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.1989, allocations: 4 kB / 0.5613 GB, free: 7.555 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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001325/0.199, allocations: 117.8 kB / 0.5614 GB, free: 7.43 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.646e-05/0.1991, allocations: 11.91 kB / 0.5615 GB, free: 7.418 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.04e-05/0.1991, allocations: 7.969 kB / 0.5615 GB, free: 7.41 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1991, allocations: 0 / 0.5615 GB, free: 7.41 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.545e-06/0.1991, allocations: 3.953 kB / 0.5615 GB, free: 7.406 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.1991, allocations: 0 / 0.5615 GB, free: 7.406 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/0.1993, allocations: 173.7 kB / 0.5616 GB, free: 7.188 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.1993, allocations: 3.984 kB / 0.5616 GB, free: 7.184 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/0.1995, allocations: 31.91 kB / 0.5617 GB, free: 7.152 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.1995, allocations: 3.938 kB / 0.5617 GB, free: 7.148 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.1995, allocations: 4 kB / 0.5617 GB, free: 7.145 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.1995, allocations: 0 / 0.5617 GB, free: 7.145 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1995, allocations: 4 kB / 0.5617 GB, free: 7.141 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004322/0.1999, allocations: 141 kB / 0.5618 GB, free: 6.984 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.181e-05/0.2, allocations: 85.02 kB / 0.5619 GB, free: 6.883 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.2, allocations: 0 / 0.5619 GB, free: 6.883 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.695e-05/0.2001, allocations: 7.984 kB / 0.5619 GB, free: 6.875 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.821e-05/0.2002, allocations: 11.98 kB / 0.5619 GB, free: 6.863 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.2002, allocations: 7.984 kB / 0.5619 GB, free: 6.855 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.523e-05/0.2002, allocations: 79.28 kB / 0.562 GB, free: 6.777 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2002, allocations: 0 / 0.562 GB, free: 6.777 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002358/0.2005, allocations: 31.89 kB / 0.562 GB, free: 6.746 MB / 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: 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 (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.0002366/0.2007, allocations: 123.8 kB / 0.5622 GB, free: 6.617 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003321/0.201, allocations: 83.94 kB / 0.5622 GB, free: 6.535 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2011, allocations: 0 / 0.5622 GB, free: 6.535 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001485/0.2012, allocations: 43.91 kB / 0.5623 GB, free: 6.492 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001448/0.2014, allocations: 14.67 kB / 0.5623 GB, free: 6.48 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004239/0.2018, allocations: 193.4 kB / 0.5625 GB, free: 6.262 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/0.2021, allocations: 0.6848 MB / 0.5631 GB, free: 5.551 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.534e-05/0.2022, allocations: 23.41 kB / 0.5632 GB, free: 5.527 MB / 430.1 MB Notification: Performance of SimCode: time 3e-07/0.2022, allocations: 0 / 0.5632 GB, free: 5.527 MB / 430.1 MB Notification: Performance of Templates: time 0.003473/0.2057, allocations: 1.312 MB / 0.5644 GB, free: 4.215 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.makefile make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.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 OMCppIBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BinomialCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BinomialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BinomialCalcHelperMain.o] Error 1