Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.0007217/0.0007217, allocations: 76.45 kB / 19.91 MB, free: 16 kB / 13.93 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.0007422/0.0007422, allocations: 165.9 kB / 23.18 MB, free: 1.387 MB / 18.57 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 0.8801/0.8801, allocations: 177.2 MB / 203.6 MB, free: 5.77 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.6927/0.6927, allocations: 154.7 MB / 414.7 MB, free: 0.75 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule") translateModel(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule") [Timeout 660] "Notification: IDEAS 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.0008829/0.0008829, allocations: 70.36 kB / 0.6195 GB, free: 13.14 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4121/0.413, allocations: 102 MB / 0.7191 GB, free: 23.61 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule): time 0.00185/0.4149, allocations: 1.501 MB / 0.7205 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001029/0.4159, allocations: 1.211 MB / 0.7217 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.231e-05/0.4159, allocations: 1.531 kB / 0.7217 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001738/0.4161, allocations: 13.88 kB / 0.7217 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001755/0.4163, allocations: 43.89 kB / 0.7218 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000131/0.4164, allocations: 70.17 kB / 0.7219 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001627/0.4166, allocations: 144.5 kB / 0.722 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.4167, allocations: 45 kB / 0.722 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.4168, allocations: 105.4 kB / 0.7221 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.4169, allocations: 63.31 kB / 0.7222 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.705e-05/0.417, allocations: 11.09 kB / 0.7222 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.138e-05/0.417, allocations: 23.83 kB / 0.7222 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 6.715e-05/0.4171, allocations: 47.14 kB / 0.7223 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 5.524e-05/0.4171, allocations: 61.61 kB / 0.7223 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002334/0.4174, allocations: 226.4 kB / 0.7225 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.4174, allocations: 0.9375 kB / 0.7225 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.004e-06/0.4174, allocations: 4.5 kB / 0.7226 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.553e-06/0.4174, allocations: 5.031 kB / 0.7226 GB, free: 21.37 MB / 0.6355 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.000467/0.4179, allocations: 425.3 kB / 0.723 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.4179, allocations: 9.594 kB / 0.723 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.641e-05/0.4179, allocations: 25.12 kB / 0.723 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001976/0.4181, allocations: 199 kB / 0.7232 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.059e-05/0.4182, allocations: 223.4 kB / 0.7234 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.4183, allocations: 12.02 kB / 0.7234 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002381/0.4185, allocations: 264.8 kB / 0.7237 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.4185, allocations: 5.125 kB / 0.7237 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.4185, allocations: 5.062 kB / 0.7237 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.12e-05/0.4185, allocations: 8.422 kB / 0.7237 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.084e-05/0.4186, allocations: 39.55 kB / 0.7237 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000575/0.4192, allocations: 378.6 kB / 0.7241 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.175e-05/0.4192, allocations: 31.97 kB / 0.7241 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.872e-05/0.4193, allocations: 26.36 kB / 0.7241 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.4193, allocations: 3.859 kB / 0.7241 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.437e-05/0.4193, allocations: 32.75 kB / 0.7242 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.4193, allocations: 0 / 0.7242 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.000198/0.4195, allocations: 110.6 kB / 0.7243 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.805e-05/0.4195, allocations: 54.95 kB / 0.7243 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.4196, allocations: 217.2 kB / 0.7245 GB, free: 19.78 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.4197, allocations: 27.05 kB / 0.7246 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.487e-05/0.4197, allocations: 126.2 kB / 0.7247 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.707e-05/0.4197, allocations: 29.69 kB / 0.7247 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.013e-05/0.4198, allocations: 27.64 kB / 0.7247 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.41e-05/0.4198, allocations: 332.2 kB / 0.7251 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.465e-05/0.4198, allocations: 28.84 kB / 0.7251 GB, free: 19.26 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.096e-05/0.4199, allocations: 99.92 kB / 0.7252 GB, free: 19.15 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.773e-05/0.42, allocations: 147.5 kB / 0.7253 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.42, allocations: 1.062 kB / 0.7253 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001496/0.4201, allocations: 154.3 kB / 0.7255 GB, free: 18.94 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.4201, allocations: 6.469 kB / 0.7255 GB, free: 18.94 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.4202, allocations: 3.25 kB / 0.7255 GB, free: 18.94 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.4202, allocations: 2.906 kB / 0.7255 GB, free: 18.94 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.885e-05/0.4202, allocations: 30.77 kB / 0.7255 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.4202, allocations: 4.688 kB / 0.7255 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.547e-05/0.4203, allocations: 16.47 kB / 0.7255 GB, free: 18.92 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.4203, allocations: 6.672 kB / 0.7255 GB, free: 18.92 MB / 0.6355 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 6.637e-05/0.4204, allocations: 146.2 kB / 0.7257 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.038e-05/0.4204, allocations: 27.77 kB / 0.7257 GB, free: 18.77 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001341/0.4205, allocations: 110.6 kB / 0.7258 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.4205, allocations: 5.219 kB / 0.7258 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.4205, allocations: 0 / 0.7258 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.4205, allocations: 6.375 kB / 0.7258 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.4206, allocations: 151.6 kB / 0.726 GB, free: 18.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.4206, allocations: 1.625 kB / 0.726 GB, free: 18.56 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.758e-05/0.4207, allocations: 17.27 kB / 0.726 GB, free: 18.56 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.4207, allocations: 4.641 kB / 0.726 GB, free: 18.55 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.4207, allocations: 1.375 kB / 0.726 GB, free: 18.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.4207, allocations: 6.109 kB / 0.726 GB, free: 18.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.4207, allocations: 0 / 0.726 GB, free: 18.55 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000104/0.4208, allocations: 185.4 kB / 0.7262 GB, free: 18.4 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.217e-05/0.4208, allocations: 17.77 kB / 0.7262 GB, free: 18.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.4208, allocations: 5.594 kB / 0.7262 GB, free: 18.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.4209, allocations: 16.92 kB / 0.7262 GB, free: 18.38 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.55e-05/0.4209, allocations: 5.094 kB / 0.7262 GB, free: 18.38 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.421, allocations: 14.62 kB / 0.7262 GB, free: 18.38 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.4e-05/0.421, allocations: 165.4 kB / 0.7264 GB, free: 18.28 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.421, allocations: 0 / 0.7264 GB, free: 18.28 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001895/0.4212, allocations: 40.45 kB / 0.7264 GB, free: 18.26 MB / 0.6355 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.0001451/0.4214, allocations: 126.9 kB / 0.7265 GB, free: 18.16 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000115/0.4215, allocations: 72.73 kB / 0.7266 GB, free: 18.13 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4215, allocations: 1.531 kB / 0.7266 GB, free: 18.13 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.566e-05/0.4215, allocations: 30.19 kB / 0.7266 GB, free: 18.12 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002053/0.4217, allocations: 22.77 kB / 0.7267 GB, free: 18.11 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003556/0.4221, allocations: 318.6 kB / 0.727 GB, free: 17.89 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.73e-05/0.4222, allocations: 117.7 kB / 0.7271 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.106e-05/0.4222, allocations: 23.72 kB / 0.7271 GB, free: 17.8 MB / 0.6355 GB Notification: Performance of SimCode: time 4.61e-07/0.4222, allocations: 0 / 0.7271 GB, free: 17.8 MB / 0.6355 GB Notification: Performance of Templates: time 0.003444/0.4256, allocations: 2.68 MB / 0.7297 GB, free: 17.54 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.makefile [Timeout 660] make -j1 -f IDEAS_IDEAS.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 -DOMC_BUILD -DUSE_THREAD -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklyScheduleCalcHelperMain.o OMCppIDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklyScheduleCalcHelperMain.cpp In file included from OMCppIDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklyScheduleCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklyScheduleFunctions.cpp:5: In file included from /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Resources/C-Sources/WeeklyScheduleGetValue.c:16: /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Resources/C-Sources/WeeklySchedule.h:26:16: error: redefinition of 'WeeklySchedule' 26 | typedef struct WeeklySchedule { | ^ ./OMCppIDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.h:21:7: note: previous definition is here 21 | class WeeklySchedule: public SystemDefaultImplementation | ^ In file included from OMCppIDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklyScheduleCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklyScheduleFunctions.cpp:5: /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Resources/C-Sources/WeeklyScheduleGetValue.c:27:41: error: no member named 't_offset' in 'WeeklySchedule' 27 | double t = modelicaTime - scheduleID->t_offset; | ~~~~~~~~~~ ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Resources/C-Sources/WeeklyScheduleGetValue.c:35:42: error: no member named 'n_data_cols' in 'WeeklySchedule' 35 | if (column < 0 || column > scheduleID->n_data_cols) { | ~~~~~~~~~~ ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Resources/C-Sources/WeeklyScheduleGetValue.c:36:120: error: no member named 'n_data_cols' in 'WeeklySchedule' 36 | 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/IDEAS 4.0.0/Resources/C-Sources/WeeklyScheduleGetValue.c:43:27: error: no member named 'previousTimestamp' in 'WeeklySchedule' 43 | if (time == scheduleID->previousTimestamp) { | ~~~~~~~~~~ ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Resources/C-Sources/WeeklyScheduleGetValue.c:44:21: error: no member named 'previousIndex' in 'WeeklySchedule' 44 | i = scheduleID->previousIndex; | ~~~~~~~~~~ ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Resources/C-Sources/WeeklyScheduleGetValue.c:45:33: error: no member named 'rules' in 'WeeklySchedule' 45 | } else if (time > scheduleID->rules[scheduleID->previousIndex]->time) { | ~~~~~~~~~~ ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Resources/C-Sources/WeeklyScheduleGetValue.c:45:51: error: no member named 'previousIndex' in 'WeeklySchedule' 45 | } else if (time > scheduleID->rules[scheduleID->previousIndex]->time) { | ~~~~~~~~~~ ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Resources/C-Sources/WeeklyScheduleGetValue.c:46:26: error: no member named 'previousIndex' in 'WeeklySchedule' 46 | for (i = scheduleID->previousIndex; i < scheduleID->n_allocatedRules - 1; i ++) { | ~~~~~~~~~~ ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Resources/C-Sources/WeeklyScheduleGetValue.c:46:57: error: no member named 'n_allocatedRules' in 'WeeklySchedule' 46 | for (i = scheduleID->previousIndex; i < scheduleID->n_allocatedRules - 1; i ++) { | ~~~~~~~~~~ ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Resources/C-Sources/WeeklyScheduleGetValue.c:47:23: error: no member named 'rules' in 'WeeklySchedule' 47 | if (scheduleID->rules[i + 1]->time > time) { | ~~~~~~~~~~ ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Resources/C-Sources/WeeklyScheduleGetValue.c:52:26: error: no member named 'previousIndex' in 'WeeklySchedule' 52 | for (i = scheduleID->previousIndex; i > 0; i--) { | ~~~~~~~~~~ ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Resources/C-Sources/WeeklyScheduleGetValue.c:53:23: error: no member named 'rules' in 'WeeklySchedule' 53 | if (scheduleID->rules[i - 1]->time < time) { | ~~~~~~~~~~ ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Resources/C-Sources/WeeklyScheduleGetValue.c:59:31: error: no member named 'rules' in 'WeeklySchedule' 59 | if (i == 0 && scheduleID->rules[0]->time > time) { | ~~~~~~~~~~ ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Resources/C-Sources/WeeklyScheduleGetValue.c:60:23: error: no member named 'n_allocatedRules' in 'WeeklySchedule' 60 | i = scheduleID->n_allocatedRules - 1; | ~~~~~~~~~~ ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Resources/C-Sources/WeeklyScheduleGetValue.c:63:15: error: no member named 'previousIndex' in 'WeeklySchedule' 63 | scheduleID->previousIndex = i; | ~~~~~~~~~~ ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Resources/C-Sources/WeeklyScheduleGetValue.c:64:15: error: no member named 'previousTimestamp' in 'WeeklySchedule' 64 | scheduleID->previousTimestamp = time; | ~~~~~~~~~~ ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Resources/C-Sources/WeeklyScheduleGetValue.c:66:22: error: no member named 'rules' in 'WeeklySchedule' 66 | return scheduleID->rules[i]->data[columnIndex]; | ~~~~~~~~~~ ^ In file included from OMCppIDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklyScheduleCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklyScheduleFunctions.cpp:6: /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Resources/C-Sources/WeeklyScheduleFree.c:29:31: error: no member named 'n_allocatedRulesData' in 'WeeklySchedule' 29 | for (i = 0; i < scheduleID->n_allocatedRulesData; ++i) { | ~~~~~~~~~~ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: OMCppIDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklyScheduleCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 3.5064507930073887] Failed to read output from testmodel.py, exit status != 0: 0.43126236111856997 0.441021037 0.021932192 Calling exit ...