Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.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.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20200,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule") translateModel(BuildingSystems.Utilities.IO.Files.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20200,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 105 kB / 15.99 MB, free: 6.344 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.00118/0.001181, allocations: 195.5 kB / 16.91 MB, free: 6.184 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.217/1.217, allocations: 222.9 MB / 240.6 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002014/0.002014, allocations: 288.1 kB / 291 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.865/0.865, allocations: 169.2 MB / 0.4985 GB, free: 4.648 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001603/0.001603, allocations: 89.27 kB / 0.5953 GB, free: 15.54 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1603, allocations: 86.97 MB / 0.6803 GB, free: 8.586 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.WeeklySchedule): time 0.002558/0.1629, allocations: 1.41 MB / 0.6816 GB, free: 7.156 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001534/0.1631, allocations: 35.83 kB / 0.6817 GB, free: 7.121 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.515e-05/0.1632, allocations: 0 / 0.6817 GB, free: 7.121 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001712/0.1634, allocations: 15.92 kB / 0.6817 GB, free: 7.105 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001039/0.1635, allocations: 11.92 kB / 0.6817 GB, free: 7.094 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.977e-06/0.1635, allocations: 0 / 0.6817 GB, free: 7.094 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.2e-05/0.1635, allocations: 15.94 kB / 0.6817 GB, free: 7.078 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.714e-05/0.1636, allocations: 0 / 0.6817 GB, free: 7.078 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.277e-05/0.1636, allocations: 4 kB / 0.6817 GB, free: 7.074 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.006e-05/0.1637, allocations: 15.92 kB / 0.6817 GB, free: 7.059 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.1637, allocations: 0 / 0.6817 GB, free: 7.059 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.534e-05/0.1638, allocations: 12 kB / 0.6817 GB, free: 7.047 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.721e-05/0.1638, allocations: 7.922 kB / 0.6818 GB, free: 7.039 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.933e-05/0.1638, allocations: 7.938 kB / 0.6818 GB, free: 7.031 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.795e-05/0.1639, allocations: 19.92 kB / 0.6818 GB, free: 7.012 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1639, allocations: 4 kB / 0.6818 GB, free: 7.008 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1639, allocations: 0 / 0.6818 GB, free: 7.008 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.1639, allocations: 0 / 0.6818 GB, free: 7.008 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.000309/0.1642, allocations: 335.7 kB / 0.6821 GB, free: 6.629 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.1643, allocations: 12.03 kB / 0.6821 GB, free: 6.617 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.086e-05/0.1643, allocations: 0.9375 kB / 0.6821 GB, free: 6.617 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.1645, allocations: 172.3 kB / 0.6823 GB, free: 6.41 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.1645, allocations: 8.312 kB / 0.6823 GB, free: 6.402 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.527e-06/0.1645, allocations: 8.344 kB / 0.6823 GB, free: 6.395 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.956e-05/0.1646, allocations: 26.27 kB / 0.6823 GB, free: 6.363 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.1646, allocations: 4.188 kB / 0.6823 GB, free: 6.359 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.1646, allocations: 3.938 kB / 0.6823 GB, free: 6.355 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/0.1646, allocations: 0 / 0.6823 GB, free: 6.355 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.012e-05/0.1646, allocations: 4 kB / 0.6823 GB, free: 6.352 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000142/0.1648, allocations: 157.6 kB / 0.6825 GB, free: 6.148 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.929e-05/0.1648, allocations: 22.55 kB / 0.6825 GB, free: 6.117 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.609e-05/0.1648, allocations: 4.859 kB / 0.6825 GB, free: 6.109 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.1649, allocations: 4 kB / 0.6825 GB, free: 6.105 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.1649, allocations: 34.62 kB / 0.6826 GB, free: 6.062 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.1649, allocations: 4 kB / 0.6826 GB, free: 6.059 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001183/0.165, allocations: 37.62 kB / 0.6826 GB, free: 6.016 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.312e-05/0.1651, allocations: 55.41 kB / 0.6826 GB, free: 5.949 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.911e-05/0.1652, allocations: 113.8 kB / 0.6828 GB, free: 5.828 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.1652, allocations: 25.7 kB / 0.6828 GB, free: 5.797 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.788e-05/0.1652, allocations: 84.08 kB / 0.6829 GB, free: 5.711 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.332e-05/0.1653, allocations: 7.906 kB / 0.6829 GB, free: 5.703 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.72e-05/0.1653, allocations: 17.7 kB / 0.6829 GB, free: 5.68 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.1654, allocations: 315 kB / 0.6832 GB, free: 5.363 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.219e-05/0.1654, allocations: 4 kB / 0.6832 GB, free: 5.359 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.771e-06/0.1654, allocations: 0 / 0.6832 GB, free: 5.359 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.752e-05/0.1655, allocations: 12.86 kB / 0.6832 GB, free: 5.344 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1655, allocations: 0 / 0.6832 GB, free: 5.344 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.317e-05/0.1655, allocations: 37.69 kB / 0.6832 GB, free: 5.301 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.1656, allocations: 4 kB / 0.6832 GB, free: 5.297 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.679e-06/0.1656, allocations: 3.938 kB / 0.6832 GB, free: 5.293 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.1656, allocations: 4.094 kB / 0.6832 GB, free: 5.289 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.028e-05/0.1656, allocations: 7.938 kB / 0.6833 GB, free: 5.281 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.369e-06/0.1656, allocations: 0 / 0.6833 GB, free: 5.281 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.168e-05/0.1657, allocations: 0 / 0.6833 GB, free: 5.281 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.1657, allocations: 0 / 0.6833 GB, free: 5.281 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 6.059e-05/0.1657, allocations: 109.8 kB / 0.6834 GB, free: 5.164 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.427e-06/0.1657, allocations: 7.844 kB / 0.6834 GB, free: 5.156 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.367e-05/0.1658, allocations: 49.16 kB / 0.6834 GB, free: 5.102 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.1658, allocations: 32 / 0.6834 GB, free: 5.102 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.1659, allocations: 4 kB / 0.6834 GB, free: 5.098 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-06/0.1659, allocations: 0 / 0.6834 GB, free: 5.098 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.713e-05/0.166, allocations: 157.7 kB / 0.6836 GB, free: 4.895 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.166, allocations: 0 / 0.6836 GB, free: 4.895 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.215e-05/0.166, allocations: 3.984 kB / 0.6836 GB, free: 4.891 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.166, allocations: 4 kB / 0.6836 GB, free: 4.887 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.166, allocations: 7.875 kB / 0.6836 GB, free: 4.879 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.166, allocations: 0 / 0.6836 GB, free: 4.879 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.166, allocations: 3.938 kB / 0.6836 GB, free: 4.875 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.778e-05/0.1661, allocations: 61.14 kB / 0.6836 GB, free: 4.797 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.099e-05/0.1661, allocations: 81.09 kB / 0.6837 GB, free: 4.699 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.1661, allocations: 3.938 kB / 0.6837 GB, free: 4.695 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.039e-05/0.1661, allocations: 4 kB / 0.6837 GB, free: 4.691 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.009e-05/0.1662, allocations: 0 / 0.6837 GB, free: 4.691 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-06/0.1662, allocations: 0 / 0.6837 GB, free: 4.691 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.545e-05/0.1662, allocations: 91.27 kB / 0.6838 GB, free: 4.602 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1662, allocations: 0 / 0.6838 GB, free: 4.602 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001754/0.1664, allocations: 8.031 kB / 0.6838 GB, free: 4.594 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.0001886/0.1666, allocations: 119.2 kB / 0.6839 GB, free: 4.473 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.651e-05/0.1667, allocations: 7.938 kB / 0.6839 GB, free: 4.465 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1667, allocations: 0 / 0.6839 GB, free: 4.465 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.042e-05/0.1667, allocations: 16.05 kB / 0.684 GB, free: 4.449 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001324/0.1668, allocations: 0 / 0.684 GB, free: 4.449 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00026/0.1671, allocations: 139.2 kB / 0.6841 GB, free: 4.281 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000213/0.1673, allocations: 0.6812 MB / 0.6848 GB, free: 3.574 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.713e-05/0.1673, allocations: 7.438 kB / 0.6848 GB, free: 3.566 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1673, allocations: 0 / 0.6848 GB, free: 3.566 MB / 494.1 MB Notification: Performance of Templates: time 0.001947/0.1693, allocations: 0.743 MB / 0.6855 GB, free: 2.828 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.makefile clang++ -std=c++14 -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.WeeklyScheduleCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklyScheduleCalcHelperMain.cpp In file included from OMCppBuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklyScheduleCalcHelperMain.cpp:28: In file included from ./OMCppBuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklyScheduleFunctions.cpp:5: In file included from /home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Resources/C-Sources/WeeklySchedule.c:19: /home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Resources/C-Sources/WeeklySchedule.h:25:16: error: redefinition of 'WeeklySchedule' typedef struct WeeklySchedule { ^ ./OMCppBuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.h:22:7: note: previous definition is here class WeeklySchedule: public SystemDefaultImplementation ^ In file included from OMCppBuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklyScheduleCalcHelperMain.cpp:28: In file included from ./OMCppBuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklyScheduleFunctions.cpp:5: /home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Resources/C-Sources/WeeklySchedule.c:160:48: error: no member named 'n_rows_in' in 'WeeklySchedule' if (sscanf(buff2, "%i", &scheduleID->n_rows_in) != 1) { ~~~~~~~~~~ ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Resources/C-Sources/WeeklySchedule.c:173:48: error: no member named 'n_cols_in' in 'WeeklySchedule' if (sscanf(buff2, "%i", &scheduleID->n_cols_in) != 1) { ~~~~~~~~~~ ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Resources/C-Sources/WeeklySchedule.c:176:27: error: no member named 'n_cols_in' in 'WeeklySchedule' if (scheduleID->n_cols_in < 2) { ~~~~~~~~~~ ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Resources/C-Sources/WeeklySchedule.c:177:114: error: no member named 'n_cols_in' in 'WeeklySchedule' ModelicaFormatError("Illegal number of columns '%i' when reading weekly schedule '%s'.", scheduleID->n_cols_in, name); ~~~~~~~~~~ ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Resources/C-Sources/WeeklySchedule.c:179:27: error: no member named 'n_rows_in' in 'WeeklySchedule' if (scheduleID->n_rows_in < 1) { ~~~~~~~~~~ ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Resources/C-Sources/WeeklySchedule.c:180:111: error: no member named 'n_rows_in' in 'WeeklySchedule' ModelicaFormatError("Illegal number of rows '%i' when reading weekly schedule '%s'.", scheduleID->n_rows_in, name); ~~~~~~~~~~ ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Resources/C-Sources/WeeklySchedule.c:184:80: error: no member named 'n_rows_in' in 'WeeklySchedule' rules = (TimeDataTuple**)calloc(sizeof(TimeDataTuple *), scheduleID->n_rows_in); ~~~~~~~~~~ ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Resources/C-Sources/WeeklySchedule.c:188:38: error: no member named 'n_rows_in' in 'WeeklySchedule' n_rulesInMem = scheduleID->n_rows_in; ~~~~~~~~~~ ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Resources/C-Sources/WeeklySchedule.c:269:43: error: no member named 'n_rows_in' in 'WeeklySchedule' n_rulesInMem += scheduleID->n_rows_in; ~~~~~~~~~~ ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Resources/C-Sources/WeeklySchedule.c:281:80: error: no member named 'n_cols_in' in 'WeeklySchedule' rules[rule_i]->data = (double*)calloc(sizeof(double), (scheduleID->n_cols_in - 1)); ~~~~~~~~~~ ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Resources/C-Sources/WeeklySchedule.c:302:43: error: no member named 'n_cols_in' in 'WeeklySchedule' if (tokensInLine >= scheduleID->n_cols_in) { ~~~~~~~~~~ ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Resources/C-Sources/WeeklySchedule.c:326:61: error: no member named 'n_cols_in' in 'WeeklySchedule' if (tokensInLine > 0 && tokensInLine != scheduleID->n_cols_in) { ~~~~~~~~~~ ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Resources/C-Sources/WeeklySchedule.c:344:35: error: no member named 'n_rows_in' in 'WeeklySchedule' if (n_rowsPacked != scheduleID->n_rows_in) { ~~~~~~~~~~ ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Resources/C-Sources/WeeklySchedule.c:345:138: error: no member named 'n_rows_in' in 'WeeklySchedule' ModelicaFormatError("Incorrect number of rows when reading weekly schedule '%s': %i instead of %i.", name, n_rowsPacked, scheduleID->n_rows_in); ~~~~~~~~~~ ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Resources/C-Sources/WeeklySchedule.c:347:19: error: no member named 'n_cols_in' in 'WeeklySchedule' if (scheduleID->n_cols_in < 1) ~~~~~~~~~~ ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Resources/C-Sources/WeeklySchedule.c:348:126: error: no member named 'n_cols_in' in 'WeeklySchedule' ModelicaFormatError("The number of columns in the weekly schedule '%s' is %i, which is too small. ", name, scheduleID->n_cols_in); ~~~~~~~~~~ ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Resources/C-Sources/WeeklySchedule.c:355:60: error: no member named 'n_cols_in' in 'WeeklySchedule' lastData = (double*)calloc(sizeof(double), scheduleID->n_cols_in - 1); ~~~~~~~~~~ ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Resources/C-Sources/WeeklySchedule.c:357:133: error: no member named 'n_cols_in' in 'WeeklySchedule' ModelicaFormatError("Failed to allocate memory for lastData in WeeklySchedule.c., scheduleID->n_cols_in -1 = %d", scheduleID->n_cols_in - 1); ~~~~~~~~~~ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklyScheduleCalcHelperMain.o] Error 1