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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001112/0.001112, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 184.2 kB / 16.92 MB, free: 6.926 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.447/1.447, allocations: 223.3 MB / 241 MB, free: 5.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.713/2.713, allocations: 437.8 MB / 0.7128 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003711/0.0003712, allocations: 8 kB / 0.8735 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7251/0.7255, allocations: 153.8 MB / 1.024 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002388/0.7279, allocations: 1.192 MB / 1.025 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001939/0.7299, allocations: 1.09 MB / 1.026 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.311e-05/0.73, allocations: 0 / 1.026 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002494/0.7303, allocations: 15.94 kB / 1.026 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002647/0.7306, allocations: 31.84 kB / 1.026 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002831/0.7309, allocations: 55.91 kB / 1.026 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002568/0.7311, allocations: 139.6 kB / 1.026 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002247/0.7314, allocations: 65.08 kB / 1.026 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001641/0.7315, allocations: 67.69 kB / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002545/0.7318, allocations: 47.72 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.471e-05/0.7319, allocations: 4 kB / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001214/0.732, allocations: 24 kB / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.099e-05/0.7321, allocations: 39.81 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001365/0.7322, allocations: 93.28 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002919/0.7325, allocations: 137.7 kB / 1.027 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.7325, allocations: 0 / 1.027 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.265e-06/0.7325, allocations: 0 / 1.027 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.123e-05/0.7326, allocations: 0 / 1.027 GB, free: 12.82 MB / 0.7794 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.0008685/0.7334, allocations: 462.8 kB / 1.027 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.7335, allocations: 8.031 kB / 1.027 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/0.7336, allocations: 20.66 kB / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003535/0.734, allocations: 256 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001591/0.7341, allocations: 119.4 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.7342, allocations: 8.375 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003636/0.7345, allocations: 175.5 kB / 1.028 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.7345, allocations: 0 / 1.028 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.938e-05/0.7346, allocations: 4 kB / 1.028 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.32e-05/0.7346, allocations: 11.98 kB / 1.028 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.669e-05/0.7347, allocations: 43.91 kB / 1.028 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001129/0.7358, allocations: 492.3 kB / 1.028 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.672e-05/0.7359, allocations: 30.56 kB / 1.028 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.221e-05/0.736, allocations: 20.86 kB / 1.028 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.14e-05/0.736, allocations: 7.984 kB / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.7361, allocations: 38.66 kB / 1.028 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/0.7361, allocations: 4 kB / 1.028 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.000291/0.7364, allocations: 109.5 kB / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.7364, allocations: 59.34 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002207/0.7366, allocations: 212.8 kB / 1.029 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.138e-05/0.7367, allocations: 29.7 kB / 1.029 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.347e-05/0.7368, allocations: 124.1 kB / 1.029 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/0.7368, allocations: 27.55 kB / 1.029 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.219e-05/0.7368, allocations: 17.72 kB / 1.029 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.737, allocations: 330.8 kB / 1.029 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.161e-05/0.737, allocations: 27.97 kB / 1.029 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.846e-05/0.7371, allocations: 102.2 kB / 1.029 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/0.7373, allocations: 142.2 kB / 1.029 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.7373, allocations: 0 / 1.029 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002421/0.7376, allocations: 157.4 kB / 1.03 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.7376, allocations: 9.719 kB / 1.03 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.7376, allocations: 0 / 1.03 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.7376, allocations: 4 kB / 1.03 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.7377, allocations: 23.94 kB / 1.03 GB, free: 9.484 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.7377, allocations: 11.92 kB / 1.03 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.998e-05/0.7378, allocations: 4 kB / 1.03 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/0.7378, allocations: 8 kB / 1.03 GB, free: 9.461 MB / 0.7794 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.0001292/0.738, allocations: 157.8 kB / 1.03 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.758e-05/0.738, allocations: 15.81 kB / 1.03 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002127/0.7382, allocations: 111 kB / 1.03 GB, free: 9.172 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.7383, allocations: 3.938 kB / 1.03 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.7383, allocations: 7.875 kB / 1.03 GB, free: 9.16 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.7383, allocations: 7.969 kB / 1.03 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002349/0.7385, allocations: 225.6 kB / 1.03 GB, free: 8.883 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.7385, allocations: 0 / 1.03 GB, free: 8.883 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.963e-05/0.7386, allocations: 15.98 kB / 1.03 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.7386, allocations: 4 kB / 1.03 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.7386, allocations: 4 kB / 1.03 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.7386, allocations: 0 / 1.03 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.7386, allocations: 3.938 kB / 1.03 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001869/0.7388, allocations: 183.3 kB / 1.03 GB, free: 8.66 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.372e-05/0.7389, allocations: 96.84 kB / 1.03 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.7389, allocations: 4 kB / 1.03 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002635/0.7392, allocations: 27.98 kB / 1.03 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.424e-05/0.7392, allocations: 15.86 kB / 1.03 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.267e-05/0.7392, allocations: 11.98 kB / 1.03 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001568/0.7394, allocations: 160.5 kB / 1.031 GB, free: 8.332 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.51e-07/0.7394, allocations: 0 / 1.031 GB, free: 8.332 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003103/0.7397, allocations: 32 kB / 1.031 GB, free: 8.301 MB / 0.7794 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.0002492/0.74, allocations: 123.3 kB / 1.031 GB, free: 8.172 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001568/0.7401, allocations: 72.52 kB / 1.031 GB, free: 8.102 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.7401, allocations: 0 / 1.031 GB, free: 8.102 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.657e-05/0.7402, allocations: 32.05 kB / 1.031 GB, free: 8.07 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/0.7405, allocations: 31.55 kB / 1.031 GB, free: 8.043 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005173/0.741, allocations: 359.8 kB / 1.031 GB, free: 7.66 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/0.7413, allocations: 0.7316 MB / 1.032 GB, free: 6.902 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.484e-05/0.7414, allocations: 27.42 kB / 1.032 GB, free: 6.875 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.7414, allocations: 0 / 1.032 GB, free: 6.875 MB / 0.7794 GB Notification: Performance of Templates: time 0.004681/0.7461, allocations: 2.595 MB / 1.034 GB, free: 4.297 MB / 0.7794 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++14 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0-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.0-maint.10.0.x/Resources/C-Sources/WeeklySchedule.c:21: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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:22: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.0-maint.10.0.x/Resources/C-Sources/WeeklySchedule.c:67:15: error: no member named 'n_allocatedRules' in 'WeeklySchedule' scheduleID->n_allocatedRules = 0; ~~~~~~~~~~ ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/Resources/C-Sources/WeeklySchedule.c:68:15: error: no member named 'n_allocatedRulesData' in 'WeeklySchedule' scheduleID->n_allocatedRulesData = 0; ~~~~~~~~~~ ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/Resources/C-Sources/WeeklySchedule.c:69:15: error: no member named 'lastData' in 'WeeklySchedule' scheduleID->lastData = NULL; ~~~~~~~~~~ ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/Resources/C-Sources/WeeklySchedule.c:70:15: error: no member named 'token' in 'WeeklySchedule' scheduleID->token = NULL; ~~~~~~~~~~ ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/Resources/C-Sources/WeeklySchedule.c:71:15: error: no member named 'fp' in 'WeeklySchedule' scheduleID->fp = NULL; ~~~~~~~~~~ ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/Resources/C-Sources/WeeklySchedule.c:72:15: error: no member named 'buff2' in 'WeeklySchedule' scheduleID->buff2 = NULL; ~~~~~~~~~~ ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/Resources/C-Sources/WeeklySchedule.c:73:15: error: no member named 'rules' in 'WeeklySchedule' scheduleID->rules = NULL; ~~~~~~~~~~ ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/Resources/C-Sources/WeeklySchedule.c:75:15: error: no member named 'token' in 'WeeklySchedule' scheduleID->token = (char*)calloc(sizeof(char), bufLen); ~~~~~~~~~~ ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/Resources/C-Sources/WeeklySchedule.c:76:20: error: no member named 'token' in 'WeeklySchedule' if ( scheduleID->token == NULL){ ~~~~~~~~~~ ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/Resources/C-Sources/WeeklySchedule.c:83:19: error: no member named 'fp' in 'WeeklySchedule' scheduleID->fp = fopen(name, "r"); ~~~~~~~~~~ ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/Resources/C-Sources/WeeklySchedule.c:84:21: error: no member named 'fp' in 'WeeklySchedule' if (scheduleID->fp == NULL) { ~~~~~~~~~~ ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/Resources/C-Sources/WeeklySchedule.c:91:15: error: no member named 'buff2' in 'WeeklySchedule' scheduleID->buff2 = (char*)calloc(sizeof(char), bufLen); ~~~~~~~~~~ ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/Resources/C-Sources/WeeklySchedule.c:92:19: error: no member named 'buff2' in 'WeeklySchedule' if (scheduleID->buff2 == NULL){ ~~~~~~~~~~ ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/Resources/C-Sources/WeeklySchedule.c:108:30: error: no member named 'fp' in 'WeeklySchedule' c = fgetc( scheduleID->fp ); /* read a character from the file */ ~~~~~~~~~~ ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/Resources/C-Sources/WeeklySchedule.c:116:49: error: no member named 'fp' in 'WeeklySchedule' }else if (tableOnFile && feof(scheduleID->fp)) { ~~~~~~~~~~ ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/Resources/C-Sources/WeeklySchedule.c:147:21: error: no member named 'token' in 'WeeklySchedule' scheduleID->token[index] = c; ~~~~~~~~~~ ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/Resources/C-Sources/WeeklySchedule.c:158:21: error: no member named 'token' in 'WeeklySchedule' scheduleID->token[index] = '\0'; ~~~~~~~~~~ ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/Resources/C-Sources/WeeklySchedule.c:160:39: error: no member named 'token' in 'WeeklySchedule' tokenLen = strlen(scheduleID->token); ~~~~~~~~~~ ^ 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