Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins.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.SideFins,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins") translateModel(Buildings.HeatTransfer.Windows.Examples.SideFins,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.584/1.584, allocations: 251.5 MB / 267.4 MB, free: 10.87 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.0009036/0.0009034, allocations: 166.3 kB / 326.5 MB, free: 2.648 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.623/1.623, 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.0007771/0.0007772, allocations: 84 kB / 0.6803 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003135/0.0003134, allocations: 9.5 kB / 0.7938 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2027, allocations: 105.4 MB / 0.8967 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.005339/0.2081, allocations: 4.661 MB / 0.9013 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1478/0.3559, allocations: 148.7 MB / 1.047 GB, free: 10.16 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001246/0.3572, allocations: 15.94 kB / 1.047 GB, free: 10.14 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0008203/0.358, allocations: 142.9 kB / 1.047 GB, free: 10 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.002026/0.3601, allocations: 464 kB / 1.047 GB, free: 9.547 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002343/0.3624, allocations: 0.8 MB / 1.048 GB, free: 8.754 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002034/0.3645, allocations: 1.667 MB / 1.05 GB, free: 7.078 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001354/0.3659, allocations: 0.8357 MB / 1.05 GB, free: 6.199 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008711/0.3667, allocations: 449.8 kB / 1.051 GB, free: 5.758 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008201/0.3676, allocations: 0.5129 MB / 1.051 GB, free: 5.242 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002125/0.3678, allocations: 36 kB / 1.051 GB, free: 5.207 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009961/0.3688, allocations: 423.6 kB / 1.052 GB, free: 4.793 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003497/0.3692, allocations: 278.7 kB / 1.052 GB, free: 4.52 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006628/0.3698, allocations: 0.5588 MB / 1.053 GB, free: 3.957 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001722/0.3716, allocations: 1.586 MB / 1.054 GB, free: 2.367 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.3716, allocations: 0 / 1.054 GB, free: 2.367 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.803e-06/0.3716, allocations: 0 / 1.054 GB, free: 2.367 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.739e-05/0.3717, allocations: 0 / 1.054 GB, free: 2.367 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: 317 * Number of variables: 317 Notification: Performance of Generate backend data structure: time 0.003041/0.3747, allocations: 1.427 MB / 1.055 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.3748, allocations: 12.03 kB / 1.055 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4082/0.7829, allocations: 1.564 MB / 1.057 GB, free: 159.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00202/0.785, allocations: 0.9761 MB / 1.058 GB, free: 159.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.889e-05/0.7851, allocations: 92.66 kB / 1.058 GB, free: 159.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002576/0.7854, allocations: 126 kB / 1.058 GB, free: 159.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005873/0.7913, allocations: 2.222 MB / 1.06 GB, free: 159 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.531e-05/0.7913, allocations: 0 / 1.06 GB, free: 159 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001751/0.7915, allocations: 53.56 kB / 1.06 GB, free: 159 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.769e-05/0.7916, allocations: 31.44 kB / 1.06 GB, free: 159 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008942/0.8005, allocations: 3.128 MB / 1.063 GB, free: 159 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01056/0.8111, allocations: 4.697 MB / 1.068 GB, free: 158 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00886/0.82, allocations: 3.038 MB / 1.071 GB, free: 157.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003274/0.8233, allocations: 1.195 MB / 1.072 GB, free: 156.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004408/0.8238, allocations: 0.6079 MB / 1.073 GB, free: 156 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003586/0.8274, allocations: 1.459 MB / 1.074 GB, free: 155.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=121): time 3.396e-06/0.8274, allocations: 0 / 1.074 GB, free: 155.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=121): time 0.01087/0.8383, allocations: 3.782 MB / 1.078 GB, free: 153.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.377e-05/0.8384, allocations: 200.7 kB / 1.078 GB, free: 153.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001344/0.8398, allocations: 0.7476 MB / 1.079 GB, free: 152.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001951/0.84, allocations: 48.08 kB / 1.079 GB, free: 152.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003551/0.8404, allocations: 485.5 kB / 1.079 GB, free: 152.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003839/0.8408, allocations: 405.2 kB / 1.08 GB, free: 151.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001915/0.841, allocations: 91.3 kB / 1.08 GB, free: 151.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.376e-05/0.841, allocations: 345.4 kB / 1.08 GB, free: 151.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0034/0.8445, allocations: 1.124 MB / 1.081 GB, free: 150.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003827/0.8483, allocations: 1.249 MB / 1.082 GB, free: 150.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006006/0.8543, allocations: 2.215 MB / 1.085 GB, free: 148.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.071e-05/0.8544, allocations: 0 / 1.085 GB, free: 148.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.007862/0.8623, allocations: 2.596 MB / 1.087 GB, free: 146.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.833e-05/0.8623, allocations: 8 kB / 1.087 GB, free: 146.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.8624, allocations: 0 / 1.087 GB, free: 146.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006005/0.863, allocations: 84.89 kB / 1.087 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002323/0.8653, allocations: 476.3 kB / 1.088 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00178/0.8671, allocations: 1.535 MB / 1.089 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002248/0.8694, allocations: 322.8 kB / 1.09 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002425/0.8696, allocations: 63.94 kB / 1.09 GB, free: 143.6 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (135): * Single equations (assignments): 134 * 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.0008131/0.8704, allocations: 333.5 kB / 1.09 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003916/0.8708, allocations: 106.7 kB / 1.09 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00764/0.8785, allocations: 2.969 MB / 1.093 GB, free: 140.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-05/0.8786, allocations: 12 kB / 1.093 GB, free: 140.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.445e-06/0.8786, allocations: 1.75 kB / 1.093 GB, free: 140.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.695e-05/0.8786, allocations: 15.92 kB / 1.093 GB, free: 140.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009664/0.8883, allocations: 4.785 MB / 1.098 GB, free: 135.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/0.8883, allocations: 3.938 kB / 1.098 GB, free: 135.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002232/0.8906, allocations: 459.4 kB / 1.098 GB, free: 134.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005298/0.8911, allocations: 88.77 kB / 1.098 GB, free: 134.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000136/0.8913, allocations: 43.95 kB / 1.098 GB, free: 134.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001553/0.8928, allocations: 1.565 MB / 1.1 GB, free: 133.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.8929, allocations: 4 kB / 1.1 GB, free: 133.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007052/0.8999, allocations: 2.741 MB / 1.102 GB, free: 130.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007391/0.9007, allocations: 427.3 kB / 1.103 GB, free: 129.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003184/0.901, allocations: 35.83 kB / 1.103 GB, free: 129.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00206/0.9031, allocations: 286.9 kB / 1.103 GB, free: 129.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001746/0.9033, allocations: 81.19 kB / 1.103 GB, free: 129.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001429/0.9034, allocations: 63.94 kB / 1.103 GB, free: 129.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006828/0.9041, allocations: 0.5303 MB / 1.104 GB, free: 128.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9041, allocations: 0 / 1.104 GB, free: 128.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001261/0.9054, allocations: 450.3 kB / 1.104 GB, free: 128.4 MB / 0.698 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 (135): * Single equations (assignments): 132 * 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.001333/0.9067, allocations: 0.6012 MB / 1.105 GB, free: 128.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.006541/0.9133, allocations: 2.649 MB / 1.107 GB, free: 125.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.9133, allocations: 0 / 1.107 GB, free: 125.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003497/0.9168, allocations: 1.443 MB / 1.109 GB, free: 123.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001641/0.9185, allocations: 296.1 kB / 1.109 GB, free: 123.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007007/0.9255, allocations: 3.75 MB / 1.113 GB, free: 119.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000572/0.9261, allocations: 1.155 MB / 1.114 GB, free: 118.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009643/0.9271, allocations: 187.2 kB / 1.114 GB, free: 118.5 MB / 0.698 GB Notification: Performance of SimCode: time 1.312e-06/0.9271, allocations: 0 / 1.114 GB, free: 118.5 MB / 0.698 GB Notification: Performance of Templates: time 0.03078/0.9579, allocations: 27.91 MB / 1.141 GB, free: 90.61 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins.makefile make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins.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.SideFinsCalcHelperMain.o OMCppBuildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.SideFinsCalcHelperMain.cpp In file included from OMCppBuildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.SideFinsCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.SideFinsFunctions.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.SideFinsCalcHelperMain.o] Error 1