Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.399/1.399, allocations: 252 MB / 267.6 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001023/0.001023, allocations: 174 kB / 327.3 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.97/1.97, allocations: 205.4 MB / 0.5783 GB, free: 20.3 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007957/0.0007958, allocations: 79.86 kB / 0.6829 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003423/0.0003426, allocations: 6.5 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2632/0.2635, allocations: 106.3 MB / 0.9008 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.005387/0.269, allocations: 3.584 MB / 0.9043 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1751/0.4441, allocations: 136.5 MB / 1.038 GB, free: 3.512 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00109/0.4453, allocations: 11.94 kB / 1.038 GB, free: 3.5 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006522/0.4459, allocations: 127 kB / 1.038 GB, free: 3.375 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. Notification: Performance of NFTyping.typeBindings: time 0.001914/0.4479, allocations: 343.3 kB / 1.038 GB, free: 3.043 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002489/0.4504, allocations: 0.5997 MB / 1.039 GB, free: 2.449 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001794/0.4522, allocations: 1.012 MB / 1.04 GB, free: 1.43 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00117/0.4534, allocations: 0.5141 MB / 1.04 GB, free: 0.9102 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009898/0.4544, allocations: 298.5 kB / 1.04 GB, free: 0.6172 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006679/0.455, allocations: 322.2 kB / 1.041 GB, free: 308 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001052/0.4552, allocations: 20 kB / 1.041 GB, free: 288 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001026/0.4562, allocations: 267.8 kB / 1.041 GB, free: 20 kB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002816/0.4565, allocations: 167.2 kB / 1.041 GB, free: 15.86 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002963/0.4568, allocations: 189.1 kB / 1.041 GB, free: 15.66 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001654/0.4585, allocations: 1.076 MB / 1.042 GB, free: 14.59 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.4585, allocations: 4 kB / 1.042 GB, free: 14.58 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.725e-06/0.4585, allocations: 0 / 1.042 GB, free: 14.58 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.394e-05/0.4585, allocations: 0 / 1.042 GB, free: 14.58 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002893/0.4614, allocations: 1.154 MB / 1.044 GB, free: 13.38 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.4615, allocations: 8.031 kB / 1.044 GB, free: 13.37 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002024/0.4635, allocations: 270.4 kB / 1.044 GB, free: 13.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001602/0.4651, allocations: 0.7069 MB / 1.044 GB, free: 12.36 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.002e-05/0.4653, allocations: 69.94 kB / 1.045 GB, free: 12.29 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001725/0.4654, allocations: 84 kB / 1.045 GB, free: 12.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002623/0.4681, allocations: 0.9652 MB / 1.046 GB, free: 11.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.644e-05/0.4681, allocations: 0 / 1.046 GB, free: 11.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000126/0.4683, allocations: 43.94 kB / 1.046 GB, free: 11.16 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-05/0.4683, allocations: 27.95 kB / 1.046 GB, free: 11.13 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003119/0.4714, allocations: 1.171 MB / 1.047 GB, free: 9.953 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006246/0.4777, allocations: 2.581 MB / 1.049 GB, free: 7.309 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003348/0.4811, allocations: 0.8665 MB / 1.05 GB, free: 6.434 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009581/0.4821, allocations: 323.9 kB / 1.05 GB, free: 6.113 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001187/0.4822, allocations: 28.69 kB / 1.05 GB, free: 6.086 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001376/0.4836, allocations: 483.1 kB / 1.051 GB, free: 5.594 MB / 0.698 GB Notification: Performance of pre-optimization done (n=74): time 4.158e-06/0.4836, allocations: 0 / 1.051 GB, free: 5.594 MB / 0.698 GB Notification: Performance of matching and sorting (n=74): time 0.004631/0.4883, allocations: 1.194 MB / 1.052 GB, free: 4.375 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000166/0.4885, allocations: 192.6 kB / 1.052 GB, free: 4.145 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00119/0.4897, allocations: 0.5821 MB / 1.053 GB, free: 3.555 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.942e-05/0.4898, allocations: 41.7 kB / 1.053 GB, free: 3.508 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005195/0.4903, allocations: 392.1 kB / 1.053 GB, free: 3.117 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003207/0.4906, allocations: 244.5 kB / 1.053 GB, free: 2.875 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.271e-05/0.4907, allocations: 12 kB / 1.054 GB, free: 2.863 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002484/0.491, allocations: 382.8 kB / 1.054 GB, free: 2.48 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008886/0.4919, allocations: 273.8 kB / 1.054 GB, free: 2.211 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001012/0.4929, allocations: 371 kB / 1.054 GB, free: 1.832 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009804/0.4939, allocations: 318.9 kB / 1.055 GB, free: 1.523 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.4939, allocations: 3.938 kB / 1.055 GB, free: 1.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002973/0.4969, allocations: 0.8605 MB / 1.056 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.877e-05/0.4969, allocations: 4 kB / 1.056 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.4969, allocations: 0 / 1.056 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007856/0.4977, allocations: 80.88 kB / 1.056 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/0.4988, allocations: 167.8 kB / 1.056 GB, free: 408 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5704/1.069, allocations: 1.519 MB / 1.057 GB, free: 153.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/1.07, allocations: 102.9 kB / 1.057 GB, free: 153.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.71e-05/1.07, allocations: 33.05 kB / 1.057 GB, free: 153.5 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005475/1.071, allocations: 268.3 kB / 1.058 GB, free: 153.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001302/1.071, allocations: 72.94 kB / 1.058 GB, free: 153.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002589/1.074, allocations: 1.09 MB / 1.059 GB, free: 153.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/1.074, allocations: 8.812 kB / 1.059 GB, free: 153.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/1.074, allocations: 3.953 kB / 1.059 GB, free: 153.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/1.074, allocations: 9.438 kB / 1.059 GB, free: 153.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009733/1.075, allocations: 0.8671 MB / 1.06 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/1.075, allocations: 0 / 1.06 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006442/1.075, allocations: 159.7 kB / 1.06 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005044/1.076, allocations: 85.34 kB / 1.06 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.794e-05/1.076, allocations: 26.03 kB / 1.06 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001521/1.077, allocations: 1.543 MB / 1.062 GB, free: 151.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/1.077, allocations: 0 / 1.062 GB, free: 151.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001987/1.079, allocations: 0.921 MB / 1.062 GB, free: 151.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003607/1.08, allocations: 268.7 kB / 1.063 GB, free: 151.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.807e-05/1.08, allocations: 15.12 kB / 1.063 GB, free: 151.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006178/1.081, allocations: 80.48 kB / 1.063 GB, free: 151.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001624/1.081, allocations: 65.23 kB / 1.063 GB, free: 151.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.573e-05/1.081, allocations: 38.05 kB / 1.063 GB, free: 151.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005588/1.081, allocations: 416.2 kB / 1.063 GB, free: 151.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/1.081, allocations: 6.969 kB / 1.063 GB, free: 151.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008291/1.082, allocations: 285.6 kB / 1.064 GB, free: 151.3 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001201/1.083, allocations: 0.5489 MB / 1.064 GB, free: 151.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001858/1.085, allocations: 0.8423 MB / 1.065 GB, free: 151 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/1.085, allocations: 1.953 kB / 1.065 GB, free: 151 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009658/1.086, allocations: 0.5146 MB / 1.065 GB, free: 150.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001132/1.087, allocations: 256.6 kB / 1.066 GB, free: 150.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004528/1.092, allocations: 2.208 MB / 1.068 GB, free: 149.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007046/1.093, allocations: 1.022 MB / 1.069 GB, free: 149.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003815/1.093, allocations: 112 kB / 1.069 GB, free: 149.1 MB / 0.698 GB Notification: Performance of SimCode: time 1.603e-06/1.093, allocations: 0 / 1.069 GB, free: 149.1 MB / 0.698 GB Notification: Performance of Templates: time 0.03545/1.129, allocations: 17.46 MB / 1.086 GB, free: 142.2 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile clang++ -Winvalid-pch -O0 -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 7.0.3-maint.7.0.x/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightnessCalcHelperMain.o OMCppBuildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightnessCalcHelperMain.cpp In file included from OMCppBuildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightnessCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightnessFunctions.cpp:5: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/C-Sources/getTimeSpan.c:23:9: error: cannot initialize a variable of type 'char *' with an rvalue of type 'void *' char *result = malloc(len1 + len2 + 1); ^ ~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make: *** [: OMCppBuildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightnessCalcHelperMain.o] Error 1