Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.002106/0.002106, allocations: 100.1 kB / 15.88 MB, free: 12 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.00301/0.003011, allocations: 197.8 kB / 16.79 MB, free: 6.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.671/2.671, allocations: 222.9 MB / 240.5 MB, free: 4.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003306/0.003306, allocations: 286.9 kB / 290.9 MB, free: 2.055 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.946/1.946, allocations: 169.2 MB / 0.4983 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002477/0.002476, allocations: 95.98 kB / 0.5952 GB, free: 28.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.3454, allocations: 86.97 MB / 0.6801 GB, free: 1.129 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Binomial): time 0.003418/0.3489, allocations: 0.64 MB / 0.6807 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008035/0.3498, allocations: 116.6 kB / 0.6808 GB, free: 392 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.538e-05/0.3498, allocations: 0 / 0.6808 GB, free: 392 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 4.844e-05/0.3499, allocations: 0 / 0.6808 GB, free: 392 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 1.163e-05/0.3499, allocations: 0.625 kB / 0.6808 GB, free: 392 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004942/0.3504, allocations: 33.41 kB / 0.6809 GB, free: 360 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001941/0.3506, allocations: 63.92 kB / 0.6809 GB, free: 296 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.664e-05/0.3507, allocations: 4 kB / 0.6809 GB, free: 292 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.623e-05/0.3508, allocations: 19.98 kB / 0.6809 GB, free: 272 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.13e-05/0.3508, allocations: 24.52 kB / 0.681 GB, free: 248 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.86e-05/0.3509, allocations: 4 kB / 0.681 GB, free: 244 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001815/0.3511, allocations: 47.97 kB / 0.681 GB, free: 196 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 5.794e-05/0.3511, allocations: 23.95 kB / 0.681 GB, free: 172 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 7.001e-05/0.3512, allocations: 23.86 kB / 0.6811 GB, free: 148 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001614/0.3514, allocations: 39.94 kB / 0.6811 GB, free: 108 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.3514, allocations: 0 / 0.6811 GB, free: 108 kB / 478.1 MB Notification: Performance of FrontEnd: time 5.1e-06/0.3514, allocations: 0 / 0.6811 GB, free: 108 kB / 478.1 MB Notification: Performance of Transformations before backend: time 6.792e-06/0.3514, allocations: 7.938 kB / 0.6811 GB, free: 100 kB / 478.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.000872/0.3523, allocations: 375.8 kB / 0.6815 GB, free: 15.68 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.822e-05/0.3524, allocations: 8.031 kB / 0.6815 GB, free: 15.67 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.35e-05/0.3525, allocations: 12.84 kB / 0.6815 GB, free: 15.66 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.3527, allocations: 160.4 kB / 0.6816 GB, free: 15.46 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004883/0.3532, allocations: 285.6 kB / 0.6819 GB, free: 15.12 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.799e-05/0.3532, allocations: 8.375 kB / 0.6819 GB, free: 15.12 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003849/0.3536, allocations: 74.2 kB / 0.682 GB, free: 15.04 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.446e-05/0.3536, allocations: 7.922 kB / 0.682 GB, free: 15.03 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.3537, allocations: 3.938 kB / 0.682 GB, free: 15.03 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.3537, allocations: 0 / 0.682 GB, free: 15.03 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005366/0.3542, allocations: 135.8 kB / 0.6821 GB, free: 14.89 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003482/0.3546, allocations: 181.7 kB / 0.6823 GB, free: 14.67 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004199/0.355, allocations: 90.52 kB / 0.6824 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001931/0.3552, allocations: 44.78 kB / 0.6824 GB, free: 14.52 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.031e-05/0.3553, allocations: 7.984 kB / 0.6824 GB, free: 14.52 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.419e-05/0.3553, allocations: 30.56 kB / 0.6825 GB, free: 14.48 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.984e-06/0.3553, allocations: 0 / 0.6825 GB, free: 14.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009527/0.3563, allocations: 153.8 kB / 0.6826 GB, free: 14.32 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.049e-05/0.3564, allocations: 59.41 kB / 0.6827 GB, free: 14.25 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.097e-05/0.3564, allocations: 89.86 kB / 0.6828 GB, free: 14.15 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001865/0.3566, allocations: 25.7 kB / 0.6828 GB, free: 14.12 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.716e-05/0.3567, allocations: 84.12 kB / 0.6829 GB, free: 14.04 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.251e-05/0.3568, allocations: 35.41 kB / 0.6829 GB, free: 14 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.548e-05/0.3569, allocations: 33.69 kB / 0.6829 GB, free: 13.96 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.3571, allocations: 314.8 kB / 0.6832 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001911/0.3573, allocations: 39.97 kB / 0.6833 GB, free: 13.61 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001739/0.3575, allocations: 27.97 kB / 0.6833 GB, free: 13.58 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003742/0.3578, allocations: 77.47 kB / 0.6834 GB, free: 13.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.3579, allocations: 7.875 kB / 0.6834 GB, free: 13.49 MB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004882/0.3584, allocations: 113.5 kB / 0.6835 GB, free: 13.38 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.427e-05/0.3584, allocations: 11.94 kB / 0.6835 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.3584, allocations: 0 / 0.6835 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/0.3584, allocations: 0 / 0.6835 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002258/0.3587, allocations: 19.98 kB / 0.6835 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.635e-05/0.3587, allocations: 8 kB / 0.6835 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.548e-05/0.3588, allocations: 11.98 kB / 0.6835 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/0.3588, allocations: 0 / 0.6835 GB, free: 13.32 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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002082/0.359, allocations: 123.1 kB / 0.6837 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.559e-05/0.3591, allocations: 7.938 kB / 0.6837 GB, free: 13.19 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.13e-05/0.3592, allocations: 11.97 kB / 0.6837 GB, free: 13.18 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.3592, allocations: 0 / 0.6837 GB, free: 13.18 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.3592, allocations: 0 / 0.6837 GB, free: 13.18 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.3592, allocations: 4 kB / 0.6837 GB, free: 13.17 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002299/0.3594, allocations: 177.6 kB / 0.6838 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.3595, allocations: 0 / 0.6838 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000169/0.3596, allocations: 31.91 kB / 0.6839 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.3596, allocations: 3.938 kB / 0.6839 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.006e-05/0.3597, allocations: 4 kB / 0.6839 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.3597, allocations: 0 / 0.6839 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3597, allocations: 0 / 0.6839 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004999/0.3602, allocations: 141 kB / 0.684 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.432e-05/0.3603, allocations: 88.95 kB / 0.6841 GB, free: 12.65 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.152e-05/0.3603, allocations: 7.938 kB / 0.6841 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.478e-05/0.3604, allocations: 7.984 kB / 0.6841 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.3606, allocations: 11.98 kB / 0.6841 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.3606, allocations: 3.938 kB / 0.6841 GB, free: 12.62 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.203e-05/0.3606, allocations: 79.28 kB / 0.6842 GB, free: 12.54 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.3607, allocations: 0 / 0.6842 GB, free: 12.54 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003861/0.361, allocations: 27.92 kB / 0.6842 GB, free: 12.51 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: 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 (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.0003264/0.3614, allocations: 123.2 kB / 0.6844 GB, free: 12.38 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004699/0.3619, allocations: 87.86 kB / 0.6844 GB, free: 12.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3619, allocations: 0 / 0.6844 GB, free: 12.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002938/0.3622, allocations: 47.91 kB / 0.6845 GB, free: 12.25 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.3624, allocations: 8 kB / 0.6845 GB, free: 12.24 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007702/0.3632, allocations: 200.6 kB / 0.6847 GB, free: 12.02 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007417/0.364, allocations: 0.6848 MB / 0.6853 GB, free: 11.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.413e-05/0.3641, allocations: 19.42 kB / 0.6854 GB, free: 11.29 MB / 494.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3641, allocations: 0 / 0.6854 GB, free: 11.29 MB / 494.1 MB Notification: Performance of Templates: time 0.004969/0.3691, allocations: 1.308 MB / 0.6866 GB, free: 9.977 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.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 OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BinomialCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BinomialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BinomialCalcHelperMain.o] Error 1