Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial") translateModel(BuildingSystems.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.002356/0.002356, 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.003417/0.003417, allocations: 195.5 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.715/2.715, allocations: 222.9 MB / 240.4 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003099/0.003099, allocations: 286.7 kB / 290.9 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.938/1.938, allocations: 169.2 MB / 0.4983 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003061/0.003061, allocations: 89.7 kB / 0.5951 GB, free: 28.39 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.439/0.4421, allocations: 86.98 MB / 0.6801 GB, free: 1.203 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Binomial): time 0.00656/0.4487, allocations: 1.593 MB / 0.6816 GB, free: 15.61 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001007/0.4498, allocations: 180.7 kB / 0.6818 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.882e-05/0.4499, allocations: 1.375 kB / 0.6818 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.093e-05/0.45, allocations: 0 / 0.6818 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.828e-05/0.4501, allocations: 3.938 kB / 0.6818 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000515/0.4506, allocations: 43.94 kB / 0.6818 GB, free: 15.39 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001296/0.4508, allocations: 30.83 kB / 0.6819 GB, free: 15.36 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001803/0.451, allocations: 12 kB / 0.6819 GB, free: 15.35 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.301e-05/0.4511, allocations: 19.91 kB / 0.6819 GB, free: 15.33 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.118e-05/0.4511, allocations: 15.92 kB / 0.6819 GB, free: 15.31 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.654e-05/0.4512, allocations: 4 kB / 0.6819 GB, free: 15.31 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002061/0.4514, allocations: 45.59 kB / 0.682 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.302e-05/0.4515, allocations: 7.969 kB / 0.682 GB, free: 15.26 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.226e-05/0.4515, allocations: 15.88 kB / 0.682 GB, free: 15.24 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001915/0.4517, allocations: 36.22 kB / 0.682 GB, free: 15.21 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.4518, allocations: 4.531 kB / 0.682 GB, free: 15.2 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4518, allocations: 1.719 kB / 0.682 GB, free: 15.2 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.802e-06/0.4518, allocations: 0 / 0.682 GB, free: 15.2 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.0009016/0.4527, allocations: 355.4 kB / 0.6824 GB, free: 14.8 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.054e-05/0.4528, allocations: 12.89 kB / 0.6824 GB, free: 14.79 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.714e-05/0.4529, allocations: 0.9375 kB / 0.6824 GB, free: 14.79 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003001/0.4532, allocations: 176.9 kB / 0.6826 GB, free: 14.58 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.204e-05/0.4533, allocations: 384 / 0.6826 GB, free: 14.58 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.906e-05/0.4533, allocations: 5 kB / 0.6826 GB, free: 14.58 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004131/0.4537, allocations: 63.69 kB / 0.6826 GB, free: 14.51 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.4538, allocations: 192 / 0.6826 GB, free: 14.51 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.917e-05/0.4538, allocations: 7.938 kB / 0.6826 GB, free: 14.5 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.336e-05/0.4538, allocations: 7.938 kB / 0.6826 GB, free: 14.5 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003631/0.4542, allocations: 44.55 kB / 0.6827 GB, free: 14.45 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007626/0.455, allocations: 276.7 kB / 0.6829 GB, free: 14.13 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005455/0.4555, allocations: 58.53 kB / 0.683 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001728/0.4557, allocations: 28.91 kB / 0.683 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004027/0.4562, allocations: 170.2 kB / 0.6832 GB, free: 13.83 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.4562, allocations: 34.55 kB / 0.6832 GB, free: 13.79 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 2.374e-06/0.4562, allocations: 0 / 0.6832 GB, free: 13.79 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0008426/0.4571, allocations: 93.48 kB / 0.6833 GB, free: 13.69 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.059e-05/0.4572, allocations: 59.41 kB / 0.6834 GB, free: 13.62 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001704/0.4574, allocations: 113.8 kB / 0.6835 GB, free: 13.5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.4574, allocations: 25.7 kB / 0.6835 GB, free: 13.47 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.669e-05/0.4575, allocations: 88.12 kB / 0.6836 GB, free: 13.38 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.651e-05/0.4575, allocations: 7.906 kB / 0.6836 GB, free: 13.37 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.563e-05/0.4576, allocations: 13.72 kB / 0.6836 GB, free: 13.35 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000375/0.458, allocations: 326.7 kB / 0.6839 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.4582, allocations: 19.98 kB / 0.6839 GB, free: 13 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001471/0.4584, allocations: 19.98 kB / 0.684 GB, free: 12.98 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003056/0.4587, allocations: 48.75 kB / 0.684 GB, free: 12.93 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.4587, allocations: 0 / 0.684 GB, free: 12.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000405/0.4591, allocations: 77.97 kB / 0.6841 GB, free: 12.85 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.799e-05/0.4592, allocations: 4 kB / 0.6841 GB, free: 12.85 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.4592, allocations: 3.984 kB / 0.6841 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.51e-05/0.4592, allocations: 4 kB / 0.6841 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002155/0.4594, allocations: 8 kB / 0.6841 GB, free: 12.83 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.419e-05/0.4595, allocations: 3.984 kB / 0.6841 GB, free: 12.83 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.4596, allocations: 7.906 kB / 0.6841 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.4596, allocations: 4 kB / 0.6841 GB, free: 12.82 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: 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 0.0001886/0.4598, allocations: 115.1 kB / 0.6842 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.284e-05/0.4599, allocations: 7.984 kB / 0.6842 GB, free: 12.69 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004772/0.4604, allocations: 85.48 kB / 0.6843 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.4604, allocations: 4 kB / 0.6843 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.4604, allocations: 0 / 0.6843 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.4605, allocations: 0 / 0.6843 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003553/0.4608, allocations: 181.5 kB / 0.6845 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.4608, allocations: 0 / 0.6845 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001476/0.461, allocations: 15.98 kB / 0.6845 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.461, allocations: 0 / 0.6845 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.461, allocations: 0 / 0.6845 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.4611, allocations: 4 kB / 0.6845 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4611, allocations: 0 / 0.6845 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005002/0.4616, allocations: 179.3 kB / 0.6847 GB, free: 12.15 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.4617, allocations: 81.11 kB / 0.6848 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.039e-05/0.4617, allocations: 4 kB / 0.6848 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.4619, allocations: 7.984 kB / 0.6848 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.462, allocations: 4 kB / 0.6848 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.4621, allocations: 4 kB / 0.6848 GB, free: 12.04 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001169/0.4622, allocations: 87.27 kB / 0.6849 GB, free: 11.95 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.4622, allocations: 0 / 0.6849 GB, free: 11.95 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005127/0.4627, allocations: 20 kB / 0.6849 GB, free: 11.93 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: 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.0003863/0.4631, allocations: 115.2 kB / 0.685 GB, free: 11.81 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004468/0.4636, allocations: 43.95 kB / 0.685 GB, free: 11.77 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.4636, allocations: 0 / 0.685 GB, free: 11.77 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001897/0.4638, allocations: 31.91 kB / 0.6851 GB, free: 11.73 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006099/0.4644, allocations: 7.938 kB / 0.6851 GB, free: 11.73 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006925/0.4652, allocations: 156.9 kB / 0.6852 GB, free: 11.54 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008991/0.4661, allocations: 0.6809 MB / 0.6859 GB, free: 10.84 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.684e-05/0.4661, allocations: 15.42 kB / 0.6859 GB, free: 10.82 MB / 494.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4662, allocations: 0 / 0.6859 GB, free: 10.82 MB / 494.1 MB Notification: Performance of Templates: time 0.00548/0.4716, allocations: 0.9715 MB / 0.6868 GB, free: 9.852 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.makefile make -j1 -f BuildingSystems_BuildingSystems.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 OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.BinomialCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.BinomialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.BinomialCalcHelperMain.o] Error 1