Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.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.IO.Files.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19") translateModel(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 108.2 kB / 16.27 MB, free: 6.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 191 kB / 17.2 MB, free: 5.953 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.235/1.235, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002255/0.002255, allocations: 281.3 kB / 291.3 MB, free: 14.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8945/0.8945, allocations: 169.3 MB / 0.4988 GB, free: 4.5 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 102.4 kB / 0.5959 GB, free: 15.12 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1777, allocations: 86.97 MB / 0.6808 GB, free: 8.172 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002913/0.1806, allocations: 1.353 MB / 0.6822 GB, free: 6.801 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000165/0.1808, allocations: 39.77 kB / 0.6822 GB, free: 6.762 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.658e-05/0.1809, allocations: 0 / 0.6822 GB, free: 6.762 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001866/0.1811, allocations: 23.91 kB / 0.6822 GB, free: 6.738 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001098/0.1812, allocations: 7.938 kB / 0.6822 GB, free: 6.73 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.839e-06/0.1812, allocations: 8 kB / 0.6822 GB, free: 6.723 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.779e-05/0.1813, allocations: 15.92 kB / 0.6823 GB, free: 6.707 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.041e-05/0.1814, allocations: 4 kB / 0.6823 GB, free: 6.703 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.177e-05/0.1814, allocations: 7.938 kB / 0.6823 GB, free: 6.695 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.387e-05/0.1815, allocations: 7.984 kB / 0.6823 GB, free: 6.688 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.1815, allocations: 4 kB / 0.6823 GB, free: 6.684 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.048e-05/0.1816, allocations: 11.98 kB / 0.6823 GB, free: 6.672 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.983e-05/0.1816, allocations: 3.938 kB / 0.6823 GB, free: 6.668 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.551e-05/0.1816, allocations: 11.94 kB / 0.6823 GB, free: 6.656 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.1818, allocations: 31.89 kB / 0.6823 GB, free: 6.625 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1818, allocations: 4 kB / 0.6823 GB, free: 6.621 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1818, allocations: 0 / 0.6823 GB, free: 6.621 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.1818, allocations: 0 / 0.6823 GB, free: 6.621 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004193/0.1822, allocations: 335.7 kB / 0.6827 GB, free: 6.242 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.1823, allocations: 12.03 kB / 0.6827 GB, free: 6.23 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.82e-05/0.1823, allocations: 4.875 kB / 0.6827 GB, free: 6.227 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002144/0.1825, allocations: 184.2 kB / 0.6829 GB, free: 6.008 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.799e-06/0.1825, allocations: 384 / 0.6829 GB, free: 6.008 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/0.1826, allocations: 384 / 0.6829 GB, free: 6.008 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.479e-05/0.1827, allocations: 42.23 kB / 0.6829 GB, free: 5.961 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.1827, allocations: 192 / 0.6829 GB, free: 5.961 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.1827, allocations: 3.938 kB / 0.6829 GB, free: 5.957 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.166e-05/0.1827, allocations: 4 kB / 0.6829 GB, free: 5.953 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.229e-05/0.1827, allocations: 0 / 0.6829 GB, free: 5.953 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001695/0.1829, allocations: 153.7 kB / 0.683 GB, free: 5.754 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.769e-05/0.183, allocations: 22.55 kB / 0.6831 GB, free: 5.723 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.845e-05/0.183, allocations: 8.859 kB / 0.6831 GB, free: 5.711 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.183, allocations: 4 kB / 0.6831 GB, free: 5.707 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.183, allocations: 34.62 kB / 0.6831 GB, free: 5.664 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.1831, allocations: 0 / 0.6831 GB, free: 5.664 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001475/0.1832, allocations: 37.62 kB / 0.6831 GB, free: 5.621 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.1833, allocations: 63.34 kB / 0.6832 GB, free: 5.547 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.1834, allocations: 113.8 kB / 0.6833 GB, free: 5.426 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.1834, allocations: 25.7 kB / 0.6833 GB, free: 5.395 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.753e-05/0.1834, allocations: 88.27 kB / 0.6834 GB, free: 5.305 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.581e-05/0.1835, allocations: 7.906 kB / 0.6834 GB, free: 5.297 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.878e-05/0.1835, allocations: 9.719 kB / 0.6834 GB, free: 5.281 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.1836, allocations: 318.8 kB / 0.6837 GB, free: 4.961 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.214e-05/0.1836, allocations: 4 kB / 0.6838 GB, free: 4.957 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.293e-06/0.1837, allocations: 0 / 0.6838 GB, free: 4.957 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.617e-05/0.1837, allocations: 12.86 kB / 0.6838 GB, free: 4.941 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1837, allocations: 4.062 kB / 0.6838 GB, free: 4.938 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.121e-05/0.1838, allocations: 33.7 kB / 0.6838 GB, free: 4.898 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.1838, allocations: 10.33 kB / 0.6838 GB, free: 4.891 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.1838, allocations: 3.938 kB / 0.6838 GB, free: 4.887 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.1838, allocations: 3.938 kB / 0.6838 GB, free: 4.883 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.202e-05/0.1839, allocations: 4 kB / 0.6838 GB, free: 4.879 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.1839, allocations: 0 / 0.6838 GB, free: 4.879 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.359e-05/0.1839, allocations: 0 / 0.6838 GB, free: 4.879 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.1839, allocations: 0 / 0.6838 GB, free: 4.879 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 (1): * Single equations (assignments): 1 * 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 7.567e-05/0.184, allocations: 117.9 kB / 0.6839 GB, free: 4.754 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.265e-05/0.184, allocations: 3.906 kB / 0.6839 GB, free: 4.75 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.599e-05/0.1841, allocations: 45.16 kB / 0.684 GB, free: 4.699 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.1841, allocations: 4 kB / 0.684 GB, free: 4.695 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.1841, allocations: 0 / 0.684 GB, free: 4.695 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.1841, allocations: 0 / 0.684 GB, free: 4.695 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.1843, allocations: 153.7 kB / 0.6841 GB, free: 4.496 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1843, allocations: 7.938 kB / 0.6841 GB, free: 4.488 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.833e-05/0.1843, allocations: 3.984 kB / 0.6841 GB, free: 4.484 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.1843, allocations: 0 / 0.6841 GB, free: 4.484 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.1843, allocations: 7.969 kB / 0.6841 GB, free: 4.477 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1843, allocations: 3.938 kB / 0.6842 GB, free: 4.473 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1843, allocations: 0 / 0.6842 GB, free: 4.473 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.125e-05/0.1844, allocations: 57.14 kB / 0.6842 GB, free: 4.398 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.523e-05/0.1845, allocations: 85.09 kB / 0.6843 GB, free: 4.297 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.1845, allocations: 3.938 kB / 0.6843 GB, free: 4.293 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.192e-05/0.1845, allocations: 0 / 0.6843 GB, free: 4.293 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.837e-05/0.1845, allocations: 11.97 kB / 0.6843 GB, free: 4.281 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.1845, allocations: 0 / 0.6843 GB, free: 4.281 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.385e-05/0.1846, allocations: 95.27 kB / 0.6844 GB, free: 4.188 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1846, allocations: 0 / 0.6844 GB, free: 4.188 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001836/0.1848, allocations: 4 kB / 0.6844 GB, free: 4.184 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 (1): * Single equations (assignments): 1 * 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.0002084/0.185, allocations: 119.6 kB / 0.6845 GB, free: 4.062 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.679e-05/0.1851, allocations: 15.92 kB / 0.6845 GB, free: 4.047 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.1851, allocations: 0 / 0.6845 GB, free: 4.047 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.005e-05/0.1851, allocations: 4 kB / 0.6845 GB, free: 4.043 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001336/0.1853, allocations: 0 / 0.6845 GB, free: 4.043 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002943/0.1856, allocations: 142.4 kB / 0.6847 GB, free: 3.875 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002474/0.1858, allocations: 0.6807 MB / 0.6853 GB, free: 3.168 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.255e-05/0.1859, allocations: 11.44 kB / 0.6853 GB, free: 3.156 MB / 494.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1859, allocations: 0 / 0.6853 GB, free: 3.156 MB / 494.1 MB Notification: Performance of Templates: time 0.002221/0.1881, allocations: 0.7667 MB / 0.6861 GB, free: 2.395 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.makefile clang++ -std=c++17 -fopenmp=libomp -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/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19CalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19CalcHelperMain.cpp In file included from OMCppBuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19CalcHelperMain.cpp:28: ./OMCppBuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19Functions.cpp:68:25: error: no matching function for call to 'weeklyScheduleInit' weeklySchedule__ext = weeklyScheduleInit(tableOnFile__ext, sourceName_.c_str(), t_offset__ext, data_.c_str()); ^~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Resources/C-Sources/WeeklySchedule.c:32:7: note: candidate function not viable: 4th argument ('const char *') would lose const qualifier void* weeklyScheduleInit(const int tableOnFile, const char* name, const double t_offset, char* stringData) { ^ 1 error generated. make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19CalcHelperMain.o] Error 1