Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.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.BaseClasses.Examples.Overhang,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.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.383/1.383, allocations: 252 MB / 267.6 MB, free: 10.97 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.001038/0.001038, allocations: 182.7 kB / 327.3 MB, free: 2.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.037/2.037, allocations: 205.4 MB / 0.5783 GB, free: 20.54 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.000837/0.0008371, allocations: 88.44 kB / 0.6829 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003394/0.0003396, allocations: 10.25 kB / 0.797 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2124/0.2128, allocations: 106.4 MB / 0.9008 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang): time 0.004515/0.2174, allocations: 4.157 MB / 0.9049 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1533/0.3707, allocations: 136.8 MB / 1.039 GB, free: 3.008 MB / 0.6824 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001156/0.3719, allocations: 15.94 kB / 1.039 GB, free: 2.992 MB / 0.6824 GB Notification: Performance of NFTyping.typeComponents: time 0.000855/0.3728, allocations: 126.9 kB / 1.039 GB, free: 2.867 MB / 0.6824 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.00201/0.3748, allocations: 417 kB / 1.039 GB, free: 2.461 MB / 0.6824 GB Notification: Performance of NFTyping.typeClassSections: time 0.002418/0.3773, allocations: 0.7067 MB / 1.04 GB, free: 1.762 MB / 0.6824 GB Notification: Performance of NFFlatten.flatten: time 0.002109/0.3794, allocations: 1.418 MB / 1.041 GB, free: 344 kB / 0.6824 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001202/0.3806, allocations: 0.5983 MB / 1.042 GB, free: 15.71 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009943/0.3816, allocations: 442.1 kB / 1.042 GB, free: 15.28 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001/0.3826, allocations: 0.4899 MB / 1.043 GB, free: 14.79 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002991/0.3829, allocations: 39.98 kB / 1.043 GB, free: 14.75 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001184/0.3841, allocations: 399.6 kB / 1.043 GB, free: 14.36 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004015/0.3845, allocations: 250.9 kB / 1.043 GB, free: 14.11 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004034/0.385, allocations: 229 kB / 1.044 GB, free: 13.88 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001804/0.3868, allocations: 1.423 MB / 1.045 GB, free: 12.46 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.3868, allocations: 4 kB / 1.045 GB, free: 12.45 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.134e-06/0.3868, allocations: 0 / 1.045 GB, free: 12.45 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.769e-05/0.3868, allocations: 0 / 1.045 GB, free: 12.45 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: 289 * Number of variables: 289 Notification: Performance of Generate backend data structure: time 0.003125/0.39, allocations: 1.407 MB / 1.046 GB, free: 10.99 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.39, allocations: 12.03 kB / 1.046 GB, free: 10.98 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5418/0.9318, allocations: 20.9 MB / 1.067 GB, free: 154.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002814/0.9347, allocations: 1.127 MB / 1.068 GB, free: 154.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003345/0.935, allocations: 177.4 kB / 1.068 GB, free: 154.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006636/0.9357, allocations: 109.9 kB / 1.068 GB, free: 154.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03682/0.9725, allocations: 9.264 MB / 1.077 GB, free: 151.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.503e-05/0.9726, allocations: 1.25 kB / 1.077 GB, free: 151.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003632/0.973, allocations: 53.22 kB / 1.077 GB, free: 151.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-05/0.9731, allocations: 27.78 kB / 1.077 GB, free: 151.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06367/1.037, allocations: 16.88 MB / 1.094 GB, free: 138.1 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03847/1.075, allocations: 10.62 MB / 1.104 GB, free: 128.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03765/1.113, allocations: 9.53 MB / 1.113 GB, free: 118.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03043/1.143, allocations: 7.851 MB / 1.121 GB, free: 110.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004852/1.144, allocations: 0.602 MB / 1.122 GB, free: 110.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03084/1.175, allocations: 8.358 MB / 1.13 GB, free: 101.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=101): time 3.386e-06/1.175, allocations: 0 / 1.13 GB, free: 101.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=101): time 0.09036/1.265, allocations: 22.99 MB / 1.152 GB, free: 78.66 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.213e-05/1.265, allocations: 192.9 kB / 1.152 GB, free: 78.43 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000891/1.266, allocations: 0.688 MB / 1.153 GB, free: 77.73 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005643/1.267, allocations: 49.7 kB / 1.153 GB, free: 77.68 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003233/1.267, allocations: 470 kB / 1.154 GB, free: 77.21 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004536/1.268, allocations: 335.5 kB / 1.154 GB, free: 76.89 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002351/1.268, allocations: 20 kB / 1.154 GB, free: 76.87 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000113/1.268, allocations: 398.7 kB / 1.154 GB, free: 76.47 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0306/1.299, allocations: 7.962 MB / 1.162 GB, free: 68.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03042/1.329, allocations: 8.09 MB / 1.17 GB, free: 60.38 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02827/1.357, allocations: 7.007 MB / 1.177 GB, free: 53.37 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.156e-05/1.358, allocations: 0 / 1.177 GB, free: 53.37 MB / 0.698 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.05995/1.417, allocations: 15.44 MB / 1.192 GB, free: 37.91 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.9e-05/1.418, allocations: 4 kB / 1.192 GB, free: 37.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/1.418, allocations: 0 / 1.192 GB, free: 37.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005551/1.418, allocations: 81.88 kB / 1.192 GB, free: 37.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01721/1.435, allocations: 3.534 MB / 1.195 GB, free: 34.28 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00212/1.438, allocations: 1.525 MB / 1.197 GB, free: 32.62 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01689/1.454, allocations: 3.306 MB / 1.2 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000639/1.455, allocations: 103.8 kB / 1.2 GB, free: 29.21 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 (123): * Single equations (assignments): 122 * 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.0009433/1.456, allocations: 295.1 kB / 1.201 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003947/1.456, allocations: 102.7 kB / 1.201 GB, free: 28.81 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06066/1.517, allocations: 15.88 MB / 1.216 GB, free: 12.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-05/1.517, allocations: 12 kB / 1.216 GB, free: 12.89 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/1.517, allocations: 0 / 1.216 GB, free: 12.89 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.566e-05/1.517, allocations: 7.969 kB / 1.216 GB, free: 12.88 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06554/1.583, allocations: 17.88 MB / 1.234 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.338e-06/1.583, allocations: 0 / 1.234 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01799/1.601, allocations: 3.519 MB / 1.237 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005689/1.601, allocations: 80.78 kB / 1.237 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005586/1.602, allocations: 95.81 kB / 1.237 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001906/1.604, allocations: 1.54 MB / 1.239 GB, free: 5.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/1.604, allocations: 8.016 kB / 1.239 GB, free: 5.562 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0646/1.669, allocations: 15.29 MB / 1.254 GB, free: 6.234 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001776/1.67, allocations: 0.6552 MB / 1.254 GB, free: 5.559 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004235/1.671, allocations: 20 kB / 1.254 GB, free: 5.539 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01731/1.688, allocations: 3.285 MB / 1.258 GB, free: 2.25 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000274/1.689, allocations: 84.88 kB / 1.258 GB, free: 2.168 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004678/1.689, allocations: 103.8 kB / 1.258 GB, free: 2.066 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0007657/1.69, allocations: 499 kB / 1.258 GB, free: 1.586 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.91e-07/1.69, allocations: 0 / 1.258 GB, free: 1.586 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002008/1.692, allocations: 0.6415 MB / 1.259 GB, free: 0.957 MB / 0.7292 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 (121): * Single equations (assignments): 118 * 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.001569/1.693, allocations: 0.5831 MB / 1.259 GB, free: 0.582 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0671/1.761, allocations: 16.18 MB / 1.275 GB, free: 384 kB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 1.091e-05/1.761, allocations: 4 kB / 1.275 GB, free: 380 kB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 0.03326/1.794, allocations: 8.145 MB / 1.283 GB, free: 8.207 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001958/1.796, allocations: 279.6 kB / 1.283 GB, free: 7.938 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0367/1.833, allocations: 10.19 MB / 1.293 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007199/1.833, allocations: 1.115 MB / 1.294 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002608/1.836, allocations: 310.9 kB / 1.295 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of SimCode: time 8.11e-07/1.836, allocations: 0 / 1.295 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of Templates: time 0.06147/1.897, allocations: 42.04 MB / 1.336 GB, free: 2.16 MB / 0.8074 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.makefile make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.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.HeatTransfer.Windows.BaseClasses.Examples.OverhangCalcHelperMain.o OMCppBuildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.OverhangCalcHelperMain.cpp In file included from OMCppBuildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.OverhangCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.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.BaseClasses.Examples.OverhangCalcHelperMain.o] Error 1