Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection") translateModel(IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 108.3 kB / 16.38 MB, free: 6.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00114/0.001141, allocations: 192.8 kB / 17.32 MB, free: 5.801 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 222.9 MB / 241 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7935/0.7935, allocations: 132.2 MB / 423.4 MB, free: 6.617 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 63.98 kB / 0.582 GB, free: 23.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1517, allocations: 80.22 MB / 0.6603 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection): time 0.009528/0.1613, allocations: 8.664 MB / 0.6688 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4969/0.6582, allocations: 156.3 MB / 0.8214 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001422/0.6596, allocations: 60.22 kB / 0.8214 GB, free: 7.57 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/BoundaryConditions/Interfaces/PartialSimInfoManager.mo:151:3-154:55:writable] Warning: Connector weaBus is not balanced: The number of potential variables (20) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.000874/0.6605, allocations: 350.5 kB / 0.8218 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002763/0.6633, allocations: 1.091 MB / 0.8228 GB, free: 6.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003252/0.6665, allocations: 1.4 MB / 0.8242 GB, free: 5.398 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005091/0.6716, allocations: 5.351 MB / 0.8294 GB, free: 2.051 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003419/0.6751, allocations: 2.805 MB / 0.8321 GB, free: 480 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003465/0.6786, allocations: 2.062 MB / 0.8342 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002482/0.681, allocations: 2.03 MB / 0.8361 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0006157/0.6817, allocations: 0.4952 MB / 0.8366 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001971/0.6837, allocations: 1.096 MB / 0.8377 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0008547/0.6845, allocations: 1.095 MB / 0.8388 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002114/0.6866, allocations: 2.119 MB / 0.8408 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.006365/0.693, allocations: 6.085 MB / 0.8468 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.693, allocations: 4 kB / 0.8468 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.934e-06/0.6931, allocations: 0 / 0.8468 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001439/0.6932, allocations: 3.938 kB / 0.8468 GB, free: 6.547 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 838 * Number of variables: 838 Notification: Performance of Generate backend data structure: time 0.009426/0.7026, allocations: 4.431 MB / 0.8511 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.7027, allocations: 8.625 kB / 0.8511 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009061/0.7118, allocations: 1.341 MB / 0.8524 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004457/0.7163, allocations: 2.462 MB / 0.8548 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001867/0.7165, allocations: 246.5 kB / 0.8551 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005365/0.717, allocations: 320 kB / 0.8554 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009121/0.7261, allocations: 4.762 MB / 0.86 GB, free: 9.16 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.284e-05/0.7262, allocations: 0 / 0.86 GB, free: 9.16 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000329/0.7265, allocations: 139.9 kB / 0.8602 GB, free: 9.023 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.136e-05/0.7266, allocations: 80 kB / 0.8602 GB, free: 8.945 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01075/0.7374, allocations: 5.157 MB / 0.8653 GB, free: 3.777 MB / 0.6231 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02365/0.761, allocations: 16.57 MB / 0.8815 GB, free: 2.383 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009995/0.771, allocations: 4.283 MB / 0.8856 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003716/0.7748, allocations: 1.818 MB / 0.8874 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0014/0.7762, allocations: 1.639 MB / 0.889 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004231/0.7804, allocations: 2.141 MB / 0.8911 GB, free: 8.102 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=239): time 5.25e-06/0.7804, allocations: 4 kB / 0.8911 GB, free: 8.098 MB / 0.6544 GB Notification: Performance of matching and sorting (n=239): time 0.01339/0.7938, allocations: 5.534 MB / 0.8965 GB, free: 2.535 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001366/0.794, allocations: 295 kB / 0.8968 GB, free: 2.188 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003385/0.7974, allocations: 2.374 MB / 0.8991 GB, free: 15.79 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0003007/0.7977, allocations: 65.7 kB / 0.8992 GB, free: 15.72 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001153/0.7989, allocations: 1.393 MB / 0.9005 GB, free: 14.31 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007441/0.7996, allocations: 0.797 MB / 0.9013 GB, free: 13.5 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009314/0.8006, allocations: 0.5861 MB / 0.9019 GB, free: 12.91 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 8.554e-05/0.8007, allocations: 305.1 kB / 0.9022 GB, free: 12.61 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003853/0.8045, allocations: 1.679 MB / 0.9038 GB, free: 10.92 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004159/0.8087, allocations: 2.047 MB / 0.9058 GB, free: 8.758 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008058/0.8168, allocations: 3.674 MB / 0.9094 GB, free: 4.961 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.997e-06/0.8168, allocations: 4 kB / 0.9094 GB, free: 4.957 MB / 0.67 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.0103/0.8271, allocations: 4.293 MB / 0.9136 GB, free: 0.6094 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/0.8271, allocations: 8 kB / 0.9136 GB, free: 0.6016 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/0.8272, allocations: 5.281 kB / 0.9136 GB, free: 0.5977 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006136/0.8278, allocations: 100.8 kB / 0.9137 GB, free: 0.4961 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003896/0.8317, allocations: 0.78 MB / 0.9145 GB, free: 15.71 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002275/0.834, allocations: 1.706 MB / 0.9161 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003962/0.838, allocations: 485.1 kB / 0.9166 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002953/0.8383, allocations: 143.8 kB / 0.9167 GB, free: 13.25 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 14 (sim.weaDat.conTim.canRepeatWeatherFile,sim.weaDat.conTimMin.canRepeatWeatherFile,sim.radSol[1].solAzi.outsidePolarCircle,sim.radSol[2].solAzi.outsidePolarCircle,sim.radSol[3].solAzi.outsidePolarCircle,sim.radSol[4].solAzi.outsidePolarCircle,sim.radSol[5].solAzi.outsidePolarCircle,sim.radSol[6].solAzi.outsidePolarCircle,sim.weaDat.conTim.tNext,$PRE.sim.weaDat.conTim.tNext,sim.weaDat.conTimMin.tNext,$PRE.sim.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 (314): * Single equations (assignments): 313 * 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.001903/0.8402, allocations: 0.9912 MB / 0.9177 GB, free: 12.25 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006827/0.8409, allocations: 264.7 kB / 0.918 GB, free: 11.98 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01025/0.8511, allocations: 4.461 MB / 0.9223 GB, free: 7.461 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.058e-05/0.8512, allocations: 24 kB / 0.9223 GB, free: 7.438 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.8512, allocations: 4 kB / 0.9223 GB, free: 7.434 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.438e-05/0.8512, allocations: 11.95 kB / 0.9224 GB, free: 7.422 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01517/0.8664, allocations: 8.55 MB / 0.9307 GB, free: 14.65 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/0.8664, allocations: 4 kB / 0.9307 GB, free: 14.64 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003179/0.8696, allocations: 0.6319 MB / 0.9313 GB, free: 14.01 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004627/0.8701, allocations: 80.69 kB / 0.9314 GB, free: 13.93 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001987/0.8703, allocations: 75.94 kB / 0.9315 GB, free: 13.86 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00191/0.8722, allocations: 1.724 MB / 0.9332 GB, free: 11.99 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.8722, allocations: 3.938 kB / 0.9332 GB, free: 11.99 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008421/0.8807, allocations: 3.745 MB / 0.9368 GB, free: 8.156 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001434/0.8821, allocations: 0.8131 MB / 0.9376 GB, free: 7.32 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004351/0.8826, allocations: 75.61 kB / 0.9377 GB, free: 7.246 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00269/0.8853, allocations: 295.5 kB / 0.938 GB, free: 6.957 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003146/0.8856, allocations: 161.9 kB / 0.9381 GB, free: 6.797 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001999/0.8858, allocations: 91.94 kB / 0.9382 GB, free: 6.707 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002511/0.8883, allocations: 1.769 MB / 0.9399 GB, free: 4.93 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8883, allocations: 0 / 0.9399 GB, free: 4.93 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0025/0.8908, allocations: 0.962 MB / 0.9409 GB, free: 3.965 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,sim.weaDat.conTimMin.tNext,sim.weaDat.conTim.tNext) * Number of discrete states: 2 (sim.weaDat.conTimMin.tNext,sim.weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (267): * Single equations (assignments): 264 * 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.001587/0.8924, allocations: 0.6922 MB / 0.9416 GB, free: 3.48 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.008572/0.901, allocations: 3.841 MB / 0.9453 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.901, allocations: 0 / 0.9453 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.004007/0.905, allocations: 1.909 MB / 0.9472 GB, free: 13.67 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002446/0.9075, allocations: 0.5005 MB / 0.9477 GB, free: 13.19 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01263/0.9202, allocations: 7.002 MB / 0.9545 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001763/0.9219, allocations: 2.392 MB / 0.9568 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001768/0.9237, allocations: 355.1 kB / 0.9572 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of SimCode: time 5.11e-07/0.9237, allocations: 0 / 0.9572 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of Templates: time 0.07849/1.002, allocations: 66.48 MB / 1.022 GB, free: 0.9062 MB / 0.7794 GB make -j1 -f IDEAS_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection.makefile make -j1 -f IDEAS_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection.makefile clang++ -std=c++17 -fopenmp=libomp -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/Modelica 4.0.0+maint.om/Resources/C-Sources""-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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/Modelica 4.0.0+maint.om/Resources/C-Sources" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.ConvectionCalcHelperMain.o OMCppIDEAS_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.ConvectionCalcHelperMain.cpp In file included from OMCppIDEAS_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.ConvectionCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.ConvectionFunctions.cpp:7: /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Resources/C-Sources/getTimeSpan.c:27: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: *** [: OMCppIDEAS_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.ConvectionCalcHelperMain.o] Error 1