Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001285/0.001285, 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.001432/0.001432, allocations: 219.5 kB / 23 MB, free: 4.914 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.529/1.529, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.355/3.355, allocations: 0.4892 GB / 0.7951 GB, free: 35.47 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings.Utilities.IO.Files.WeeklySchedule") translateModel(Buildings.Utilities.IO.Files.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="Buildings_12_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.002081/0.002081, allocations: 71.64 kB / 1.154 GB, free: 25.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4203/0.4223, allocations: 176.1 MB / 1.326 GB, free: 1.875 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.WeeklySchedule): time 0.003238/0.4256, allocations: 1.372 MB / 1.328 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002018/0.4258, allocations: 40.36 kB / 1.328 GB, free: 468 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.553e-05/0.4258, allocations: 3.938 kB / 1.328 GB, free: 464 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.00019/0.426, allocations: 11.94 kB / 1.328 GB, free: 452 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001297/0.4262, allocations: 15.91 kB / 1.328 GB, free: 436 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.31e-06/0.4262, allocations: 0 / 1.328 GB, free: 436 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.874e-05/0.4262, allocations: 15.98 kB / 1.328 GB, free: 420 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.204e-05/0.4263, allocations: 3.938 kB / 1.328 GB, free: 416 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.529e-05/0.4263, allocations: 7.938 kB / 1.328 GB, free: 408 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.664e-05/0.4264, allocations: 7.984 kB / 1.328 GB, free: 400 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.706e-05/0.4264, allocations: 0 / 1.328 GB, free: 400 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.904e-05/0.4265, allocations: 12 kB / 1.328 GB, free: 388 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.591e-05/0.4265, allocations: 7.938 kB / 1.328 GB, free: 380 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.182e-05/0.4265, allocations: 3.984 kB / 1.328 GB, free: 376 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.4266, allocations: 31.86 kB / 1.328 GB, free: 344 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.4266, allocations: 0 / 1.328 GB, free: 344 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.754e-06/0.4267, allocations: 0 / 1.328 GB, free: 344 kB / 1.014 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.4267, allocations: 0 / 1.328 GB, free: 344 kB / 1.014 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.0004059/0.4271, allocations: 262.2 kB / 1.328 GB, free: 48 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.4271, allocations: 12.03 kB / 1.328 GB, free: 36 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.701e-05/0.4271, allocations: 4.891 kB / 1.328 GB, free: 32 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002073/0.4274, allocations: 110.5 kB / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.4274, allocations: 8.344 kB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.4274, allocations: 8.375 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.293e-05/0.4275, allocations: 30.2 kB / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.639e-06/0.4275, allocations: 192 / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.4275, allocations: 7.938 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.292e-05/0.4275, allocations: 3.984 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.145e-05/0.4275, allocations: 0 / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001609/0.4277, allocations: 105.3 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 4.922e-05/0.4278, allocations: 22.55 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.111e-05/0.4278, allocations: 8.859 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.489e-05/0.4278, allocations: 8.047 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.4278, allocations: 38.5 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.4278, allocations: 0 / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0001555/0.428, allocations: 41.59 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.793e-05/0.428, allocations: 51.41 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.4282, allocations: 113.8 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.4282, allocations: 25.7 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.336e-05/0.4282, allocations: 92.12 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.152e-05/0.4282, allocations: 0 / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-05/0.4283, allocations: 9.719 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.4284, allocations: 314.8 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.207e-05/0.4284, allocations: 8.062 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.066e-05/0.4284, allocations: 3.938 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.906e-05/0.4285, allocations: 16.84 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.4285, allocations: 4 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.835e-05/0.4285, allocations: 33.66 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.4286, allocations: 8 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.4286, allocations: 0 / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.4286, allocations: 3.938 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.213e-05/0.4286, allocations: 0 / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.4286, allocations: 4.406 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.737e-05/0.4286, allocations: 4 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.4287, allocations: 0 / 1.329 GB, free: 14.82 MB / 1.029 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 8.699e-05/0.4287, allocations: 111.6 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.278e-05/0.4288, allocations: 4 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001048/0.4289, allocations: 45.09 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.4289, allocations: 3.938 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.4289, allocations: 7.984 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.4289, allocations: 0 / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.491e-05/0.429, allocations: 101.3 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.429, allocations: 4.031 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.654e-05/0.429, allocations: 0 / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.429, allocations: 0 / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.429, allocations: 7.984 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.429, allocations: 0 / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.429, allocations: 3.938 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.66e-05/0.4291, allocations: 65.03 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.428e-06/0.4291, allocations: 0 / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.4291, allocations: 7.984 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.004e-05/0.4291, allocations: 0 / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.548e-05/0.4291, allocations: 11.91 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.4291, allocations: 4 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.323e-05/0.4292, allocations: 87.28 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4292, allocations: 0 / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001993/0.4294, allocations: 7.984 kB / 1.33 GB, free: 14.29 MB / 1.029 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.000262/0.4297, allocations: 122.5 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.549e-05/0.4298, allocations: 12 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4298, allocations: 0 / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.267e-05/0.4298, allocations: 7.938 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001453/0.4299, allocations: 3.984 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003287/0.4303, allocations: 135.3 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.38e-05/0.4303, allocations: 59.34 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.389e-05/0.4303, allocations: 11.44 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of SimCode: time 4.41e-07/0.4303, allocations: 0 / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of Templates: time 0.002577/0.4329, allocations: 0.7409 MB / 1.331 GB, free: 13.14 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.IO.Files.WeeklySchedule.makefile [Timeout 300] make -j1 -f Buildings_12_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 12.1.1-maint.12.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 12.1.1-maint.12.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_12_Buildings.Utilities.IO.Files.WeeklyScheduleCalcHelperMain.o OMCppBuildings_12_Buildings.Utilities.IO.Files.WeeklyScheduleCalcHelperMain.cpp In file included from OMCppBuildings_12_Buildings.Utilities.IO.Files.WeeklyScheduleCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_12_Buildings.Utilities.IO.Files.WeeklyScheduleFunctions.cpp:5: In file included from /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/Resources/C-Sources/WeeklyScheduleGetValue.c:16: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/Resources/C-Sources/WeeklySchedule.h:26:16: error: redefinition of 'WeeklySchedule' typedef struct WeeklySchedule { ^ ./OMCppBuildings_12_Buildings.Utilities.IO.Files.WeeklySchedule.h:21:7: note: previous definition is here class WeeklySchedule: public SystemDefaultImplementation ^ In file included from OMCppBuildings_12_Buildings.Utilities.IO.Files.WeeklyScheduleCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_12_Buildings.Utilities.IO.Files.WeeklyScheduleFunctions.cpp:5: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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 12.1.1-maint.12.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 12.1.1-maint.12.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 12.1.1-maint.12.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 12.1.1-maint.12.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 12.1.1-maint.12.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 12.1.1-maint.12.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 12.1.1-maint.12.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 12.1.1-maint.12.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 12.1.1-maint.12.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 12.1.1-maint.12.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 12.1.1-maint.12.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 12.1.1-maint.12.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 12.1.1-maint.12.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 12.1.1-maint.12.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 12.1.1-maint.12.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 12.1.1-maint.12.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_12_Buildings.Utilities.IO.Files.WeeklyScheduleCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_12_Buildings.Utilities.IO.Files.WeeklyScheduleFunctions.cpp:6: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings.Utilities.IO.Files.WeeklyScheduleCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 8.55591856688261] Failed to read output from testmodel.py, exit status != 0: 0.4416249440982938 0.457022868 0.027259578000000003 Calling exit ...