Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001609/0.001609, allocations: 222.3 kB / 23 MB, free: 4.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.521/1.521, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.443/3.443, allocations: 0.5107 GB / 0.8166 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule") translateModel(Buildings.Utilities.IO.Files.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003123/0.003123, allocations: 69.28 kB / 1.187 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4532/0.4563, allocations: 181.9 MB / 1.365 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.WeeklySchedule): time 0.004414/0.4608, allocations: 1.377 MB / 1.366 GB, free: 12.2 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0002369/0.461, allocations: 35.83 kB / 1.366 GB, free: 12.16 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.704e-05/0.461, allocations: 0 / 1.366 GB, free: 12.16 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002299/0.4613, allocations: 15.88 kB / 1.366 GB, free: 12.15 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001562/0.4614, allocations: 11.92 kB / 1.366 GB, free: 12.14 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 4.669e-06/0.4614, allocations: 4 kB / 1.366 GB, free: 12.13 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.736e-05/0.4615, allocations: 19.92 kB / 1.366 GB, free: 12.11 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.721e-05/0.4616, allocations: 0 / 1.366 GB, free: 12.11 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.919e-05/0.4616, allocations: 11.92 kB / 1.366 GB, free: 12.1 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.317e-05/0.4617, allocations: 4 kB / 1.366 GB, free: 12.1 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.4617, allocations: 0 / 1.366 GB, free: 12.1 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.196e-05/0.4617, allocations: 19.98 kB / 1.366 GB, free: 12.08 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.554e-05/0.4618, allocations: 3.938 kB / 1.366 GB, free: 12.07 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.403e-05/0.4618, allocations: 7.875 kB / 1.366 GB, free: 12.07 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000116/0.4619, allocations: 31.84 kB / 1.366 GB, free: 12.04 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4619, allocations: 0 / 1.366 GB, free: 12.04 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4619, allocations: 4 kB / 1.366 GB, free: 12.03 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.4619, allocations: 0 / 1.366 GB, free: 12.03 MB / 1.061 GB 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.0003926/0.4623, allocations: 258.2 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.4624, allocations: 12.03 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.554e-05/0.4624, allocations: 0.9375 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001916/0.4626, allocations: 118.5 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.4626, allocations: 384 / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.331e-05/0.4626, allocations: 4.375 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.552e-05/0.4627, allocations: 26.27 kB / 1.367 GB, free: 11.56 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.4627, allocations: 192 / 1.367 GB, free: 11.56 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.4627, allocations: 11.94 kB / 1.367 GB, free: 11.55 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.946e-05/0.4628, allocations: 0 / 1.367 GB, free: 11.55 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.633e-05/0.4628, allocations: 7.922 kB / 1.367 GB, free: 11.54 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001662/0.463, allocations: 109.3 kB / 1.367 GB, free: 11.4 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.702e-05/0.463, allocations: 22.59 kB / 1.367 GB, free: 11.37 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.126e-05/0.463, allocations: 8.859 kB / 1.367 GB, free: 11.36 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.4631, allocations: 4.062 kB / 1.367 GB, free: 11.36 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/0.4631, allocations: 34.55 kB / 1.367 GB, free: 11.31 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 1.533e-06/0.4631, allocations: 0 / 1.367 GB, free: 11.31 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001605/0.4633, allocations: 41.7 kB / 1.367 GB, free: 11.27 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/0.4633, allocations: 55.41 kB / 1.367 GB, free: 11.2 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.4634, allocations: 113.8 kB / 1.367 GB, free: 11.08 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.229e-05/0.4635, allocations: 25.7 kB / 1.367 GB, free: 11.05 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.276e-05/0.4635, allocations: 92.08 kB / 1.367 GB, free: 10.95 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.756e-05/0.4635, allocations: 7.938 kB / 1.367 GB, free: 10.95 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.988e-05/0.4636, allocations: 9.719 kB / 1.367 GB, free: 10.93 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.4637, allocations: 314.8 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.151e-05/0.4637, allocations: 0 / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.702e-06/0.4638, allocations: 0 / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.905e-05/0.4638, allocations: 16.86 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.4638, allocations: 4 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.05e-05/0.4639, allocations: 41.62 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.4639, allocations: 8 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.4639, allocations: 0 / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.4639, allocations: 3.938 kB / 1.367 GB, free: 10.53 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.268e-05/0.464, allocations: 0 / 1.367 GB, free: 10.53 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.464, allocations: 0 / 1.367 GB, free: 10.53 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.709e-05/0.464, allocations: 4 kB / 1.367 GB, free: 10.53 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-06/0.464, allocations: 0 / 1.367 GB, free: 10.53 MB / 1.061 GB 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 9.076e-05/0.4641, allocations: 113.9 kB / 1.368 GB, free: 10.41 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.722e-05/0.4641, allocations: 7.953 kB / 1.368 GB, free: 10.4 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001044/0.4642, allocations: 41.11 kB / 1.368 GB, free: 10.34 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.4642, allocations: 3.938 kB / 1.368 GB, free: 10.34 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.4642, allocations: 4 kB / 1.368 GB, free: 10.34 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.4642, allocations: 3.984 kB / 1.368 GB, free: 10.33 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.974e-05/0.4643, allocations: 101.3 kB / 1.368 GB, free: 10.2 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.4643, allocations: 0 / 1.368 GB, free: 10.2 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.591e-05/0.4643, allocations: 0 / 1.368 GB, free: 10.2 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.4643, allocations: 0 / 1.368 GB, free: 10.2 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.4643, allocations: 4 kB / 1.368 GB, free: 10.2 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/0.4643, allocations: 8.016 kB / 1.368 GB, free: 10.19 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.4643, allocations: 3.938 kB / 1.368 GB, free: 10.19 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.659e-05/0.4644, allocations: 57.14 kB / 1.368 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.244e-05/0.4644, allocations: 3.953 kB / 1.368 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.4645, allocations: 4 kB / 1.368 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.979e-06/0.4645, allocations: 0 / 1.368 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.994e-05/0.4645, allocations: 7.922 kB / 1.368 GB, free: 10.1 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.4645, allocations: 4 kB / 1.368 GB, free: 10.09 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.017e-05/0.4646, allocations: 91.22 kB / 1.368 GB, free: 10 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4646, allocations: 3.938 kB / 1.368 GB, free: 10 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002057/0.4648, allocations: 8.031 kB / 1.368 GB, free: 9.992 MB / 1.061 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 (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.0002713/0.465, allocations: 116.9 kB / 1.368 GB, free: 9.871 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 9.515e-05/0.4651, allocations: 8 kB / 1.368 GB, free: 9.863 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.4651, allocations: 0 / 1.368 GB, free: 9.863 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.574e-06/0.4652, allocations: 0 / 1.368 GB, free: 9.863 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001386/0.4653, allocations: 8.125 kB / 1.368 GB, free: 9.855 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003386/0.4656, allocations: 135.3 kB / 1.368 GB, free: 9.691 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.47e-05/0.4657, allocations: 55.36 kB / 1.368 GB, free: 9.617 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.779e-05/0.4657, allocations: 15.42 kB / 1.368 GB, free: 9.602 MB / 1.061 GB Notification: Performance of SimCode: time 3.91e-07/0.4657, allocations: 3.938 kB / 1.368 GB, free: 9.598 MB / 1.061 GB Notification: Performance of Templates: time 0.002825/0.4686, allocations: 0.7385 MB / 1.369 GB, free: 8.863 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.makefile [Timeout 300] make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DOMC_BUILD -DUSE_THREAD -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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/Buildings master/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_latest_Buildings.Utilities.IO.Files.WeeklyScheduleCalcHelperMain.o OMCppBuildings_latest_Buildings.Utilities.IO.Files.WeeklyScheduleCalcHelperMain.cpp In file included from OMCppBuildings_latest_Buildings.Utilities.IO.Files.WeeklyScheduleCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_latest_Buildings.Utilities.IO.Files.WeeklyScheduleFunctions.cpp:5: In file included from /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/Resources/C-Sources/WeeklyScheduleGetValue.c:16: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/Resources/C-Sources/WeeklySchedule.h:26:16: error: redefinition of 'WeeklySchedule' typedef struct WeeklySchedule { ^ ./OMCppBuildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.h:21:7: note: previous definition is here class WeeklySchedule: public SystemDefaultImplementation ^ In file included from OMCppBuildings_latest_Buildings.Utilities.IO.Files.WeeklyScheduleCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_latest_Buildings.Utilities.IO.Files.WeeklyScheduleFunctions.cpp:5: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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 master/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 master/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 master/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 master/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 master/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 master/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 master/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 master/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 master/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 master/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 master/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 master/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 master/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 master/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 master/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 master/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_latest_Buildings.Utilities.IO.Files.WeeklyScheduleCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_latest_Buildings.Utilities.IO.Files.WeeklyScheduleFunctions.cpp:6: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings.Utilities.IO.Files.WeeklyScheduleCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 8.552393363788724] Failed to read output from testmodel.py, exit status != 0: 0.4796473770402372 0.494369201 0.029082677 Calling exit ...