Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.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.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.659/1.659, 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.001035/0.001035, allocations: 168.2 kB / 327.6 MB, free: 2.078 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.713/1.713, allocations: 205.4 MB / 0.5786 GB, free: 20.15 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.0008482/0.0008482, allocations: 92.81 kB / 0.6832 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003541/0.0003541, allocations: 9.656 kB / 0.7976 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2362, allocations: 106.3 MB / 0.9015 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.005243/0.2415, allocations: 5.081 MB / 0.9064 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1723/0.4138, allocations: 150.6 MB / 1.054 GB, free: 3.012 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001814/0.4157, allocations: 23.88 kB / 1.054 GB, free: 2.988 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.005955/0.4217, allocations: 1.616 MB / 1.055 GB, free: 1.367 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.002853/0.4245, allocations: 0.6103 MB / 1.056 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.6116/1.036, allocations: 0.8226 MB / 1.057 GB, free: 3.258 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004722/1.041, allocations: 3.217 MB / 1.06 GB, free: 3.25 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001893/1.043, allocations: 0.8767 MB / 1.061 GB, free: 3.082 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002351/1.045, allocations: 0.8653 MB / 1.061 GB, free: 3.082 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002352/1.048, allocations: 0.7881 MB / 1.062 GB, free: 3.082 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0007214/1.048, allocations: 46.5 kB / 1.062 GB, free: 3.082 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005568/1.054, allocations: 1.883 MB / 1.064 GB, free: 3.082 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.002275/1.056, allocations: 1.158 MB / 1.065 GB, free: 3.082 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.00213/1.058, allocations: 0.7612 MB / 1.066 GB, free: 3.047 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.007652/1.066, allocations: 2.69 MB / 1.069 GB, free: 2.918 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/1.066, allocations: 0 / 1.069 GB, free: 2.918 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.246e-06/1.066, allocations: 0.875 kB / 1.069 GB, free: 2.918 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000192/1.066, allocations: 0 / 1.069 GB, free: 2.918 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.008394/1.075, allocations: 2.049 MB / 1.071 GB, free: 1.766 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.15e-05/1.075, allocations: 8.75 kB / 1.071 GB, free: 1.766 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002059/1.077, allocations: 264.3 kB / 1.071 GB, free: 1.656 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006219/1.083, allocations: 2.943 MB / 1.074 GB, free: 1.238 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001302/1.083, allocations: 110.8 kB / 1.074 GB, free: 1.23 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002864/1.084, allocations: 139.7 kB / 1.074 GB, free: 1.23 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00288/1.087, allocations: 1.435 MB / 1.075 GB, free: 1.059 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.695e-05/1.087, allocations: 3 kB / 1.075 GB, free: 1.059 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001387/1.087, allocations: 46.22 kB / 1.075 GB, free: 1.059 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.317e-05/1.087, allocations: 29.09 kB / 1.075 GB, free: 1.059 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002978/1.09, allocations: 1.537 MB / 1.077 GB, free: 1.039 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01009/1.1, allocations: 5.089 MB / 1.082 GB, free: 16.19 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002011/1.102, allocations: 1.323 MB / 1.083 GB, free: 16.15 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009958/1.103, allocations: 0.8534 MB / 1.084 GB, free: 16.14 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.431e-05/1.103, allocations: 32.72 kB / 1.084 GB, free: 16.14 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001162/1.104, allocations: 0.863 MB / 1.085 GB, free: 16.08 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=92): time 3.386e-06/1.104, allocations: 0 / 1.085 GB, free: 16.08 MB / 0.7136 GB Notification: Performance of matching and sorting (n=92): time 0.004457/1.109, allocations: 2.507 MB / 1.087 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002421/1.109, allocations: 326.2 kB / 1.088 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005942/1.115, allocations: 4.311 MB / 1.092 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0004546/1.115, allocations: 56.89 kB / 1.092 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000698/1.116, allocations: 0.6539 MB / 1.092 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000368/1.116, allocations: 313 kB / 1.093 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/1.117, allocations: 34.81 kB / 1.093 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001921/1.117, allocations: 377.5 kB / 1.093 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003292/1.12, allocations: 2.893 MB / 1.096 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004086/1.124, allocations: 3.105 MB / 1.099 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004779/1.129, allocations: 4.28 MB / 1.103 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/1.129, allocations: 4 kB / 1.103 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of matching and sorting (n=204) (initialization): time 0.007741/1.137, allocations: 6.535 MB / 1.11 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001865/1.137, allocations: 152.2 kB / 1.11 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.823e-05/1.137, allocations: 2.906 kB / 1.11 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.99e-05/1.137, allocations: 12.06 kB / 1.11 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/1.138, allocations: 335.2 kB / 1.11 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.072e-05/1.138, allocations: 8.594 kB / 1.11 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001416/1.14, allocations: 188.9 kB / 1.11 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001738/1.14, allocations: 78.11 kB / 1.11 GB, free: 13.91 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (189): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 1 * 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.001465/1.141, allocations: 0.824 MB / 1.111 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003566/1.142, allocations: 137.6 kB / 1.111 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003966/1.146, allocations: 2.242 MB / 1.113 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-05/1.146, allocations: 8.938 kB / 1.113 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.727e-06/1.146, allocations: 1.859 kB / 1.113 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.352e-05/1.146, allocations: 9.625 kB / 1.113 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00582/1.152, allocations: 3.611 MB / 1.117 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/1.152, allocations: 0 / 1.117 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006428/1.152, allocations: 159.1 kB / 1.117 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.806e-06/1.152, allocations: 0 / 1.117 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.107e-05/1.152, allocations: 37.28 kB / 1.117 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.666e-06/1.152, allocations: 12 kB / 1.117 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.153, allocations: 0 / 1.117 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003257/1.156, allocations: 2.173 MB / 1.119 GB, free: 11 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007483/1.157, allocations: 415.6 kB / 1.12 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001838/1.157, allocations: 27.06 kB / 1.12 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007495/1.157, allocations: 66.47 kB / 1.12 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001827/1.158, allocations: 74.95 kB / 1.12 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/1.158, allocations: 45.38 kB / 1.12 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.003203/1.161, allocations: 2.751 MB / 1.123 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.21e-07/1.161, allocations: 0 / 1.123 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00402/1.165, allocations: 0.927 MB / 1.124 GB, free: 7.852 MB / 0.7136 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.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 1 * 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.003207/1.168, allocations: 0.902 MB / 1.124 GB, free: 7.242 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.007113/1.175, allocations: 5.211 MB / 1.13 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.095e-05/1.175, allocations: 0 / 1.13 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001759/1.177, allocations: 1.476 MB / 1.131 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001927/1.179, allocations: 300.1 kB / 1.131 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007016/1.186, allocations: 4.355 MB / 1.135 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001012/1.187, allocations: 1.344 MB / 1.137 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006762/1.188, allocations: 149 kB / 1.137 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of SimCode: time 1.482e-06/1.188, allocations: 0 / 1.137 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of Templates: time 0.05888/1.247, allocations: 32.37 MB / 1.169 GB, free: 14.29 MB / 0.7605 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.makefile make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.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.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationCalcHelperMain.o OMCppBuildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationCalcHelperMain.cpp In file included from OMCppBuildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationFunctions.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.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationCalcHelperMain.o] Error 1