Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.574/1.574, allocations: 252 MB / 267.6 MB, free: 10.98 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.0009956/0.0009956, allocations: 184.1 kB / 327.3 MB, free: 2.246 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.767/1.767, allocations: 205.4 MB / 0.5783 GB, free: 20.25 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.0009187/0.0009186, allocations: 97.52 kB / 0.6829 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003747/0.0003748, allocations: 9.938 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.2485, allocations: 106.3 MB / 0.9008 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.005573/0.2541, allocations: 5.221 MB / 0.9059 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1694/0.4235, allocations: 137.3 MB / 1.04 GB, free: 1.012 MB / 0.6824 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001983/0.4255, allocations: 19.88 kB / 1.04 GB, free: 0.9922 MB / 0.6824 GB Notification: Performance of NFTyping.typeComponents: time 0.0008074/0.4264, allocations: 178.4 kB / 1.04 GB, free: 0.8164 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.001992/0.4284, allocations: 477.7 kB / 1.041 GB, free: 360 kB / 0.6824 GB Notification: Performance of NFTyping.typeClassSections: time 0.00269/0.4311, allocations: 0.8995 MB / 1.042 GB, free: 15.46 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002667/0.4338, allocations: 2.013 MB / 1.044 GB, free: 13.43 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00163/0.4354, allocations: 1.107 MB / 1.045 GB, free: 12.3 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001102/0.4365, allocations: 0.6571 MB / 1.045 GB, free: 11.64 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009277/0.4374, allocations: 0.7734 MB / 1.046 GB, free: 10.86 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001575/0.4376, allocations: 56 kB / 1.046 GB, free: 10.8 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009355/0.4386, allocations: 327.7 kB / 1.046 GB, free: 10.48 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003573/0.439, allocations: 346.4 kB / 1.047 GB, free: 10.14 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003245/0.4393, allocations: 352.6 kB / 1.047 GB, free: 9.793 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002128/0.4414, allocations: 2.291 MB / 1.049 GB, free: 7.496 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.827e-06/0.4414, allocations: 0 / 1.049 GB, free: 7.496 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.522e-06/0.4415, allocations: 4 kB / 1.049 GB, free: 7.492 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.767e-05/0.4415, allocations: 0 / 1.049 GB, free: 7.492 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: 534 * Number of variables: 534 Notification: Performance of Generate backend data structure: time 0.005479/0.447, allocations: 2.074 MB / 1.051 GB, free: 5.355 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.61e-05/0.4471, allocations: 12.03 kB / 1.051 GB, free: 5.344 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01533/0.4624, allocations: 2.186 MB / 1.053 GB, free: 3.152 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002994/0.4655, allocations: 1.149 MB / 1.055 GB, free: 1.953 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001437/0.4656, allocations: 152.2 kB / 1.055 GB, free: 1.801 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004208/0.4661, allocations: 212 kB / 1.055 GB, free: 1.594 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5653/1.031, allocations: 3.083 MB / 1.058 GB, free: 151.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.498e-05/1.032, allocations: 0.8438 kB / 1.058 GB, free: 151.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002744/1.032, allocations: 87.34 kB / 1.058 GB, free: 151.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.617e-05/1.032, allocations: 52.34 kB / 1.058 GB, free: 151.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01278/1.045, allocations: 4.076 MB / 1.062 GB, free: 151.8 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01789/1.063, allocations: 6.597 MB / 1.068 GB, free: 150.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009671/1.072, allocations: 2.74 MB / 1.071 GB, free: 150.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004498/1.077, allocations: 1.376 MB / 1.073 GB, free: 150.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007311/1.078, allocations: 0.5036 MB / 1.073 GB, free: 150 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00459/1.082, allocations: 1.639 MB / 1.075 GB, free: 149.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=192): time 3.978e-06/1.082, allocations: 0 / 1.075 GB, free: 149.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=192): time 0.01373/1.096, allocations: 4.045 MB / 1.079 GB, free: 147.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001372/1.096, allocations: 205.7 kB / 1.079 GB, free: 147.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001522/1.098, allocations: 0.8324 MB / 1.08 GB, free: 146.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002518/1.098, allocations: 56.67 kB / 1.08 GB, free: 146.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005414/1.099, allocations: 0.6859 MB / 1.08 GB, free: 146 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005399/1.099, allocations: 0.6174 MB / 1.081 GB, free: 145.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001478/1.099, allocations: 35.5 kB / 1.081 GB, free: 145.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001168/1.099, allocations: 372.7 kB / 1.081 GB, free: 145 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003504/1.103, allocations: 1.139 MB / 1.082 GB, free: 144.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003764/1.107, allocations: 1.308 MB / 1.084 GB, free: 143.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004271/1.111, allocations: 1.179 MB / 1.085 GB, free: 143.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/1.111, allocations: 4.656 kB / 1.085 GB, free: 143.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=214) (initialization): time 0.008561/1.119, allocations: 2.846 MB / 1.088 GB, free: 141.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.057e-05/1.12, allocations: 13.98 kB / 1.088 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/1.12, allocations: 0 / 1.088 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000572/1.12, allocations: 94.95 kB / 1.088 GB, free: 141.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003131/1.123, allocations: 0.5502 MB / 1.088 GB, free: 141.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001887/1.125, allocations: 1.513 MB / 1.09 GB, free: 140 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002813/1.128, allocations: 320.2 kB / 1.09 GB, free: 139.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002062/1.128, allocations: 94.3 kB / 1.09 GB, free: 139.8 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (212): * Single equations (assignments): 211 * 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.001202/1.129, allocations: 407.4 kB / 1.09 GB, free: 139.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003228/1.13, allocations: 144.4 kB / 1.091 GB, free: 139.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00916/1.139, allocations: 3.385 MB / 1.094 GB, free: 136.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-05/1.139, allocations: 20 kB / 1.094 GB, free: 136.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/1.139, allocations: 0 / 1.094 GB, free: 136.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.818e-05/1.139, allocations: 7.969 kB / 1.094 GB, free: 136.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01123/1.15, allocations: 5.587 MB / 1.099 GB, free: 130.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/1.15, allocations: 0 / 1.099 GB, free: 130.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002984/1.153, allocations: 0.5227 MB / 1.1 GB, free: 130.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005147/1.154, allocations: 88.77 kB / 1.1 GB, free: 130 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001788/1.154, allocations: 71.86 kB / 1.1 GB, free: 129.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001602/1.156, allocations: 1.543 MB / 1.102 GB, free: 128.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/1.156, allocations: 3.984 kB / 1.102 GB, free: 128.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008274/1.164, allocations: 2.949 MB / 1.104 GB, free: 125.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009738/1.165, allocations: 0.5219 MB / 1.105 GB, free: 124.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004022/1.165, allocations: 43.95 kB / 1.105 GB, free: 124.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002564/1.168, allocations: 247.8 kB / 1.105 GB, free: 124.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002385/1.168, allocations: 129.8 kB / 1.105 GB, free: 124.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001961/1.168, allocations: 75.92 kB / 1.105 GB, free: 124.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009757/1.169, allocations: 0.6107 MB / 1.106 GB, free: 123.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/1.169, allocations: 0 / 1.106 GB, free: 123.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00186/1.171, allocations: 0.5735 MB / 1.107 GB, free: 123.1 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 (206): * Single equations (assignments): 203 * 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.00165/1.173, allocations: 0.5856 MB / 1.107 GB, free: 122.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.008136/1.181, allocations: 2.878 MB / 1.11 GB, free: 119.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/1.181, allocations: 5.016 kB / 1.11 GB, free: 119.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.004002/1.185, allocations: 1.595 MB / 1.112 GB, free: 118.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001833/1.187, allocations: 315 kB / 1.112 GB, free: 117.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009533/1.196, allocations: 4.735 MB / 1.116 GB, free: 113.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009817/1.197, allocations: 1.357 MB / 1.118 GB, free: 111.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001275/1.199, allocations: 251.2 kB / 1.118 GB, free: 111.5 MB / 0.698 GB Notification: Performance of SimCode: time 1.323e-06/1.199, allocations: 4 kB / 1.118 GB, free: 111.5 MB / 0.698 GB Notification: Performance of Templates: time 0.04807/1.247, allocations: 37.4 MB / 1.155 GB, free: 74.05 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.BoundaryConditions.SolarIrradiation.Examples.DiffusePerezCalcHelperMain.o OMCppBuildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerezCalcHelperMain.cpp In file included from OMCppBuildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerezCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerezFunctions.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.BoundaryConditions.SolarIrradiation.Examples.DiffusePerezCalcHelperMain.o] Error 1