Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.Overhang.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.Examples.Overhang,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.Overhang") translateModel(Buildings.HeatTransfer.Windows.Examples.Overhang,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.Overhang") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.413/1.413, allocations: 251.5 MB / 267.4 MB, free: 11.06 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.0009602/0.0009602, allocations: 179.9 kB / 326.5 MB, free: 2.691 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.635/1.635, allocations: 205 MB / 0.5766 GB, free: 20.95 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.0007415/0.0007412, allocations: 85.23 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002904/0.0002904, allocations: 7.656 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1934/0.1937, allocations: 105.4 MB / 0.8967 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Overhang): time 0.004845/0.1986, allocations: 4.778 MB / 0.9014 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.152/0.3506, allocations: 148.9 MB / 1.047 GB, free: 9.941 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001152/0.3518, allocations: 19.88 kB / 1.047 GB, free: 9.922 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0008375/0.3527, allocations: 142.9 kB / 1.047 GB, free: 9.781 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.001975/0.3547, allocations: 447.4 kB / 1.047 GB, free: 9.344 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00245/0.3571, allocations: 0.8279 MB / 1.048 GB, free: 8.523 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002181/0.3593, allocations: 1.683 MB / 1.05 GB, free: 6.832 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001381/0.3607, allocations: 0.9043 MB / 1.051 GB, free: 5.887 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009595/0.3617, allocations: 489.6 kB / 1.051 GB, free: 5.406 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000996/0.3627, allocations: 0.5362 MB / 1.052 GB, free: 4.867 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.000281/0.363, allocations: 36 kB / 1.052 GB, free: 4.832 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00112/0.3641, allocations: 423.6 kB / 1.052 GB, free: 4.418 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002781/0.3644, allocations: 278.7 kB / 1.052 GB, free: 4.145 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005854/0.365, allocations: 0.5783 MB / 1.053 GB, free: 3.562 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001493/0.3665, allocations: 1.679 MB / 1.055 GB, free: 1.879 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.3665, allocations: 0 / 1.055 GB, free: 1.879 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.914e-06/0.3665, allocations: 0 / 1.055 GB, free: 1.879 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.548e-05/0.3665, allocations: 0 / 1.055 GB, free: 1.879 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: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.002778/0.3693, allocations: 1.478 MB / 1.056 GB, free: 356 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.3694, allocations: 12.03 kB / 1.056 GB, free: 344 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5186/0.888, allocations: 20.92 MB / 1.076 GB, free: 154.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002803/0.8909, allocations: 1.329 MB / 1.078 GB, free: 153.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002849/0.8912, allocations: 191.7 kB / 1.078 GB, free: 153.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007199/0.8919, allocations: 122.3 kB / 1.078 GB, free: 153.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03396/0.9259, allocations: 9.629 MB / 1.087 GB, free: 145.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.473e-05/0.926, allocations: 7.875 kB / 1.087 GB, free: 145.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005265/0.9265, allocations: 54.56 kB / 1.088 GB, free: 145.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.833e-05/0.9265, allocations: 32.94 kB / 1.088 GB, free: 145.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06348/0.99, allocations: 17.45 MB / 1.105 GB, free: 128.6 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03979/1.03, allocations: 12.07 MB / 1.116 GB, free: 116.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03715/1.067, allocations: 9.917 MB / 1.126 GB, free: 106.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0294/1.097, allocations: 8.156 MB / 1.134 GB, free: 98.36 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004696/1.097, allocations: 0.598 MB / 1.135 GB, free: 97.64 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03087/1.128, allocations: 8.659 MB / 1.143 GB, free: 88.96 MB / 0.698 GB Notification: Performance of pre-optimization done (n=103): time 5.69e-06/1.128, allocations: 0 / 1.143 GB, free: 88.96 MB / 0.698 GB Notification: Performance of matching and sorting (n=103): time 0.09337/1.221, allocations: 23.77 MB / 1.166 GB, free: 65.13 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.276e-05/1.221, allocations: 192.9 kB / 1.166 GB, free: 64.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009874/1.222, allocations: 0.7508 MB / 1.167 GB, free: 64.14 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005546/1.223, allocations: 41.7 kB / 1.167 GB, free: 64.09 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003444/1.223, allocations: 0.5063 MB / 1.168 GB, free: 63.58 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006121/1.224, allocations: 339.6 kB / 1.168 GB, free: 63.25 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004333/1.224, allocations: 97.66 kB / 1.168 GB, free: 63.15 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001205/1.225, allocations: 401.4 kB / 1.169 GB, free: 62.75 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03053/1.255, allocations: 8.226 MB / 1.177 GB, free: 54.52 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02991/1.285, allocations: 8.351 MB / 1.185 GB, free: 46.14 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05556/1.341, allocations: 14.32 MB / 1.199 GB, free: 31.79 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.939e-06/1.341, allocations: 0 / 1.199 GB, free: 31.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.05961/1.4, allocations: 15.84 MB / 1.214 GB, free: 15.92 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.826e-05/1.4, allocations: 8 kB / 1.214 GB, free: 15.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/1.4, allocations: 0 / 1.214 GB, free: 15.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005391/1.401, allocations: 84.88 kB / 1.214 GB, free: 15.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01685/1.418, allocations: 3.538 MB / 1.218 GB, free: 12.28 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001725/1.42, allocations: 1.539 MB / 1.219 GB, free: 10.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01717/1.437, allocations: 3.319 MB / 1.223 GB, free: 7.281 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006584/1.437, allocations: 100.7 kB / 1.223 GB, free: 7.184 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 (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 (125): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001396/1.439, allocations: 323.1 kB / 1.223 GB, free: 6.859 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006396/1.44, allocations: 98.77 kB / 1.223 GB, free: 6.762 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06602/1.506, allocations: 16.35 MB / 1.239 GB, free: 6.391 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.059e-05/1.506, allocations: 12 kB / 1.239 GB, free: 6.379 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/1.506, allocations: 0 / 1.239 GB, free: 6.379 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.608e-05/1.506, allocations: 11.91 kB / 1.239 GB, free: 6.367 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07123/1.577, allocations: 19.2 MB / 1.258 GB, free: 3.117 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/1.577, allocations: 0 / 1.258 GB, free: 3.117 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01857/1.596, allocations: 3.527 MB / 1.261 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005679/1.596, allocations: 84.77 kB / 1.261 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000655/1.597, allocations: 91.81 kB / 1.261 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001984/1.599, allocations: 1.559 MB / 1.263 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/1.599, allocations: 0 / 1.263 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06601/1.665, allocations: 15.77 MB / 1.278 GB, free: 13.9 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001796/1.667, allocations: 0.7801 MB / 1.279 GB, free: 13.1 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007421/1.668, allocations: 20 kB / 1.279 GB, free: 13.08 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01754/1.685, allocations: 3.277 MB / 1.282 GB, free: 9.801 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003049/1.685, allocations: 88.88 kB / 1.282 GB, free: 9.715 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005563/1.686, allocations: 99.81 kB / 1.282 GB, free: 9.617 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0008427/1.687, allocations: 0.5341 MB / 1.283 GB, free: 9.086 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.3e-07/1.687, allocations: 0 / 1.283 GB, free: 9.086 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.002251/1.689, allocations: 0.6685 MB / 1.284 GB, free: 8.434 MB / 0.7605 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 (123): * Single equations (assignments): 120 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001643/1.691, allocations: 0.6001 MB / 1.284 GB, free: 8.043 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.06808/1.759, allocations: 16.73 MB / 1.301 GB, free: 7.281 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 7.774e-06/1.759, allocations: 0 / 1.301 GB, free: 7.281 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.03471/1.794, allocations: 8.45 MB / 1.309 GB, free: 14.82 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002468/1.796, allocations: 288.3 kB / 1.309 GB, free: 14.54 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03981/1.836, allocations: 10.76 MB / 1.32 GB, free: 3.746 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008762/1.837, allocations: 1.151 MB / 1.321 GB, free: 2.562 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00282/1.84, allocations: 314.9 kB / 1.321 GB, free: 2.254 MB / 0.7917 GB Notification: Performance of SimCode: time 9.32e-07/1.84, allocations: 0 / 1.321 GB, free: 2.254 MB / 0.7917 GB Notification: Performance of Templates: time 0.06123/1.901, allocations: 46.84 MB / 1.367 GB, free: 3.262 MB / 0.8386 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.Overhang.makefile make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.Overhang.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.Examples.OverhangCalcHelperMain.o OMCppBuildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.OverhangCalcHelperMain.cpp In file included from OMCppBuildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.OverhangCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.OverhangFunctions.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.Examples.OverhangCalcHelperMain.o] Error 1