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.0008643/0.0008644, allocations: 97.02 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.001025/0.001025, allocations: 181.4 kB / 16.58 MB, free: 6.422 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.416/1.416, allocations: 223.3 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001834/0.001834, allocations: 274.2 kB / 292 MB, free: 1.969 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8339/0.8339, allocations: 144.7 MB / 487.9 MB, free: 7.129 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004431/0.0004431, allocations: 14.84 kB / 0.5691 GB, free: 38.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1817/0.1821, allocations: 83.1 MB / 0.6502 GB, free: 3.555 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Binomial): time 0.0007218/0.1829, allocations: 303.8 kB / 0.6505 GB, free: 3.258 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000337/0.1832, allocations: 101.6 kB / 0.6506 GB, free: 3.16 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.698e-05/0.1833, allocations: 0.8438 kB / 0.6506 GB, free: 3.16 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.273e-05/0.1833, allocations: 0 / 0.6506 GB, free: 3.16 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.111e-06/0.1833, allocations: 1.344 kB / 0.6506 GB, free: 3.16 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002778/0.1836, allocations: 27.95 kB / 0.6507 GB, free: 3.133 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.1837, allocations: 51.94 kB / 0.6507 GB, free: 3.082 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.263e-05/0.1838, allocations: 0 / 0.6507 GB, free: 3.082 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.431e-05/0.1838, allocations: 33.44 kB / 0.6507 GB, free: 3.051 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.667e-05/0.1839, allocations: 19.97 kB / 0.6508 GB, free: 3.031 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.1839, allocations: 4 kB / 0.6508 GB, free: 3.027 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.184, allocations: 47.95 kB / 0.6508 GB, free: 2.98 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.264e-05/0.184, allocations: 21.16 kB / 0.6508 GB, free: 2.961 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.232e-05/0.1841, allocations: 29.7 kB / 0.6509 GB, free: 2.926 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.504e-05/0.1842, allocations: 43.88 kB / 0.6509 GB, free: 2.883 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.1842, allocations: 5.859 kB / 0.6509 GB, free: 2.879 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1842, allocations: 3.938 kB / 0.6509 GB, free: 2.875 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.1842, allocations: 0 / 0.6509 GB, free: 2.875 MB / 446.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.0005091/0.1847, allocations: 355.3 kB / 0.6513 GB, free: 2.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.1848, allocations: 10.56 kB / 0.6513 GB, free: 2.473 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.941e-05/0.1848, allocations: 11.91 kB / 0.6513 GB, free: 2.461 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.773e-05/0.1849, allocations: 159.1 kB / 0.6514 GB, free: 2.266 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002525/0.1852, allocations: 277 kB / 0.6517 GB, free: 1.934 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.875e-05/0.1852, allocations: 8 kB / 0.6517 GB, free: 1.926 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000237/0.1855, allocations: 78.12 kB / 0.6518 GB, free: 1.844 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.1855, allocations: 0 / 0.6518 GB, free: 1.844 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.1855, allocations: 4.625 kB / 0.6518 GB, free: 1.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.1855, allocations: 4 kB / 0.6518 GB, free: 1.836 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003175/0.1858, allocations: 136.3 kB / 0.6519 GB, free: 1.703 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001886/0.186, allocations: 178.9 kB / 0.6521 GB, free: 1.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002708/0.1863, allocations: 104 kB / 0.6522 GB, free: 1.371 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001259/0.1864, allocations: 40.83 kB / 0.6522 GB, free: 1.328 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.8e-05/0.1865, allocations: 7.984 kB / 0.6522 GB, free: 1.32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.1865, allocations: 32.5 kB / 0.6523 GB, free: 1.281 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 1.072e-06/0.1865, allocations: 0 / 0.6523 GB, free: 1.281 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005129/0.187, allocations: 153.7 kB / 0.6524 GB, free: 1.125 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/0.1871, allocations: 56.44 kB / 0.6525 GB, free: 1.059 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.114e-05/0.1871, allocations: 89.86 kB / 0.6525 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.1872, allocations: 27.33 kB / 0.6526 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.186e-05/0.1872, allocations: 84.33 kB / 0.6526 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.823e-05/0.1872, allocations: 31.55 kB / 0.6527 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.406e-06/0.1873, allocations: 4 kB / 0.6527 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.1874, allocations: 315.6 kB / 0.653 GB, free: 500 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.1875, allocations: 33.22 kB / 0.653 GB, free: 468 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/0.1876, allocations: 31.97 kB / 0.653 GB, free: 436 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/0.1878, allocations: 33.3 kB / 0.6531 GB, free: 404 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1878, allocations: 0 / 0.6531 GB, free: 404 kB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002999/0.1881, allocations: 133.9 kB / 0.6532 GB, free: 264 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.1881, allocations: 4.531 kB / 0.6532 GB, free: 260 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1881, allocations: 0 / 0.6532 GB, free: 260 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.1881, allocations: 0.625 kB / 0.6532 GB, free: 260 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.1883, allocations: 24.58 kB / 0.6532 GB, free: 236 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.1883, allocations: 0 / 0.6532 GB, free: 236 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.388e-05/0.1883, allocations: 9.484 kB / 0.6532 GB, free: 228 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.1884, allocations: 0 / 0.6532 GB, free: 228 kB / 446.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 8.803e-05/0.1885, allocations: 127.7 kB / 0.6534 GB, free: 92 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.261e-05/0.1885, allocations: 7.859 kB / 0.6534 GB, free: 84 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.633e-05/0.1885, allocations: 12.72 kB / 0.6534 GB, free: 72 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.1885, allocations: 8.531 kB / 0.6534 GB, free: 64 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.1885, allocations: 0 / 0.6534 GB, free: 64 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1886, allocations: 0.875 kB / 0.6534 GB, free: 64 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001519/0.1887, allocations: 177.6 kB / 0.6536 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/0.1887, allocations: 0.7188 kB / 0.6536 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/0.1888, allocations: 27.97 kB / 0.6536 GB, free: 15.81 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1888, allocations: 0.5938 kB / 0.6536 GB, free: 15.81 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.1889, allocations: 11.95 kB / 0.6536 GB, free: 15.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.1889, allocations: 4.875 kB / 0.6536 GB, free: 15.8 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1889, allocations: 0 / 0.6536 GB, free: 15.8 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003204/0.1892, allocations: 143.9 kB / 0.6537 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.483e-05/0.1892, allocations: 81.05 kB / 0.6538 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.1893, allocations: 4 kB / 0.6538 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.008e-05/0.1893, allocations: 7.953 kB / 0.6538 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.602e-05/0.1894, allocations: 15.97 kB / 0.6538 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.1894, allocations: 4.594 kB / 0.6539 GB, free: 15.51 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.382e-05/0.1895, allocations: 81.23 kB / 0.6539 GB, free: 15.43 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1895, allocations: 0 / 0.6539 GB, free: 15.43 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000227/0.1897, allocations: 24 kB / 0.654 GB, free: 15.41 MB / 462.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.0002418/0.1899, allocations: 115.9 kB / 0.6541 GB, free: 15.29 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00033/0.1903, allocations: 89.12 kB / 0.6541 GB, free: 15.2 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1903, allocations: 0 / 0.6541 GB, free: 15.2 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001382/0.1904, allocations: 43.97 kB / 0.6542 GB, free: 15.16 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001484/0.1906, allocations: 9 kB / 0.6542 GB, free: 15.15 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000445/0.191, allocations: 190.9 kB / 0.6544 GB, free: 14.93 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.1914, allocations: 0.6848 MB / 0.655 GB, free: 14.22 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.791e-05/0.1914, allocations: 23.36 kB / 0.6551 GB, free: 14.2 MB / 462.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1914, allocations: 0 / 0.6551 GB, free: 14.2 MB / 462.1 MB Notification: Performance of Templates: time 0.003043/0.1945, allocations: 1.313 MB / 0.6564 GB, free: 12.89 MB / 462.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++ 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 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