Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Files.Examples.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.001711/0.001711, allocations: 110.1 kB / 19.7 MB, free: 2.262 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.001924/0.001924, allocations: 214.4 kB / 23 MB, free: 5.113 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.443/1.443, allocations: 230.6 MB / 256.8 MB, free: 8.035 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.304/3.304, allocations: 0.505 GB / 0.8108 GB, free: 22.09 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.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weeSchFil.y.1.|weeSchFil.y.2.|weeSchFil.y.3.|weeSchFil.y.4.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule") translateModel(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weeSchFil.y.1.|weeSchFil.y.2.|weeSchFil.y.3.|weeSchFil.y.4.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.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.002061/0.002061, allocations: 67.31 kB / 1.178 GB, free: 16.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.3376, allocations: 180.2 MB / 1.354 GB, free: 7.973 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002959/0.3406, allocations: 1.527 MB / 1.356 GB, free: 6.438 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001835/0.3424, allocations: 1.235 MB / 1.357 GB, free: 5.195 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.832e-05/0.3425, allocations: 7.938 kB / 1.357 GB, free: 5.188 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001786/0.3427, allocations: 11.88 kB / 1.357 GB, free: 5.176 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001849/0.3428, allocations: 43.77 kB / 1.357 GB, free: 5.133 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002001/0.343, allocations: 61.89 kB / 1.357 GB, free: 5.074 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000215/0.3433, allocations: 151.5 kB / 1.357 GB, free: 4.926 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.3434, allocations: 37.23 kB / 1.357 GB, free: 4.891 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.3435, allocations: 83.75 kB / 1.357 GB, free: 4.809 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001861/0.3437, allocations: 59.7 kB / 1.357 GB, free: 4.75 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.464e-05/0.3437, allocations: 12 kB / 1.357 GB, free: 4.738 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.615e-05/0.3438, allocations: 31.98 kB / 1.357 GB, free: 4.707 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.964e-05/0.3439, allocations: 43.83 kB / 1.357 GB, free: 4.664 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.701e-05/0.344, allocations: 83.52 kB / 1.357 GB, free: 4.582 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002814/0.3443, allocations: 199.2 kB / 1.358 GB, free: 4.387 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.3443, allocations: 0 / 1.358 GB, free: 4.387 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3443, allocations: 0 / 1.358 GB, free: 4.387 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.3443, allocations: 4 kB / 1.358 GB, free: 4.383 MB / 1.045 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.0007101/0.345, allocations: 418.9 kB / 1.358 GB, free: 3.945 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.345, allocations: 12.03 kB / 1.358 GB, free: 3.934 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.8e-05/0.3451, allocations: 20.8 kB / 1.358 GB, free: 3.914 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000338/0.3454, allocations: 213.8 kB / 1.358 GB, free: 3.68 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002119/0.3456, allocations: 218.2 kB / 1.358 GB, free: 3.418 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.986e-05/0.3456, allocations: 8.375 kB / 1.358 GB, free: 3.41 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003584/0.346, allocations: 161.7 kB / 1.359 GB, free: 3.246 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.346, allocations: 0 / 1.359 GB, free: 3.246 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.07e-05/0.346, allocations: 0 / 1.359 GB, free: 3.246 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-05/0.3461, allocations: 19.92 kB / 1.359 GB, free: 3.227 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.781e-05/0.3462, allocations: 35.98 kB / 1.359 GB, free: 3.191 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001071/0.3472, allocations: 435.5 kB / 1.359 GB, free: 2.723 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 8.2e-05/0.3473, allocations: 34.56 kB / 1.359 GB, free: 2.68 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.637e-05/0.3474, allocations: 32.78 kB / 1.359 GB, free: 2.645 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/0.3474, allocations: 4 kB / 1.359 GB, free: 2.641 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.3474, allocations: 34.56 kB / 1.359 GB, free: 2.598 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.3474, allocations: 0 / 1.359 GB, free: 2.598 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.0002789/0.3477, allocations: 101.7 kB / 1.359 GB, free: 2.492 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.3477, allocations: 55.39 kB / 1.359 GB, free: 2.426 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002487/0.348, allocations: 219.7 kB / 1.359 GB, free: 2.199 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.348, allocations: 25.7 kB / 1.36 GB, free: 2.168 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.856e-05/0.3481, allocations: 132.1 kB / 1.36 GB, free: 2.035 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.222e-05/0.3481, allocations: 23.8 kB / 1.36 GB, free: 2.012 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.409e-05/0.3482, allocations: 33.72 kB / 1.36 GB, free: 1.973 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.3484, allocations: 330.8 kB / 1.36 GB, free: 1.641 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.334e-05/0.3484, allocations: 27.92 kB / 1.36 GB, free: 1.613 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/0.3485, allocations: 106.2 kB / 1.36 GB, free: 1.473 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001937/0.3487, allocations: 142.1 kB / 1.36 GB, free: 1.297 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.3487, allocations: 0 / 1.36 GB, free: 1.297 MB / 1.045 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000262/0.349, allocations: 153.3 kB / 1.36 GB, free: 1.141 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.349, allocations: 8 kB / 1.36 GB, free: 1.133 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.349, allocations: 0 / 1.36 GB, free: 1.133 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.349, allocations: 4 kB / 1.36 GB, free: 1.129 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.3491, allocations: 23.98 kB / 1.36 GB, free: 1.105 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.666e-05/0.3492, allocations: 12.25 kB / 1.36 GB, free: 1.094 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.949e-05/0.3493, allocations: 11.94 kB / 1.36 GB, free: 1.082 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.3493, allocations: 4 kB / 1.36 GB, free: 1.078 MB / 1.045 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.000137/0.3494, allocations: 145.8 kB / 1.361 GB, free: 0.9258 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.526e-05/0.3495, allocations: 15.91 kB / 1.361 GB, free: 0.9102 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002312/0.3497, allocations: 122.8 kB / 1.361 GB, free: 0.7773 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.3497, allocations: 0 / 1.361 GB, free: 0.7773 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.3497, allocations: 3.938 kB / 1.361 GB, free: 0.7734 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3497, allocations: 0 / 1.361 GB, free: 0.7734 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002615/0.35, allocations: 208.6 kB / 1.361 GB, free: 0.5273 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.35, allocations: 0 / 1.361 GB, free: 0.5273 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.501e-05/0.35, allocations: 12 kB / 1.361 GB, free: 0.5156 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.35, allocations: 4 kB / 1.361 GB, free: 0.5117 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.35, allocations: 3.984 kB / 1.361 GB, free: 0.5078 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.35, allocations: 4 kB / 1.361 GB, free: 0.5039 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.698e-06/0.35, allocations: 7.922 kB / 1.361 GB, free: 0.4961 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002209/0.3502, allocations: 191.4 kB / 1.361 GB, free: 300 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.5e-05/0.3503, allocations: 15.91 kB / 1.361 GB, free: 284 kB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.843e-05/0.3503, allocations: 0 / 1.361 GB, free: 284 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002455/0.3505, allocations: 19.97 kB / 1.361 GB, free: 264 kB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.083e-05/0.3506, allocations: 7.938 kB / 1.361 GB, free: 256 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.802e-05/0.3506, allocations: 15.97 kB / 1.361 GB, free: 240 kB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001701/0.3508, allocations: 165.5 kB / 1.361 GB, free: 76 kB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3508, allocations: 0 / 1.361 GB, free: 76 kB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003102/0.3511, allocations: 31.89 kB / 1.361 GB, free: 44 kB / 1.045 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.0002983/0.3514, allocations: 130.5 kB / 1.362 GB, free: 15.91 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001828/0.3515, allocations: 72.88 kB / 1.362 GB, free: 15.84 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3516, allocations: 128 / 1.362 GB, free: 15.84 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.631e-05/0.3516, allocations: 31.92 kB / 1.362 GB, free: 15.81 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000312/0.3519, allocations: 16.14 kB / 1.362 GB, free: 15.79 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006049/0.3525, allocations: 320.5 kB / 1.362 GB, free: 15.45 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003893/0.3529, allocations: 0.7275 MB / 1.363 GB, free: 14.69 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.548e-05/0.3529, allocations: 23.44 kB / 1.363 GB, free: 14.67 MB / 1.061 GB Notification: Performance of SimCode: time 3.41e-07/0.3529, allocations: 0 / 1.363 GB, free: 14.67 MB / 1.061 GB Notification: Performance of Templates: time 0.005048/0.358, allocations: 2.634 MB / 1.365 GB, free: 12.05 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.makefile [Timeout 300] make -j1 -f Buildings_latest_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 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.Examples.WeeklyScheduleCalcHelperMain.o OMCppBuildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklyScheduleCalcHelperMain.cpp In file included from OMCppBuildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklyScheduleCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_latest_Buildings.Utilities.IO.Files.Examples.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.Examples.WeeklySchedule.h:21:7: note: previous definition is here class WeeklySchedule: public SystemDefaultImplementation ^ In file included from OMCppBuildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklyScheduleCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_latest_Buildings.Utilities.IO.Files.Examples.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.Examples.WeeklyScheduleCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_latest_Buildings.Utilities.IO.Files.Examples.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.Examples.WeeklyScheduleCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 8.064057733019581] Failed to read output from testmodel.py, exit status != 0: 0.3662797269935254 0.381169224 0.033690477 Calling exit ...