Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.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.WeatherData.Validation.DecemberToJanuary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=482,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=482,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.411/1.411, allocations: 252 MB / 268 MB, free: 10.86 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.0009651/0.0009651, allocations: 179.4 kB / 327.6 MB, free: 2.082 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.739/1.739, allocations: 205.4 MB / 0.5786 GB, free: 20.16 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.0008317/0.0008321, allocations: 92.02 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003241/0.0003241, allocations: 10.44 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/0.2327, allocations: 106.3 MB / 0.9014 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary): time 0.004201/0.2369, allocations: 3.644 MB / 0.905 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1623/0.3992, allocations: 146.3 MB / 1.048 GB, free: 8.977 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009846/0.4003, allocations: 11.94 kB / 1.048 GB, free: 8.965 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006751/0.401, allocations: 127 kB / 1.048 GB, free: 8.84 MB / 0.698 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.001699/0.4027, allocations: 340.7 kB / 1.048 GB, free: 8.508 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001836/0.4045, allocations: 0.609 MB / 1.049 GB, free: 7.906 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001261/0.4058, allocations: 0.9887 MB / 1.05 GB, free: 6.91 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007222/0.4066, allocations: 478.1 kB / 1.05 GB, free: 6.434 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003905/0.407, allocations: 254.7 kB / 1.051 GB, free: 6.184 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003741/0.4073, allocations: 278.4 kB / 1.051 GB, free: 5.91 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.379e-05/0.4074, allocations: 16 kB / 1.051 GB, free: 5.895 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004948/0.4079, allocations: 227.8 kB / 1.051 GB, free: 5.672 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001711/0.4081, allocations: 143.3 kB / 1.051 GB, free: 5.531 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002967/0.4084, allocations: 363.4 kB / 1.052 GB, free: 5.168 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0007926/0.4092, allocations: 0.8614 MB / 1.052 GB, free: 4.305 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.4092, allocations: 3.938 kB / 1.052 GB, free: 4.301 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4092, allocations: 4 kB / 1.052 GB, free: 4.297 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.907e-06/0.4092, allocations: 0 / 1.052 GB, free: 4.297 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.001545/0.4108, allocations: 0.9709 MB / 1.053 GB, free: 3.273 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.4108, allocations: 16.03 kB / 1.053 GB, free: 3.258 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002344/0.4111, allocations: 99.8 kB / 1.053 GB, free: 3.16 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008096/0.4119, allocations: 0.6596 MB / 1.054 GB, free: 2.457 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.223e-05/0.4119, allocations: 45.31 kB / 1.054 GB, free: 2.414 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.674e-05/0.412, allocations: 56 kB / 1.054 GB, free: 2.359 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/0.413, allocations: 0.6931 MB / 1.055 GB, free: 1.613 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.4131, allocations: 3.938 kB / 1.055 GB, free: 1.609 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.234e-05/0.4131, allocations: 28 kB / 1.055 GB, free: 1.582 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/0.4132, allocations: 12 kB / 1.055 GB, free: 1.57 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0012/0.4144, allocations: 0.922 MB / 1.056 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4874/0.9018, allocations: 2.333 MB / 1.058 GB, free: 155.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000863/0.9027, allocations: 0.5939 MB / 1.059 GB, free: 155.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000286/0.903, allocations: 226.8 kB / 1.059 GB, free: 155.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.055e-05/0.9031, allocations: 23.97 kB / 1.059 GB, free: 155.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000528/0.9036, allocations: 353.1 kB / 1.059 GB, free: 155.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=61): time 3.005e-06/0.9036, allocations: 0 / 1.059 GB, free: 155.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=61): time 0.00119/0.9048, allocations: 0.7097 MB / 1.06 GB, free: 155 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.411e-05/0.9049, allocations: 239.8 kB / 1.06 GB, free: 154.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006251/0.9056, allocations: 0.5807 MB / 1.061 GB, free: 154.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.473e-05/0.9056, allocations: 41.3 kB / 1.061 GB, free: 154.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002003/0.9058, allocations: 320.1 kB / 1.061 GB, free: 154.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001279/0.906, allocations: 201.4 kB / 1.061 GB, free: 154.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.85e-05/0.906, allocations: 13.72 kB / 1.061 GB, free: 154.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.9061, allocations: 374.6 kB / 1.062 GB, free: 154 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000269/0.9064, allocations: 189.3 kB / 1.062 GB, free: 154 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003766/0.9068, allocations: 295.5 kB / 1.062 GB, free: 153.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006193/0.9074, allocations: 476 kB / 1.063 GB, free: 153.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.9074, allocations: 0 / 1.063 GB, free: 153.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0008659/0.9083, allocations: 0.6026 MB / 1.063 GB, free: 153.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.9083, allocations: 11.34 kB / 1.063 GB, free: 153.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/0.9083, allocations: 4.25 kB / 1.063 GB, free: 153.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.9084, allocations: 3.531 kB / 1.063 GB, free: 153.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004938/0.9089, allocations: 134.7 kB / 1.063 GB, free: 153.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.283e-05/0.9089, allocations: 4.172 kB / 1.063 GB, free: 153.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005263/0.9094, allocations: 85.08 kB / 1.063 GB, free: 153.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.361e-05/0.9095, allocations: 28.75 kB / 1.063 GB, free: 153.8 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (76): * Single equations (assignments): 76 * 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.0003334/0.9098, allocations: 243.7 kB / 1.064 GB, free: 153.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.385e-05/0.9099, allocations: 72.77 kB / 1.064 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001382/0.9113, allocations: 0.7486 MB / 1.064 GB, free: 153.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-06/0.9113, allocations: 8.812 kB / 1.064 GB, free: 153.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.9114, allocations: 64 / 1.064 GB, free: 153.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.452e-05/0.9114, allocations: 7.609 kB / 1.064 GB, free: 153.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/0.9125, allocations: 0.8875 MB / 1.065 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.9125, allocations: 3.281 kB / 1.065 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004072/0.9129, allocations: 122 kB / 1.065 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.913, allocations: 4.484 kB / 1.065 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.099e-05/0.913, allocations: 21.08 kB / 1.065 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.913, allocations: 2.75 kB / 1.065 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.913, allocations: 2.844 kB / 1.065 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000862/0.9139, allocations: 0.6396 MB / 1.066 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003126/0.9142, allocations: 243.5 kB / 1.066 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.347e-05/0.9143, allocations: 16.27 kB / 1.066 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004629/0.9148, allocations: 58.5 kB / 1.066 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/0.9149, allocations: 47.69 kB / 1.066 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.089e-05/0.915, allocations: 24.47 kB / 1.066 GB, free: 152.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006452/0.9156, allocations: 420.5 kB / 1.067 GB, free: 152.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9157, allocations: 7.938 kB / 1.067 GB, free: 152.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007915/0.9165, allocations: 226.8 kB / 1.067 GB, free: 152.8 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (72): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001403/0.9179, allocations: 0.5607 MB / 1.068 GB, free: 152.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001097/0.919, allocations: 0.4984 MB / 1.068 GB, free: 152.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.919, allocations: 1.094 kB / 1.068 GB, free: 152.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005357/0.9195, allocations: 278 kB / 1.068 GB, free: 152.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/0.9207, allocations: 235.8 kB / 1.069 GB, free: 152.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00261/0.9233, allocations: 1.665 MB / 1.07 GB, free: 151.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005712/0.9239, allocations: 0.9552 MB / 1.071 GB, free: 151 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002896/0.9242, allocations: 100.4 kB / 1.071 GB, free: 150.9 MB / 0.698 GB Notification: Performance of SimCode: time 4.51e-07/0.9242, allocations: 0 / 1.071 GB, free: 150.9 MB / 0.698 GB Notification: Performance of Templates: time 0.0236/0.9478, allocations: 11.8 MB / 1.083 GB, free: 146.5 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.makefile make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.makefile clang++ -std=c++14 -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 7.0.3-maint.7.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 7.0.3-maint.7.0.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuaryCalcHelperMain.o OMCppBuildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuaryCalcHelperMain.cpp In file included from OMCppBuildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuaryCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuaryFunctions.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.WeatherData.Validation.DecemberToJanuaryCalcHelperMain.o] Error 1