Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.IO.Files.Examples.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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weeSchFil.y.1.|weeSchFil.y.2.|weeSchFil.y.3.|weeSchFil.y.4.",fileNamePrefix="Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule") translateModel(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weeSchFil.y.1.|weeSchFil.y.2.|weeSchFil.y.3.|weeSchFil.y.4.",fileNamePrefix="Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001519/0.001519, allocations: 189.8 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.378/1.378, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.498/2.498, allocations: 437.1 MB / 0.7111 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 64.64 kB / 0.8699 GB, free: 2.16 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3041, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002922/0.3071, allocations: 1.486 MB / 1.019 GB, free: 9.113 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001519/0.3086, allocations: 1.114 MB / 1.021 GB, free: 7.992 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.805e-05/0.3087, allocations: 0 / 1.021 GB, free: 7.992 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.000188/0.3089, allocations: 27.84 kB / 1.021 GB, free: 7.965 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001606/0.3091, allocations: 39.78 kB / 1.021 GB, free: 7.926 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001833/0.3093, allocations: 45.17 kB / 1.021 GB, free: 7.883 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001847/0.3095, allocations: 155.5 kB / 1.021 GB, free: 7.73 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.3096, allocations: 61.09 kB / 1.021 GB, free: 7.668 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.353e-05/0.3097, allocations: 79.77 kB / 1.021 GB, free: 7.59 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001773/0.3099, allocations: 59.69 kB / 1.021 GB, free: 7.531 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.337e-05/0.31, allocations: 16 kB / 1.021 GB, free: 7.516 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 7.549e-05/0.3101, allocations: 24 kB / 1.021 GB, free: 7.492 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 8.388e-05/0.3101, allocations: 51.81 kB / 1.021 GB, free: 7.441 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 9.149e-05/0.3102, allocations: 75.52 kB / 1.021 GB, free: 7.367 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002542/0.3105, allocations: 199.6 kB / 1.021 GB, free: 7.172 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.3105, allocations: 0 / 1.021 GB, free: 7.172 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.193e-06/0.3105, allocations: 0 / 1.021 GB, free: 7.172 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.3105, allocations: 3.938 kB / 1.021 GB, free: 7.168 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007034/0.3112, allocations: 498.7 kB / 1.022 GB, free: 6.633 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 2.944e-05/0.3113, allocations: 8.031 kB / 1.022 GB, free: 6.625 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.941e-05/0.3113, allocations: 16.75 kB / 1.022 GB, free: 6.609 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003218/0.3117, allocations: 253.5 kB / 1.022 GB, free: 6.324 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001523/0.3118, allocations: 119.4 kB / 1.022 GB, free: 6.184 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.705e-05/0.3119, allocations: 8.312 kB / 1.022 GB, free: 6.176 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003514/0.3122, allocations: 165.7 kB / 1.022 GB, free: 6.008 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.3122, allocations: 4 kB / 1.022 GB, free: 6.004 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.162e-05/0.3123, allocations: 0 / 1.022 GB, free: 6.004 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.418e-05/0.3123, allocations: 8 kB / 1.022 GB, free: 5.996 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.952e-05/0.3124, allocations: 47.91 kB / 1.022 GB, free: 5.949 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001061/0.3135, allocations: 456.4 kB / 1.023 GB, free: 5.453 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 8.212e-05/0.3135, allocations: 42.55 kB / 1.023 GB, free: 5.402 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.305e-05/0.3136, allocations: 24.84 kB / 1.023 GB, free: 5.375 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.85e-05/0.3136, allocations: 4 kB / 1.023 GB, free: 5.371 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.3137, allocations: 38.5 kB / 1.023 GB, free: 5.324 MB / 0.795 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.3137, allocations: 0 / 1.023 GB, free: 5.324 MB / 0.795 GB Notification: Performance of matching and sorting (n=8): time 0.0003081/0.314, allocations: 105.6 kB / 1.023 GB, free: 5.215 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.314, allocations: 55.41 kB / 1.023 GB, free: 5.148 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002581/0.3143, allocations: 220.8 kB / 1.023 GB, free: 4.922 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.935e-05/0.3143, allocations: 25.7 kB / 1.023 GB, free: 4.891 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 9.11e-05/0.3144, allocations: 123.9 kB / 1.023 GB, free: 4.766 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.3145, allocations: 27.64 kB / 1.023 GB, free: 4.738 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.382e-05/0.3145, allocations: 37.64 kB / 1.024 GB, free: 4.695 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.3147, allocations: 326.8 kB / 1.024 GB, free: 4.367 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.336e-05/0.3147, allocations: 23.98 kB / 1.024 GB, free: 4.344 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/0.3149, allocations: 102.2 kB / 1.024 GB, free: 4.207 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001897/0.3151, allocations: 142.2 kB / 1.024 GB, free: 4.031 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3151, allocations: 0 / 1.024 GB, free: 4.031 MB / 0.795 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002547/0.3153, allocations: 157.2 kB / 1.024 GB, free: 3.871 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.3154, allocations: 4 kB / 1.024 GB, free: 3.867 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.3154, allocations: 4 kB / 1.024 GB, free: 3.863 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.3154, allocations: 4 kB / 1.024 GB, free: 3.859 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.3155, allocations: 27.92 kB / 1.024 GB, free: 3.832 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.427e-06/0.3155, allocations: 3.938 kB / 1.024 GB, free: 3.828 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.491e-05/0.3156, allocations: 15.84 kB / 1.024 GB, free: 3.812 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.3156, allocations: 8.344 kB / 1.024 GB, free: 3.805 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (12): * Single equations (assignments): 12 * 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.0001283/0.3157, allocations: 145.8 kB / 1.024 GB, free: 3.652 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.927e-05/0.3158, allocations: 15.81 kB / 1.024 GB, free: 3.637 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002204/0.316, allocations: 118.9 kB / 1.025 GB, free: 3.52 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.316, allocations: 4 kB / 1.025 GB, free: 3.516 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.3161, allocations: 3.938 kB / 1.025 GB, free: 3.512 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.3161, allocations: 0 / 1.025 GB, free: 3.512 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002675/0.3163, allocations: 233.5 kB / 1.025 GB, free: 3.234 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3163, allocations: 4 kB / 1.025 GB, free: 3.23 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.77e-05/0.3164, allocations: 12 kB / 1.025 GB, free: 3.219 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.3164, allocations: 3.984 kB / 1.025 GB, free: 3.215 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.3164, allocations: 8 kB / 1.025 GB, free: 3.207 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.3164, allocations: 4 kB / 1.025 GB, free: 3.203 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/0.3164, allocations: 3.938 kB / 1.025 GB, free: 3.199 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002052/0.3167, allocations: 183.3 kB / 1.025 GB, free: 3.004 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.25e-05/0.3167, allocations: 88.92 kB / 1.025 GB, free: 2.898 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.3167, allocations: 3.938 kB / 1.025 GB, free: 2.895 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002578/0.317, allocations: 27.97 kB / 1.025 GB, free: 2.867 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.548e-05/0.3171, allocations: 7.938 kB / 1.025 GB, free: 2.859 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.193e-05/0.3171, allocations: 7.984 kB / 1.025 GB, free: 2.852 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001511/0.3172, allocations: 164.5 kB / 1.025 GB, free: 2.691 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3173, allocations: 0 / 1.025 GB, free: 2.691 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003096/0.3176, allocations: 31.98 kB / 1.025 GB, free: 2.66 MB / 0.795 GB 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 (8): * Single equations (assignments): 8 * 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.0002528/0.3178, allocations: 130.9 kB / 1.025 GB, free: 2.527 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001826/0.318, allocations: 75.83 kB / 1.026 GB, free: 2.453 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/0.318, allocations: 0.75 kB / 1.026 GB, free: 2.453 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 5.054e-05/0.3181, allocations: 31.91 kB / 1.026 GB, free: 2.422 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.3184, allocations: 31.8 kB / 1.026 GB, free: 2.391 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000527/0.3189, allocations: 320.7 kB / 1.026 GB, free: 2.047 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.3193, allocations: 0.7274 MB / 1.027 GB, free: 1.293 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.943e-05/0.3193, allocations: 19.44 kB / 1.027 GB, free: 1.273 MB / 0.795 GB Notification: Performance of SimCode: time 2.4e-07/0.3193, allocations: 0 / 1.027 GB, free: 1.273 MB / 0.795 GB Notification: Performance of Templates: time 0.004724/0.3241, allocations: 2.623 MB / 1.029 GB, free: 14.68 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.makefile make -j1 -f Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.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/Buildings 10.1.1-maint.10.0.x/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/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_10_Buildings.Utilities.IO.Files.Examples.WeeklyScheduleCalcHelperMain.o OMCppBuildings_10_Buildings.Utilities.IO.Files.Examples.WeeklyScheduleCalcHelperMain.cpp In file included from OMCppBuildings_10_Buildings.Utilities.IO.Files.Examples.WeeklyScheduleCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_10_Buildings.Utilities.IO.Files.Examples.WeeklyScheduleFunctions.cpp:5: In file included from /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/WeeklyScheduleGetValue.c:16: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/WeeklySchedule.h:26:16: error: redefinition of 'WeeklySchedule' typedef struct WeeklySchedule { ^ ./OMCppBuildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.h:21:7: note: previous definition is here class WeeklySchedule: public SystemDefaultImplementation ^ In file included from OMCppBuildings_10_Buildings.Utilities.IO.Files.Examples.WeeklyScheduleCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_10_Buildings.Utilities.IO.Files.Examples.WeeklyScheduleFunctions.cpp:5: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/WeeklyScheduleGetValue.c:27:41: error: no member named 't_offset' in 'WeeklySchedule' double t = modelicaTime - scheduleID->t_offset; ~~~~~~~~~~ ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/WeeklyScheduleGetValue.c:35:42: error: no member named 'n_data_cols' in 'WeeklySchedule' if (column < 0 || column > scheduleID->n_data_cols) { ~~~~~~~~~~ ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/WeeklyScheduleGetValue.c:36:120: error: no member named 'n_data_cols' in 'WeeklySchedule' ModelicaFormatError("The requested column index '%i' is outside of the table range '%i'.", column + 1, scheduleID->n_data_cols); ~~~~~~~~~~ ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/WeeklyScheduleGetValue.c:43:27: error: no member named 'previousTimestamp' in 'WeeklySchedule' if (time == scheduleID->previousTimestamp) { ~~~~~~~~~~ ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/WeeklyScheduleGetValue.c:44:21: error: no member named 'previousIndex' in 'WeeklySchedule' i = scheduleID->previousIndex; ~~~~~~~~~~ ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/WeeklyScheduleGetValue.c:45:33: error: no member named 'rules' in 'WeeklySchedule' } else if (time > scheduleID->rules[scheduleID->previousIndex]->time) { ~~~~~~~~~~ ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/WeeklyScheduleGetValue.c:45:51: error: no member named 'previousIndex' in 'WeeklySchedule' } else if (time > scheduleID->rules[scheduleID->previousIndex]->time) { ~~~~~~~~~~ ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/WeeklyScheduleGetValue.c:46:26: error: no member named 'previousIndex' in 'WeeklySchedule' for (i = scheduleID->previousIndex; i < scheduleID->n_allocatedRules - 1; i ++) { ~~~~~~~~~~ ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/WeeklyScheduleGetValue.c:46:57: error: no member named 'n_allocatedRules' in 'WeeklySchedule' for (i = scheduleID->previousIndex; i < scheduleID->n_allocatedRules - 1; i ++) { ~~~~~~~~~~ ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/WeeklyScheduleGetValue.c:47:23: error: no member named 'rules' in 'WeeklySchedule' if (scheduleID->rules[i + 1]->time > time) { ~~~~~~~~~~ ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/WeeklyScheduleGetValue.c:52:26: error: no member named 'previousIndex' in 'WeeklySchedule' for (i = scheduleID->previousIndex; i > 0; i--) { ~~~~~~~~~~ ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/WeeklyScheduleGetValue.c:53:23: error: no member named 'rules' in 'WeeklySchedule' if (scheduleID->rules[i - 1]->time < time) { ~~~~~~~~~~ ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/WeeklyScheduleGetValue.c:59:31: error: no member named 'rules' in 'WeeklySchedule' if (i == 0 && scheduleID->rules[0]->time > time) { ~~~~~~~~~~ ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/WeeklyScheduleGetValue.c:60:23: error: no member named 'n_allocatedRules' in 'WeeklySchedule' i = scheduleID->n_allocatedRules - 1; ~~~~~~~~~~ ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/WeeklyScheduleGetValue.c:63:15: error: no member named 'previousIndex' in 'WeeklySchedule' scheduleID->previousIndex = i; ~~~~~~~~~~ ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/WeeklyScheduleGetValue.c:64:15: error: no member named 'previousTimestamp' in 'WeeklySchedule' scheduleID->previousTimestamp = time; ~~~~~~~~~~ ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/WeeklyScheduleGetValue.c:66:22: error: no member named 'rules' in 'WeeklySchedule' return scheduleID->rules[i]->data[columnIndex]; ~~~~~~~~~~ ^ In file included from OMCppBuildings_10_Buildings.Utilities.IO.Files.Examples.WeeklyScheduleCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_10_Buildings.Utilities.IO.Files.Examples.WeeklyScheduleFunctions.cpp:6: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/WeeklyScheduleFree.c:29:31: error: no member named 'n_allocatedRulesData' in 'WeeklySchedule' for (i = 0; i < scheduleID->n_allocatedRulesData; ++i) { ~~~~~~~~~~ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: OMCppBuildings_10_Buildings.Utilities.IO.Files.Examples.WeeklyScheduleCalcHelperMain.o] Error 1