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.365/1.365, allocations: 252 MB / 268 MB, free: 10.86 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.001005/0.001005, allocations: 174.5 kB / 327.6 MB, free: 2.09 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.668/1.668, allocations: 205.4 MB / 0.5786 GB, free: 20.17 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.0008495/0.0008495, allocations: 83.83 kB / 0.6832 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003495/0.0003495, allocations: 14.34 kB / 0.7976 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.2229, allocations: 106.3 MB / 0.9014 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.005152/0.2281, allocations: 5.559 MB / 0.9069 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1522/0.3804, allocations: 147.2 MB / 1.051 GB, free: 5.957 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001213/0.3816, allocations: 23.88 kB / 1.051 GB, free: 5.934 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006207/0.3823, allocations: 182.4 kB / 1.051 GB, free: 5.754 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.001671/0.384, allocations: 483 kB / 1.051 GB, free: 5.281 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002359/0.3863, allocations: 1.105 MB / 1.052 GB, free: 4.184 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002213/0.3886, allocations: 2.189 MB / 1.055 GB, free: 1.984 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001811/0.3904, allocations: 1.426 MB / 1.056 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4919/0.8822, allocations: 0.6734 MB / 1.057 GB, free: 3.852 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002177/0.8845, allocations: 0.8094 MB / 1.057 GB, free: 3.852 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003839/0.8849, allocations: 55.59 kB / 1.057 GB, free: 3.852 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001281/0.8862, allocations: 352.5 kB / 1.058 GB, free: 3.852 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004531/0.8867, allocations: 352.9 kB / 1.058 GB, free: 3.852 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001065/0.8877, allocations: 0.8578 MB / 1.059 GB, free: 3.82 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004072/0.8918, allocations: 2.296 MB / 1.061 GB, free: 3.715 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.8919, allocations: 0.625 kB / 1.061 GB, free: 3.715 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.625e-06/0.8919, allocations: 3.656 kB / 1.061 GB, free: 3.715 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.05e-05/0.892, allocations: 0 / 1.061 GB, free: 3.715 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.007103/0.8991, allocations: 2.053 MB / 1.063 GB, free: 2.672 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/0.8991, allocations: 11.31 kB / 1.063 GB, free: 2.672 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02518/0.9243, allocations: 2.191 MB / 1.065 GB, free: 2.477 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004795/0.9292, allocations: 1.18 MB / 1.066 GB, free: 2.098 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003823/0.9296, allocations: 157.9 kB / 1.067 GB, free: 2.086 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001223/0.9309, allocations: 200.3 kB / 1.067 GB, free: 2.086 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01668/0.9476, allocations: 3.108 MB / 1.07 GB, free: 1.812 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001156/0.9477, allocations: 0.8125 kB / 1.07 GB, free: 1.812 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006914/0.9485, allocations: 84.47 kB / 1.07 GB, free: 1.812 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001015/0.9486, allocations: 54.56 kB / 1.07 GB, free: 1.809 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02232/0.9709, allocations: 4.09 MB / 1.074 GB, free: 1.723 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02482/0.9958, allocations: 6.608 MB / 1.08 GB, free: 16.48 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0152/1.011, allocations: 2.748 MB / 1.083 GB, free: 16.36 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007468/1.019, allocations: 1.386 MB / 1.084 GB, free: 16.32 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001269/1.02, allocations: 0.5029 MB / 1.085 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008077/1.028, allocations: 1.642 MB / 1.087 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=192): time 7.354e-06/1.028, allocations: 0 / 1.087 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of matching and sorting (n=192): time 0.02513/1.053, allocations: 4.062 MB / 1.091 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002569/1.054, allocations: 205.6 kB / 1.091 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002568/1.056, allocations: 0.8387 MB / 1.092 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0007437/1.057, allocations: 53.98 kB / 1.092 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001069/1.058, allocations: 0.6859 MB / 1.092 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.001642/1.06, allocations: 0.6192 MB / 1.093 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000565/1.06, allocations: 37.3 kB / 1.093 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002716/1.061, allocations: 369.3 kB / 1.093 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006746/1.067, allocations: 1.146 MB / 1.094 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007002/1.074, allocations: 1.31 MB / 1.096 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0138/1.088, allocations: 2.414 MB / 1.098 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.608e-06/1.088, allocations: 0 / 1.098 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of matching and sorting (n=214) (initialization): time 0.01699/1.105, allocations: 2.868 MB / 1.101 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.139e-05/1.105, allocations: 5.406 kB / 1.101 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/1.105, allocations: 3.625 kB / 1.101 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001007/1.106, allocations: 87.89 kB / 1.101 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006837/1.113, allocations: 0.5509 MB / 1.101 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003246/1.117, allocations: 1.53 MB / 1.103 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005203/1.122, allocations: 324.8 kB / 1.103 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005814/1.122, allocations: 91.38 kB / 1.103 GB, free: 12.02 MB / 0.7136 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 (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.002095/1.124, allocations: 399.4 kB / 1.104 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008015/1.125, allocations: 139.2 kB / 1.104 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01975/1.145, allocations: 3.382 MB / 1.107 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.825e-05/1.145, allocations: 19.69 kB / 1.107 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/1.145, allocations: 11.3 kB / 1.107 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.661e-05/1.145, allocations: 7.969 kB / 1.107 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01394/1.159, allocations: 5.586 MB / 1.113 GB, free: 9.762 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.19e-05/1.159, allocations: 3.984 kB / 1.113 GB, free: 9.758 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003477/1.163, allocations: 0.526 MB / 1.113 GB, free: 9.629 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005632/1.163, allocations: 87.11 kB / 1.113 GB, free: 9.594 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002824/1.164, allocations: 75.98 kB / 1.113 GB, free: 9.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001849/1.165, allocations: 1.538 MB / 1.115 GB, free: 8.219 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/1.165, allocations: 4.062 kB / 1.115 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009298/1.175, allocations: 2.959 MB / 1.118 GB, free: 7.488 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00105/1.176, allocations: 0.5218 MB / 1.118 GB, free: 7.184 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004236/1.176, allocations: 36.36 kB / 1.118 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002812/1.179, allocations: 247.4 kB / 1.118 GB, free: 7.105 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002929/1.179, allocations: 125.9 kB / 1.119 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002272/1.18, allocations: 88.88 kB / 1.119 GB, free: 7.027 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009821/1.181, allocations: 0.6171 MB / 1.119 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.31e-07/1.181, allocations: 0 / 1.119 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002023/1.183, allocations: 0.5646 MB / 1.12 GB, free: 6.719 MB / 0.7136 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 (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.001559/1.184, allocations: 0.6033 MB / 1.12 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.008695/1.193, allocations: 2.896 MB / 1.123 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/1.193, allocations: 0 / 1.123 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.004747/1.198, allocations: 1.613 MB / 1.125 GB, free: 5.48 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002302/1.2, allocations: 319.7 kB / 1.125 GB, free: 5.406 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01129/1.211, allocations: 4.892 MB / 1.13 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001273/1.213, allocations: 1.356 MB / 1.131 GB, free: 1.879 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002215/1.215, allocations: 259.8 kB / 1.131 GB, free: 1.801 MB / 0.7136 GB Notification: Performance of SimCode: time 8.82e-07/1.215, allocations: 0 / 1.131 GB, free: 1.801 MB / 0.7136 GB Notification: Performance of Templates: time 0.05458/1.27, allocations: 37.33 MB / 1.168 GB, free: 14.48 MB / 0.7605 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++ -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.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