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.47/1.47, allocations: 251.5 MB / 267.4 MB, free: 11.07 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.001192/0.001192, allocations: 178.4 kB / 326.5 MB, free: 2.711 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.955/1.955, allocations: 205 MB / 0.5766 GB, free: 21 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.001013/0.001013, allocations: 90.95 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003271/0.0003271, allocations: 10.62 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2305, allocations: 105.4 MB / 0.8967 GB, free: 68.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary): time 0.004337/0.2349, allocations: 3.723 MB / 0.9004 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1547/0.3897, allocations: 147.9 MB / 1.045 GB, free: 12.06 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008942/0.3906, allocations: 11.94 kB / 1.045 GB, free: 12.05 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005289/0.3911, allocations: 135 kB / 1.045 GB, free: 11.91 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.00126/0.3924, allocations: 349.7 kB / 1.045 GB, free: 11.57 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001685/0.3941, allocations: 0.5874 MB / 1.046 GB, free: 11 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001115/0.3952, allocations: 0.9887 MB / 1.047 GB, free: 10 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007676/0.396, allocations: 482.1 kB / 1.047 GB, free: 9.52 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003654/0.3964, allocations: 246.8 kB / 1.047 GB, free: 9.277 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001028/0.3974, allocations: 282.4 kB / 1.048 GB, free: 9 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.983e-05/0.3975, allocations: 20 kB / 1.048 GB, free: 8.98 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004875/0.398, allocations: 219.8 kB / 1.048 GB, free: 8.766 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001692/0.3982, allocations: 147.3 kB / 1.048 GB, free: 8.621 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000287/0.3985, allocations: 337.7 kB / 1.048 GB, free: 8.289 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0008175/0.3993, allocations: 0.869 MB / 1.049 GB, free: 7.418 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.3993, allocations: 0 / 1.049 GB, free: 7.418 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.025e-06/0.3993, allocations: 3.984 kB / 1.049 GB, free: 7.414 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.488e-06/0.3993, allocations: 0 / 1.049 GB, free: 7.414 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.001603/0.4009, allocations: 0.9786 MB / 1.05 GB, free: 6.383 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.401, allocations: 8.031 kB / 1.05 GB, free: 6.375 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002826/0.4013, allocations: 95.81 kB / 1.05 GB, free: 6.281 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008227/0.4021, allocations: 0.6597 MB / 1.051 GB, free: 5.578 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.105e-05/0.4022, allocations: 45.31 kB / 1.051 GB, free: 5.535 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.79e-05/0.4022, allocations: 60 kB / 1.051 GB, free: 5.477 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009745/0.4032, allocations: 0.6931 MB / 1.052 GB, free: 4.73 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.834e-05/0.4033, allocations: 7.938 kB / 1.052 GB, free: 4.723 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.332e-05/0.4033, allocations: 28 kB / 1.052 GB, free: 4.695 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/0.4034, allocations: 16 kB / 1.052 GB, free: 4.68 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001185/0.4045, allocations: 0.9142 MB / 1.053 GB, free: 3.766 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00285/0.4074, allocations: 2.34 MB / 1.055 GB, free: 1.344 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008516/0.4083, allocations: 0.6047 MB / 1.056 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003334/0.4086, allocations: 223.2 kB / 1.056 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.152e-05/0.4087, allocations: 32.59 kB / 1.056 GB, free: 476 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004989/0.4092, allocations: 347.2 kB / 1.056 GB, free: 112 kB / 0.698 GB Notification: Performance of pre-optimization done (n=61): time 3.316e-06/0.4092, allocations: 112 / 1.056 GB, free: 112 kB / 0.698 GB Notification: Performance of matching and sorting (n=61): time 0.4137/0.8229, allocations: 0.7103 MB / 1.057 GB, free: 160.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.518e-05/0.8231, allocations: 245.2 kB / 1.057 GB, free: 160.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006847/0.8237, allocations: 0.5758 MB / 1.058 GB, free: 160.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.557e-05/0.8238, allocations: 39.11 kB / 1.058 GB, free: 160.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002168/0.824, allocations: 320.1 kB / 1.058 GB, free: 160.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001196/0.8242, allocations: 208.5 kB / 1.058 GB, free: 160.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.544e-05/0.8242, allocations: 53.58 kB / 1.058 GB, free: 160 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.648e-05/0.8243, allocations: 377.8 kB / 1.059 GB, free: 159.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002935/0.8246, allocations: 188 kB / 1.059 GB, free: 159.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003608/0.825, allocations: 294.5 kB / 1.059 GB, free: 159.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006459/0.8257, allocations: 474.8 kB / 1.06 GB, free: 159.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.8257, allocations: 1.75 kB / 1.06 GB, free: 159.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009865/0.8267, allocations: 0.6041 MB / 1.06 GB, free: 159.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.591e-05/0.8267, allocations: 9.094 kB / 1.06 GB, free: 159.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.8267, allocations: 2.844 kB / 1.06 GB, free: 159.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.666e-05/0.8267, allocations: 6.016 kB / 1.06 GB, free: 159.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005185/0.8273, allocations: 123.3 kB / 1.06 GB, free: 159.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/0.8273, allocations: 4.375 kB / 1.06 GB, free: 159.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000481/0.8278, allocations: 78.2 kB / 1.06 GB, free: 159.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-05/0.8278, allocations: 33.42 kB / 1.06 GB, free: 159.5 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 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * 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.0003361/0.8282, allocations: 242.5 kB / 1.061 GB, free: 159.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.8283, allocations: 77.56 kB / 1.061 GB, free: 159.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001418/0.8297, allocations: 0.7406 MB / 1.061 GB, free: 159.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.778e-06/0.8298, allocations: 9.891 kB / 1.061 GB, free: 159.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.8298, allocations: 4.172 kB / 1.061 GB, free: 159.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.223e-05/0.8298, allocations: 7.406 kB / 1.061 GB, free: 159.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.8308, allocations: 0.8827 MB / 1.062 GB, free: 158.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.8309, allocations: 0.5625 kB / 1.062 GB, free: 158.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003829/0.8312, allocations: 123.5 kB / 1.062 GB, free: 158.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.8313, allocations: 3.156 kB / 1.062 GB, free: 158.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.872e-05/0.8313, allocations: 16.75 kB / 1.062 GB, free: 158.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.8313, allocations: 7.75 kB / 1.062 GB, free: 158.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.8313, allocations: 0 / 1.062 GB, free: 158.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008991/0.8322, allocations: 0.636 MB / 1.063 GB, free: 158.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000327/0.8326, allocations: 233.7 kB / 1.063 GB, free: 158.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.805e-05/0.8327, allocations: 18.59 kB / 1.063 GB, free: 158.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004188/0.8331, allocations: 57.41 kB / 1.063 GB, free: 158.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/0.8332, allocations: 50.25 kB / 1.063 GB, free: 158.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.247e-05/0.8333, allocations: 28.2 kB / 1.063 GB, free: 158.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005986/0.8339, allocations: 417.6 kB / 1.064 GB, free: 158.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8339, allocations: 0 / 1.064 GB, free: 158.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000765/0.8347, allocations: 224 kB / 1.064 GB, free: 158.6 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.001284/0.836, allocations: 0.563 MB / 1.065 GB, free: 158.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001057/0.837, allocations: 0.5021 MB / 1.065 GB, free: 158.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.8371, allocations: 4.75 kB / 1.065 GB, free: 158.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005201/0.8376, allocations: 280.6 kB / 1.065 GB, free: 158.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/0.8387, allocations: 226.4 kB / 1.066 GB, free: 158.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002593/0.8413, allocations: 1.644 MB / 1.067 GB, free: 157.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005345/0.8419, allocations: 0.9471 MB / 1.068 GB, free: 156.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002802/0.8422, allocations: 108.2 kB / 1.068 GB, free: 156.7 MB / 0.698 GB Notification: Performance of SimCode: time 1.603e-06/0.8422, allocations: 0 / 1.068 GB, free: 156.7 MB / 0.698 GB Notification: Performance of Templates: time 0.02482/0.867, allocations: 11.8 MB / 1.08 GB, free: 152.6 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