Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.427/1.427, allocations: 252 MB / 267.6 MB, free: 10.95 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.001089/0.001089, allocations: 182.7 kB / 327.3 MB, free: 2.211 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.895/1.895, 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.0007194/0.0007196, allocations: 94.23 kB / 0.6829 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003056/0.0003057, allocations: 9.406 kB / 0.797 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2385/0.2388, allocations: 106.3 MB / 0.9008 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.00399/0.2429, allocations: 3.564 MB / 0.9043 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1679/0.4108, allocations: 136.4 MB / 1.038 GB, free: 3.492 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007977/0.4116, allocations: 19.88 kB / 1.038 GB, free: 3.473 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006444/0.4123, allocations: 119 kB / 1.038 GB, free: 3.355 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.001475/0.4138, allocations: 361.2 kB / 1.038 GB, free: 3.004 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001832/0.4156, allocations: 0.5926 MB / 1.039 GB, free: 2.418 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001442/0.4171, allocations: 1.004 MB / 1.04 GB, free: 1.406 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009106/0.418, allocations: 467 kB / 1.04 GB, free: 0.9492 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006609/0.4187, allocations: 294.7 kB / 1.04 GB, free: 0.6602 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005535/0.4192, allocations: 318.3 kB / 1.041 GB, free: 356 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001458/0.4194, allocations: 20 kB / 1.041 GB, free: 336 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007227/0.4201, allocations: 263.8 kB / 1.041 GB, free: 72 kB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002517/0.4204, allocations: 159.4 kB / 1.041 GB, free: 15.91 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002628/0.4207, allocations: 177.2 kB / 1.041 GB, free: 15.73 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001243/0.4219, allocations: 1.025 MB / 1.042 GB, free: 14.71 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.4219, allocations: 0 / 1.042 GB, free: 14.71 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.834e-06/0.4219, allocations: 0 / 1.042 GB, free: 14.71 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.685e-05/0.422, allocations: 0 / 1.042 GB, free: 14.71 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002421/0.4244, allocations: 1.1 MB / 1.043 GB, free: 13.55 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.4245, allocations: 12.03 kB / 1.043 GB, free: 13.54 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001013/0.4255, allocations: 194.5 kB / 1.043 GB, free: 13.35 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001236/0.4267, allocations: 0.6719 MB / 1.044 GB, free: 12.64 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.267e-05/0.4268, allocations: 65.94 kB / 1.044 GB, free: 12.57 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/0.427, allocations: 76 kB / 1.044 GB, free: 12.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001619/0.4286, allocations: 0.852 MB / 1.045 GB, free: 11.61 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/0.4286, allocations: 0 / 1.045 GB, free: 11.61 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.953e-05/0.4287, allocations: 32 kB / 1.045 GB, free: 11.57 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.801e-05/0.4287, allocations: 23.95 kB / 1.045 GB, free: 11.55 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00174/0.4305, allocations: 1.065 MB / 1.046 GB, free: 10.48 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004047/0.4345, allocations: 2.377 MB / 1.049 GB, free: 8.043 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00133/0.4359, allocations: 0.8011 MB / 1.049 GB, free: 7.215 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005165/0.4364, allocations: 278.7 kB / 1.05 GB, free: 6.938 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.216e-05/0.4365, allocations: 36.67 kB / 1.05 GB, free: 6.902 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007972/0.4373, allocations: 423.2 kB / 1.05 GB, free: 6.473 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 3.196e-06/0.4373, allocations: 4 kB / 1.05 GB, free: 6.469 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.00295/0.4403, allocations: 1.097 MB / 1.051 GB, free: 5.344 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001307/0.4404, allocations: 188.6 kB / 1.051 GB, free: 5.117 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000768/0.4412, allocations: 0.5577 MB / 1.052 GB, free: 4.551 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.45e-05/0.4413, allocations: 37.7 kB / 1.052 GB, free: 4.508 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002889/0.4416, allocations: 368.3 kB / 1.052 GB, free: 4.141 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002069/0.4418, allocations: 240.6 kB / 1.052 GB, free: 3.902 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.886e-05/0.4419, allocations: 16 kB / 1.052 GB, free: 3.887 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.442, allocations: 374.8 kB / 1.053 GB, free: 3.512 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004793/0.4425, allocations: 237.9 kB / 1.053 GB, free: 3.281 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005461/0.4431, allocations: 331 kB / 1.053 GB, free: 2.938 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005404/0.4436, allocations: 282.9 kB / 1.054 GB, free: 2.664 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.4437, allocations: 0 / 1.054 GB, free: 2.664 MB / 0.698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001785/0.4454, allocations: 0.7902 MB / 1.054 GB, free: 1.867 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.4455, allocations: 4 kB / 1.054 GB, free: 1.863 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.4455, allocations: 3.984 kB / 1.054 GB, free: 1.859 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006231/0.4461, allocations: 84.88 kB / 1.054 GB, free: 1.773 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006205/0.4467, allocations: 151.7 kB / 1.055 GB, free: 1.625 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.504/0.9507, allocations: 1.525 MB / 1.056 GB, free: 154.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/0.9518, allocations: 76.17 kB / 1.056 GB, free: 154.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.221e-05/0.9519, allocations: 38.5 kB / 1.056 GB, free: 154.2 MB / 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.0006887/0.9526, allocations: 259.3 kB / 1.056 GB, free: 154 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001992/0.9529, allocations: 76.75 kB / 1.057 GB, free: 154 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002653/0.9555, allocations: 1.014 MB / 1.058 GB, free: 154 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.327e-05/0.9556, allocations: 10.91 kB / 1.058 GB, free: 154 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.9556, allocations: 4.641 kB / 1.058 GB, free: 154 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.374e-05/0.9556, allocations: 3.984 kB / 1.058 GB, free: 154 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003088/0.9587, allocations: 1.862 MB / 1.059 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.9587, allocations: 0 / 1.059 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005624/0.9593, allocations: 146.2 kB / 1.059 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005267/0.9598, allocations: 84.61 kB / 1.06 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.254e-05/0.9599, allocations: 27.58 kB / 1.06 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001767/0.9616, allocations: 1.547 MB / 1.061 GB, free: 152.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.9617, allocations: 3.906 kB / 1.061 GB, free: 152.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00192/0.9636, allocations: 0.9167 MB / 1.062 GB, free: 152.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004181/0.964, allocations: 273.2 kB / 1.062 GB, free: 152 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.877e-05/0.9641, allocations: 16 kB / 1.062 GB, free: 152 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006407/0.9648, allocations: 66.27 kB / 1.062 GB, free: 152 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001643/0.965, allocations: 62.98 kB / 1.062 GB, free: 152 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.03e-05/0.965, allocations: 35.72 kB / 1.062 GB, free: 152 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006023/0.9656, allocations: 415.1 kB / 1.063 GB, free: 151.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9657, allocations: 0 / 1.063 GB, free: 151.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008409/0.9665, allocations: 276.2 kB / 1.063 GB, free: 151.8 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 (87): * Single equations (assignments): 84 * 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.001342/0.9679, allocations: 0.5547 MB / 1.064 GB, free: 151.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001737/0.9696, allocations: 0.7594 MB / 1.064 GB, free: 151.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.9696, allocations: 2.938 kB / 1.064 GB, free: 151.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008742/0.9705, allocations: 0.4908 MB / 1.065 GB, free: 151.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001317/0.9718, allocations: 241.8 kB / 1.065 GB, free: 151.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004733/0.9766, allocations: 2.079 MB / 1.067 GB, free: 150.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008747/0.9775, allocations: 1.001 MB / 1.068 GB, free: 149.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004722/0.978, allocations: 114 kB / 1.068 GB, free: 149.7 MB / 0.698 GB Notification: Performance of SimCode: time 3.637e-06/0.978, allocations: 0 / 1.068 GB, free: 149.7 MB / 0.698 GB Notification: Performance of Templates: time 0.03597/1.014, allocations: 16.59 MB / 1.084 GB, free: 143.2 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.SolarGeometry.BaseClasses.Examples.AltitudeAngleCalcHelperMain.o OMCppBuildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngleCalcHelperMain.cpp In file included from OMCppBuildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngleCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngleFunctions.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.SolarGeometry.BaseClasses.Examples.AltitudeAngleCalcHelperMain.o] Error 1