Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.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.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial") translateModel(BuildingSystems.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 102.6 kB / 15.71 MB, free: 460 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.002011/0.002011, allocations: 176 kB / 16.58 MB, free: 6.859 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.398/1.398, allocations: 223.3 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001742/0.001742, allocations: 267 kB / 292 MB, free: 1.98 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.8 MB, free: 7.125 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004298/0.0004301, allocations: 11.69 kB / 0.5691 GB, free: 38.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.1798, allocations: 83.09 MB / 0.6502 GB, free: 3.531 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.FallingFactorial): time 0.002004/0.1818, allocations: 1.231 MB / 0.6514 GB, free: 2.293 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004243/0.1823, allocations: 131.7 kB / 0.6516 GB, free: 2.164 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.774e-05/0.1824, allocations: 0.5 kB / 0.6516 GB, free: 2.164 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.119e-05/0.1824, allocations: 4.953 kB / 0.6516 GB, free: 2.16 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.607e-05/0.1825, allocations: 11.92 kB / 0.6516 GB, free: 2.148 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002933/0.1828, allocations: 17.27 kB / 0.6516 GB, free: 2.133 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.999e-05/0.1829, allocations: 27.92 kB / 0.6516 GB, free: 2.105 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.183, allocations: 12.61 kB / 0.6516 GB, free: 2.094 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.857e-05/0.183, allocations: 13.12 kB / 0.6516 GB, free: 2.082 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.209e-05/0.1831, allocations: 19.91 kB / 0.6517 GB, free: 2.062 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.1831, allocations: 0 / 0.6517 GB, free: 2.062 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.822e-05/0.1832, allocations: 11.98 kB / 0.6517 GB, free: 2.051 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.372e-05/0.1832, allocations: 8.562 kB / 0.6517 GB, free: 2.043 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.06e-05/0.1833, allocations: 27.11 kB / 0.6517 GB, free: 2.012 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001036/0.1834, allocations: 39.86 kB / 0.6517 GB, free: 1.973 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.1834, allocations: 0 / 0.6517 GB, free: 1.973 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1834, allocations: 3.938 kB / 0.6517 GB, free: 1.969 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.1834, allocations: 5.312 kB / 0.6518 GB, free: 1.965 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004994/0.1839, allocations: 345.2 kB / 0.6521 GB, free: 1.582 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.184, allocations: 8.031 kB / 0.6521 GB, free: 1.574 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.892e-05/0.184, allocations: 0 / 0.6521 GB, free: 1.574 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.1842, allocations: 177.6 kB / 0.6523 GB, free: 1.363 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.909e-05/0.1842, allocations: 3.953 kB / 0.6523 GB, free: 1.359 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.1842, allocations: 8 kB / 0.6523 GB, free: 1.352 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002241/0.1845, allocations: 65.66 kB / 0.6523 GB, free: 1.281 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.1845, allocations: 0.5 kB / 0.6523 GB, free: 1.281 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.1845, allocations: 0 / 0.6523 GB, free: 1.281 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.1845, allocations: 4.562 kB / 0.6523 GB, free: 1.277 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001916/0.1847, allocations: 54.61 kB / 0.6524 GB, free: 1.227 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000503/0.1852, allocations: 282.9 kB / 0.6527 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003214/0.1856, allocations: 59.3 kB / 0.6527 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.1857, allocations: 30.3 kB / 0.6527 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003467/0.186, allocations: 402.6 kB / 0.6531 GB, free: 328 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.1861, allocations: 32.19 kB / 0.6532 GB, free: 288 kB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.373e-06/0.1861, allocations: 0 / 0.6532 GB, free: 288 kB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.000424/0.1865, allocations: 120.1 kB / 0.6533 GB, free: 164 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.1865, allocations: 52 kB / 0.6533 GB, free: 100 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.1867, allocations: 106.4 kB / 0.6534 GB, free: 15.98 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.1867, allocations: 30.33 kB / 0.6535 GB, free: 15.95 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.265e-05/0.1868, allocations: 88.2 kB / 0.6535 GB, free: 15.86 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.958e-05/0.1868, allocations: 8.438 kB / 0.6535 GB, free: 15.85 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/0.1868, allocations: 4.625 kB / 0.6535 GB, free: 15.85 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.187, allocations: 327.7 kB / 0.6539 GB, free: 15.52 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.608e-05/0.1871, allocations: 22.14 kB / 0.6539 GB, free: 15.5 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.19e-05/0.1871, allocations: 27.97 kB / 0.6539 GB, free: 15.47 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.277e-05/0.1872, allocations: 21.27 kB / 0.6539 GB, free: 15.45 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1873, allocations: 4.75 kB / 0.6539 GB, free: 15.45 MB / 462.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002392/0.1875, allocations: 87.56 kB / 0.654 GB, free: 15.36 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.1875, allocations: 4.625 kB / 0.654 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.1875, allocations: 0 / 0.654 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.1876, allocations: 0.5625 kB / 0.654 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.054e-05/0.1877, allocations: 21.23 kB / 0.654 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.1877, allocations: 0 / 0.654 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.645e-05/0.1878, allocations: 12.95 kB / 0.6541 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.1878, allocations: 4.328 kB / 0.6541 GB, free: 15.32 MB / 462.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,falFac.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 9.905e-05/0.1879, allocations: 118.2 kB / 0.6542 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.166e-05/0.1879, allocations: 7.984 kB / 0.6542 GB, free: 15.19 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002812/0.1882, allocations: 95.61 kB / 0.6543 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.1882, allocations: 3.938 kB / 0.6543 GB, free: 15.08 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.1882, allocations: 3.984 kB / 0.6543 GB, free: 15.08 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.1882, allocations: 0 / 0.6543 GB, free: 15.08 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001864/0.1884, allocations: 170.3 kB / 0.6544 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1884, allocations: 0 / 0.6544 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.688e-05/0.1885, allocations: 17.7 kB / 0.6545 GB, free: 14.85 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.1885, allocations: 0 / 0.6545 GB, free: 14.85 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.1886, allocations: 0 / 0.6545 GB, free: 14.85 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1886, allocations: 0 / 0.6545 GB, free: 14.85 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1886, allocations: 0.6562 kB / 0.6545 GB, free: 14.85 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002713/0.1888, allocations: 195.3 kB / 0.6546 GB, free: 14.64 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.144e-05/0.1889, allocations: 77.11 kB / 0.6547 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.1889, allocations: 0 / 0.6547 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.558e-05/0.189, allocations: 16 kB / 0.6547 GB, free: 14.53 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.781e-05/0.1891, allocations: 3.984 kB / 0.6547 GB, free: 14.53 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.662e-06/0.1891, allocations: 4 kB / 0.6547 GB, free: 14.52 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.443e-05/0.1892, allocations: 91.56 kB / 0.6548 GB, free: 14.43 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1892, allocations: 0 / 0.6548 GB, free: 14.43 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002458/0.1894, allocations: 8 kB / 0.6548 GB, free: 14.43 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: 2 (rea2Int.y,falFac.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.0001844/0.1896, allocations: 107.2 kB / 0.6549 GB, free: 14.31 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000226/0.1898, allocations: 59.95 kB / 0.655 GB, free: 14.25 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1899, allocations: 0 / 0.655 GB, free: 14.25 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.19, allocations: 35.91 kB / 0.655 GB, free: 14.22 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003044/0.1903, allocations: 11.95 kB / 0.655 GB, free: 14.21 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003624/0.1907, allocations: 146.4 kB / 0.6552 GB, free: 14.03 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.191, allocations: 0.6809 MB / 0.6558 GB, free: 13.32 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.276e-05/0.191, allocations: 11.42 kB / 0.6559 GB, free: 13.31 MB / 462.1 MB Notification: Performance of SimCode: time 5.11e-07/0.191, allocations: 0 / 0.6559 GB, free: 13.31 MB / 462.1 MB Notification: Performance of Templates: time 0.002678/0.1937, allocations: 0.7984 MB / 0.6566 GB, free: 12.52 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.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.Examples.FallingFactorialCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorialCalcHelperMain.o] Error 1