Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.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.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions") translateModel(BuildingSystems.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009136/0.0009136, allocations: 92.08 kB / 16.02 MB, free: 80 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.001023/0.001023, allocations: 179.3 kB / 16.92 MB, free: 6.652 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.337/1.337, allocations: 223.2 MB / 241 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001926/0.001926, allocations: 266.8 kB / 292.3 MB, free: 1.855 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9365/0.9365, allocations: 169.5 MB / 0.501 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004205/0.0004206, allocations: 13.05 kB / 0.5993 GB, free: 28.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1779, allocations: 88.55 MB / 0.6858 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.VectorFunctions): time 0.002019/0.18, allocations: 1.301 MB / 0.687 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009726/0.181, allocations: 0.5064 MB / 0.6875 GB, free: 13.28 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.863e-05/0.181, allocations: 0 / 0.6875 GB, free: 13.28 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001192/0.1811, allocations: 8.5 kB / 0.6875 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.847e-05/0.1812, allocations: 9.156 kB / 0.6876 GB, free: 13.26 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002299/0.1814, allocations: 31.95 kB / 0.6876 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001065/0.1815, allocations: 73.14 kB / 0.6877 GB, free: 13.16 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.1817, allocations: 40.92 kB / 0.6877 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.933e-05/0.1818, allocations: 35.78 kB / 0.6877 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.415e-05/0.1819, allocations: 31.84 kB / 0.6878 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.1819, allocations: 0 / 0.6878 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.486e-05/0.182, allocations: 12 kB / 0.6878 GB, free: 13.04 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.919e-05/0.182, allocations: 20.41 kB / 0.6878 GB, free: 13.02 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.098e-05/0.1821, allocations: 53.45 kB / 0.6878 GB, free: 12.96 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001082/0.1822, allocations: 72.31 kB / 0.6879 GB, free: 12.89 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1822, allocations: 0.7188 kB / 0.6879 GB, free: 12.89 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.1822, allocations: 0 / 0.6879 GB, free: 12.89 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.1822, allocations: 1.938 kB / 0.6879 GB, free: 12.89 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005234/0.1828, allocations: 391.8 kB / 0.6883 GB, free: 12.46 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.1828, allocations: 8.031 kB / 0.6883 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.181e-05/0.1829, allocations: 15.28 kB / 0.6883 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001854/0.1831, allocations: 188.2 kB / 0.6885 GB, free: 12.22 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.1831, allocations: 8.375 kB / 0.6885 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.1831, allocations: 4.375 kB / 0.6885 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002696/0.1834, allocations: 120 kB / 0.6886 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.1834, allocations: 0 / 0.6886 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.1834, allocations: 7.984 kB / 0.6886 GB, free: 12.08 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.1834, allocations: 0 / 0.6886 GB, free: 12.08 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002381/0.1837, allocations: 110.3 kB / 0.6887 GB, free: 11.98 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005967/0.1843, allocations: 384.5 kB / 0.6891 GB, free: 11.55 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001469/0.1844, allocations: 71.36 kB / 0.6892 GB, free: 11.48 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001304/0.1846, allocations: 52.95 kB / 0.6892 GB, free: 11.42 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.819e-05/0.1846, allocations: 11.97 kB / 0.6892 GB, free: 11.41 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.1846, allocations: 30.56 kB / 0.6892 GB, free: 11.37 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 2.966e-06/0.1847, allocations: 0 / 0.6892 GB, free: 11.37 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004668/0.1851, allocations: 185.5 kB / 0.6894 GB, free: 11.18 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.1852, allocations: 55.41 kB / 0.6895 GB, free: 11.12 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.1853, allocations: 139.8 kB / 0.6896 GB, free: 10.97 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.1853, allocations: 25.7 kB / 0.6896 GB, free: 10.94 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.617e-05/0.1854, allocations: 108.1 kB / 0.6897 GB, free: 10.83 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.822e-05/0.1854, allocations: 19.7 kB / 0.6898 GB, free: 10.81 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.674e-05/0.1854, allocations: 13.72 kB / 0.6898 GB, free: 10.79 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.1856, allocations: 322.8 kB / 0.6901 GB, free: 10.47 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.1857, allocations: 47.97 kB / 0.6901 GB, free: 10.42 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.1858, allocations: 43.97 kB / 0.6902 GB, free: 10.38 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000238/0.186, allocations: 104.8 kB / 0.6903 GB, free: 10.27 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1861, allocations: 0 / 0.6903 GB, free: 10.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000271/0.1863, allocations: 133.6 kB / 0.6904 GB, free: 10.14 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.1864, allocations: 8 kB / 0.6904 GB, free: 10.13 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.1864, allocations: 0 / 0.6904 GB, free: 10.13 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.1864, allocations: 3.984 kB / 0.6904 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.1865, allocations: 27.86 kB / 0.6904 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.1865, allocations: 0 / 0.6904 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.35e-05/0.1866, allocations: 15.89 kB / 0.6904 GB, free: 10.08 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/0.1867, allocations: 4 kB / 0.6905 GB, free: 10.08 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.0001019/0.1868, allocations: 127.1 kB / 0.6906 GB, free: 9.945 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.897e-05/0.1868, allocations: 7.906 kB / 0.6906 GB, free: 9.938 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003651/0.1872, allocations: 158.3 kB / 0.6907 GB, free: 9.777 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.1872, allocations: 7.938 kB / 0.6907 GB, free: 9.77 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1872, allocations: 0.5 kB / 0.6907 GB, free: 9.77 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.1872, allocations: 3.938 kB / 0.6907 GB, free: 9.766 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002051/0.1874, allocations: 201.6 kB / 0.6909 GB, free: 9.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.1874, allocations: 4 kB / 0.6909 GB, free: 9.516 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.1875, allocations: 19.98 kB / 0.691 GB, free: 9.496 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1875, allocations: 0 / 0.691 GB, free: 9.496 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.1876, allocations: 4 kB / 0.691 GB, free: 9.492 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.1876, allocations: 7.938 kB / 0.691 GB, free: 9.484 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.1876, allocations: 11.92 kB / 0.691 GB, free: 9.473 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003195/0.1879, allocations: 227.4 kB / 0.6912 GB, free: 9.234 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.656e-05/0.1879, allocations: 81.02 kB / 0.6913 GB, free: 9.137 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.188, allocations: 7.984 kB / 0.6913 GB, free: 9.129 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.1881, allocations: 11.94 kB / 0.6913 GB, free: 9.117 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.01e-05/0.1881, allocations: 7.984 kB / 0.6913 GB, free: 9.109 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.898e-06/0.1881, allocations: 4 kB / 0.6913 GB, free: 9.105 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.932e-05/0.1882, allocations: 105.3 kB / 0.6914 GB, free: 9.004 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1882, allocations: 0 / 0.6914 GB, free: 9.004 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002235/0.1884, allocations: 16 kB / 0.6914 GB, free: 8.988 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0001311/0.1886, allocations: 99.25 kB / 0.6915 GB, free: 8.883 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002931/0.1889, allocations: 111.9 kB / 0.6916 GB, free: 8.773 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1889, allocations: 4 kB / 0.6916 GB, free: 8.77 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001282/0.189, allocations: 59.95 kB / 0.6917 GB, free: 8.711 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002141/0.1893, allocations: 4 kB / 0.6917 GB, free: 8.707 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004591/0.1897, allocations: 290.6 kB / 0.692 GB, free: 8.395 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002816/0.19, allocations: 0.7005 MB / 0.6926 GB, free: 7.668 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.04e-05/0.1901, allocations: 15.42 kB / 0.6927 GB, free: 7.652 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1901, allocations: 0 / 0.6927 GB, free: 7.652 MB / 494.1 MB Notification: Performance of Templates: time 0.0028/0.1929, allocations: 1.102 MB / 0.6937 GB, free: 6.551 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.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.VectorFunctionsCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctionsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctionsCalcHelperMain.o] Error 1