Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.41/1.41, allocations: 252 MB / 267.6 MB, free: 10.9 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.001004/0.001004, allocations: 188.3 kB / 327.3 MB, free: 2.199 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.901/1.901, allocations: 205.4 MB / 0.5783 GB, free: 20.5 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.0008433/0.0008432, allocations: 80 kB / 0.6829 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003804/0.0003805, allocations: 9 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2621, allocations: 106.3 MB / 0.9008 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.004764/0.2669, allocations: 3.568 MB / 0.9043 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1702/0.4371, allocations: 136.4 MB / 1.038 GB, free: 3.863 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008382/0.438, allocations: 15.94 kB / 1.038 GB, free: 3.848 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006147/0.4387, allocations: 123 kB / 1.038 GB, free: 3.727 MB / 0.6823 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.001369/0.4401, allocations: 344.5 kB / 1.038 GB, free: 3.391 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001843/0.4419, allocations: 0.589 MB / 1.039 GB, free: 2.809 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001285/0.4432, allocations: 1.008 MB / 1.04 GB, free: 1.793 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007889/0.444, allocations: 455 kB / 1.04 GB, free: 1.348 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005902/0.4446, allocations: 290.6 kB / 1.04 GB, free: 1.062 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004321/0.445, allocations: 314.3 kB / 1.041 GB, free: 0.7539 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 7.44e-05/0.4451, allocations: 20 kB / 1.041 GB, free: 0.7344 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007196/0.4459, allocations: 267.8 kB / 1.041 GB, free: 484 kB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001942/0.4461, allocations: 167.3 kB / 1.041 GB, free: 316 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001837/0.4463, allocations: 177.1 kB / 1.041 GB, free: 132 kB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.00111/0.4474, allocations: 1.025 MB / 1.042 GB, free: 15.1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.157e-06/0.4474, allocations: 4 kB / 1.042 GB, free: 15.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.904e-06/0.4474, allocations: 0 / 1.042 GB, free: 15.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.255e-05/0.4474, allocations: 0 / 1.042 GB, free: 15.1 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: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.002069/0.4495, allocations: 1.1 MB / 1.043 GB, free: 13.95 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.4495, allocations: 8.031 kB / 1.043 GB, free: 13.94 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001054/0.4506, allocations: 218.6 kB / 1.043 GB, free: 13.72 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/0.4517, allocations: 0.6718 MB / 1.044 GB, free: 13.01 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.645e-05/0.4518, allocations: 58 kB / 1.044 GB, free: 12.95 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.4519, allocations: 76 kB / 1.044 GB, free: 12.88 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001671/0.4535, allocations: 0.8598 MB / 1.045 GB, free: 11.98 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.4536, allocations: 3.984 kB / 1.045 GB, free: 11.98 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.834e-05/0.4537, allocations: 36 kB / 1.045 GB, free: 11.94 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.207e-05/0.4537, allocations: 19.95 kB / 1.045 GB, free: 11.92 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001806/0.4555, allocations: 1.081 MB / 1.046 GB, free: 10.84 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004069/0.4596, allocations: 2.428 MB / 1.049 GB, free: 8.34 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002248/0.4619, allocations: 0.8155 MB / 1.049 GB, free: 7.516 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000551/0.4624, allocations: 290.6 kB / 1.05 GB, free: 7.227 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.662e-05/0.4625, allocations: 36.69 kB / 1.05 GB, free: 7.191 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009241/0.4635, allocations: 448.4 kB / 1.05 GB, free: 6.734 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 3.737e-06/0.4635, allocations: 0 / 1.05 GB, free: 6.734 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.003069/0.4665, allocations: 1.131 MB / 1.051 GB, free: 5.578 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001263/0.4667, allocations: 188.6 kB / 1.051 GB, free: 5.352 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007738/0.4675, allocations: 0.5578 MB / 1.052 GB, free: 4.785 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.312e-05/0.4676, allocations: 37.7 kB / 1.052 GB, free: 4.742 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003246/0.4679, allocations: 368.3 kB / 1.052 GB, free: 4.375 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000205/0.4681, allocations: 248.4 kB / 1.053 GB, free: 4.129 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.991e-05/0.4681, allocations: 16 kB / 1.053 GB, free: 4.113 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002216/0.4684, allocations: 374.8 kB / 1.053 GB, free: 3.738 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005175/0.4689, allocations: 249.9 kB / 1.053 GB, free: 3.496 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005988/0.4695, allocations: 351 kB / 1.054 GB, free: 3.137 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005814/0.4701, allocations: 290.9 kB / 1.054 GB, free: 2.852 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.4701, allocations: 0 / 1.054 GB, free: 2.852 MB / 0.698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001836/0.472, allocations: 0.8137 MB / 1.055 GB, free: 2.031 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/0.472, allocations: 14.75 kB / 1.055 GB, free: 2.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.472, allocations: 0 / 1.055 GB, free: 2.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006409/0.4727, allocations: 80.88 kB / 1.055 GB, free: 1.938 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006428/0.4733, allocations: 159.8 kB / 1.055 GB, free: 1.781 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00213/0.4755, allocations: 1.527 MB / 1.056 GB, free: 116 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006875/0.4762, allocations: 88.11 kB / 1.056 GB, free: 28 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.859e-05/0.4763, allocations: 27.98 kB / 1.056 GB, free: 0 / 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 (84): * Single equations (assignments): 83 * 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.5283/1.005, allocations: 255.4 kB / 1.057 GB, free: 154.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002205/1.005, allocations: 79.16 kB / 1.057 GB, free: 154.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002468/1.007, allocations: 1.037 MB / 1.058 GB, free: 154.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.739e-06/1.007, allocations: 8.312 kB / 1.058 GB, free: 154.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/1.007, allocations: 0 / 1.058 GB, free: 154.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/1.007, allocations: 6.562 kB / 1.058 GB, free: 154.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009915/1.008, allocations: 0.8529 MB / 1.059 GB, free: 154.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/1.008, allocations: 1.094 kB / 1.059 GB, free: 154.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005886/1.009, allocations: 148.1 kB / 1.059 GB, free: 154.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005061/1.009, allocations: 84.08 kB / 1.059 GB, free: 154.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.71e-05/1.009, allocations: 27.75 kB / 1.059 GB, free: 154.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001558/1.011, allocations: 1.551 MB / 1.06 GB, free: 153.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/1.011, allocations: 1.781 kB / 1.06 GB, free: 153.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001719/1.013, allocations: 0.8647 MB / 1.061 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003184/1.013, allocations: 282 kB / 1.062 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.87e-05/1.013, allocations: 14.38 kB / 1.062 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005385/1.014, allocations: 67.42 kB / 1.062 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001445/1.014, allocations: 71.3 kB / 1.062 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.154e-05/1.014, allocations: 27.45 kB / 1.062 GB, free: 153.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005448/1.015, allocations: 417 kB / 1.062 GB, free: 153 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/1.015, allocations: 0 / 1.062 GB, free: 153 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007678/1.015, allocations: 266.6 kB / 1.062 GB, free: 153 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 82 * 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.001232/1.017, allocations: 0.5504 MB / 1.063 GB, free: 152.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001662/1.018, allocations: 0.7886 MB / 1.064 GB, free: 152.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/1.018, allocations: 0 / 1.064 GB, free: 152.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008481/1.019, allocations: 0.4976 MB / 1.064 GB, free: 152.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/1.02, allocations: 253.7 kB / 1.064 GB, free: 152.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004009/1.024, allocations: 2.092 MB / 1.066 GB, free: 151.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006817/1.025, allocations: 0.9931 MB / 1.067 GB, free: 150.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003576/1.025, allocations: 110.3 kB / 1.067 GB, free: 150.9 MB / 0.698 GB Notification: Performance of SimCode: time 1.092e-06/1.025, allocations: 0.875 kB / 1.067 GB, free: 150.9 MB / 0.698 GB Notification: Performance of Templates: time 0.03589/1.061, allocations: 16.87 MB / 1.084 GB, free: 144.3 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.BaseClasses.Examples.RelativeAirMassCalcHelperMain.o OMCppBuildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMassCalcHelperMain.cpp In file included from OMCppBuildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMassCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMassFunctions.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.BaseClasses.Examples.RelativeAirMassCalcHelperMain.o] Error 1