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.0008433/0.0008433, allocations: 102.8 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.0009312/0.0009314, allocations: 171.1 kB / 16.58 MB, free: 6.398 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.402/1.402, allocations: 223.3 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002373/0.002373, allocations: 266.8 kB / 292 MB, free: 1.977 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.8643/0.8643, allocations: 144.7 MB / 487.8 MB, free: 7.164 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000444/0.000444, allocations: 13.8 kB / 0.5691 GB, free: 38.39 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1773, allocations: 83.08 MB / 0.6502 GB, free: 3.582 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.VectorFunctions): time 0.002198/0.1795, allocations: 1.282 MB / 0.6515 GB, free: 2.289 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001071/0.1806, allocations: 482 kB / 0.6519 GB, free: 1.816 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.1808, allocations: 4 kB / 0.6519 GB, free: 1.812 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001297/0.1809, allocations: 11.86 kB / 0.652 GB, free: 1.801 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.52e-05/0.181, allocations: 8.547 kB / 0.652 GB, free: 1.793 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003059/0.1813, allocations: 32.81 kB / 0.652 GB, free: 1.762 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001293/0.1815, allocations: 67.78 kB / 0.6521 GB, free: 1.695 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001954/0.1817, allocations: 44.19 kB / 0.6521 GB, free: 1.652 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.816e-05/0.1818, allocations: 31.84 kB / 0.6521 GB, free: 1.621 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.52e-05/0.1819, allocations: 32.59 kB / 0.6522 GB, free: 1.59 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.453e-05/0.1819, allocations: 0 / 0.6522 GB, free: 1.59 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.804e-05/0.182, allocations: 8.578 kB / 0.6522 GB, free: 1.582 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.676e-05/0.182, allocations: 15.94 kB / 0.6522 GB, free: 1.566 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.092e-05/0.1821, allocations: 38.33 kB / 0.6522 GB, free: 1.523 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001299/0.1822, allocations: 55.88 kB / 0.6523 GB, free: 1.469 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.1822, allocations: 1 kB / 0.6523 GB, free: 1.469 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.047e-06/0.1823, allocations: 0 / 0.6523 GB, free: 1.469 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.1823, allocations: 8.594 kB / 0.6523 GB, free: 1.461 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006272/0.1829, allocations: 389.2 kB / 0.6527 GB, free: 1.035 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.183, allocations: 8.031 kB / 0.6527 GB, free: 1.027 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.234e-05/0.183, allocations: 12.47 kB / 0.6527 GB, free: 1.016 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002222/0.1832, allocations: 186.9 kB / 0.6529 GB, free: 0.793 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.1833, allocations: 9.078 kB / 0.6529 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.1833, allocations: 8 kB / 0.6529 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002947/0.1836, allocations: 121 kB / 0.653 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.1836, allocations: 1.125 kB / 0.653 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.1836, allocations: 8 kB / 0.653 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.1836, allocations: 0 / 0.653 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002398/0.1839, allocations: 107.8 kB / 0.6531 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006304/0.1845, allocations: 383.2 kB / 0.6535 GB, free: 128 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001442/0.1847, allocations: 64.23 kB / 0.6535 GB, free: 56 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000134/0.1848, allocations: 59.16 kB / 0.6536 GB, free: 16 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.309e-05/0.1849, allocations: 4 kB / 0.6536 GB, free: 15.99 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.1849, allocations: 35.22 kB / 0.6536 GB, free: 15.95 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.1849, allocations: 1.25 kB / 0.6536 GB, free: 15.95 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004941/0.1854, allocations: 188.9 kB / 0.6538 GB, free: 15.76 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.17e-05/0.1855, allocations: 55.36 kB / 0.6538 GB, free: 15.7 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.1856, allocations: 128.6 kB / 0.654 GB, free: 15.56 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.1856, allocations: 29.7 kB / 0.654 GB, free: 15.53 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.17e-05/0.1857, allocations: 112.2 kB / 0.6541 GB, free: 15.41 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.263e-05/0.1858, allocations: 27.67 kB / 0.6541 GB, free: 15.39 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.51e-06/0.1858, allocations: 0 / 0.6541 GB, free: 15.39 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.1859, allocations: 322.8 kB / 0.6544 GB, free: 15.06 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.186, allocations: 43.97 kB / 0.6545 GB, free: 15.02 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.659e-05/0.1861, allocations: 47.97 kB / 0.6545 GB, free: 14.97 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.1863, allocations: 39.98 kB / 0.6546 GB, free: 14.93 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1863, allocations: 0 / 0.6546 GB, free: 14.93 MB / 462.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002743/0.1866, allocations: 145.5 kB / 0.6547 GB, free: 14.79 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.1866, allocations: 9.344 kB / 0.6547 GB, free: 14.78 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1866, allocations: 0 / 0.6547 GB, free: 14.78 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.1866, allocations: 0 / 0.6547 GB, free: 14.78 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.1868, allocations: 23.98 kB / 0.6547 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.1868, allocations: 0 / 0.6547 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.057e-05/0.1869, allocations: 19.94 kB / 0.6548 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.436e-05/0.1869, allocations: 4 kB / 0.6548 GB, free: 14.73 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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001034/0.187, allocations: 123.1 kB / 0.6549 GB, free: 14.6 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.777e-05/0.187, allocations: 7.906 kB / 0.6549 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000348/0.1874, allocations: 166.2 kB / 0.655 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.1874, allocations: 0 / 0.655 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.1874, allocations: 0 / 0.655 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.1874, allocations: 0 / 0.655 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002181/0.1876, allocations: 205.6 kB / 0.6552 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1877, allocations: 0 / 0.6552 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.1878, allocations: 23.98 kB / 0.6553 GB, free: 14.15 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1878, allocations: 0 / 0.6553 GB, free: 14.15 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.1878, allocations: 4 kB / 0.6553 GB, free: 14.15 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1878, allocations: 0.5 kB / 0.6553 GB, free: 14.15 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.1878, allocations: 3.984 kB / 0.6553 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003246/0.1881, allocations: 243.3 kB / 0.6555 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.514e-05/0.1882, allocations: 89 kB / 0.6556 GB, free: 13.79 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.1882, allocations: 0 / 0.6556 GB, free: 13.79 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.3e-05/0.1883, allocations: 8 kB / 0.6556 GB, free: 13.78 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.18e-05/0.1884, allocations: 7.984 kB / 0.6556 GB, free: 13.77 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.1884, allocations: 4 kB / 0.6556 GB, free: 13.77 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.54e-05/0.1885, allocations: 108.3 kB / 0.6557 GB, free: 13.66 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.694e-06/0.1885, allocations: 0 / 0.6557 GB, free: 13.66 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002359/0.1887, allocations: 23.88 kB / 0.6557 GB, free: 13.64 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: 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 (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.0001887/0.1889, allocations: 99.23 kB / 0.6558 GB, free: 13.53 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002812/0.1892, allocations: 115.9 kB / 0.6559 GB, free: 13.42 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1892, allocations: 0 / 0.6559 GB, free: 13.42 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001192/0.1893, allocations: 59.95 kB / 0.656 GB, free: 13.36 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.1896, allocations: 10.02 kB / 0.656 GB, free: 13.35 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005041/0.1901, allocations: 266.8 kB / 0.6563 GB, free: 13.06 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.1905, allocations: 0.7043 MB / 0.6569 GB, free: 12.33 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.245e-05/0.1905, allocations: 15.44 kB / 0.657 GB, free: 12.31 MB / 462.1 MB Notification: Performance of SimCode: time 4.298e-06/0.1905, allocations: 4 kB / 0.657 GB, free: 12.31 MB / 462.1 MB Notification: Performance of Templates: time 0.003248/0.1938, allocations: 1.11 MB / 0.6581 GB, free: 11.2 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.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.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