Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 109.5 kB / 15.99 MB, free: 6.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 191.2 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.486/1.486, allocations: 205.1 MB / 222.8 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.763/1.763, allocations: 292.3 MB / 0.5492 GB, free: 13.65 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 65.42 kB / 0.6716 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2455/0.247, allocations: 114.6 MB / 0.7835 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.007851/0.2549, allocations: 4.987 MB / 0.7884 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.7192/0.9741, allocations: 148.3 MB / 0.9332 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008726/0.975, allocations: 23.56 kB / 0.9332 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006227/0.9756, allocations: 152.4 kB / 0.9334 GB, free: 5.094 MB / 0.7325 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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.001709/0.9774, allocations: 462.4 kB / 0.9338 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002175/0.9796, allocations: 0.8169 MB / 0.9346 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001847/0.9814, allocations: 1.55 MB / 0.9361 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001291/0.9827, allocations: 1.112 MB / 0.9372 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001108/0.9839, allocations: 0.679 MB / 0.9379 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009337/0.9848, allocations: 0.7326 MB / 0.9386 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002207/0.985, allocations: 186.1 kB / 0.9387 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009406/0.986, allocations: 454.6 kB / 0.9392 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003729/0.9864, allocations: 432 kB / 0.9396 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0007323/0.9871, allocations: 0.8032 MB / 0.9404 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00215/0.9893, allocations: 1.702 MB / 0.942 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.9893, allocations: 0 / 0.942 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.116e-06/0.9893, allocations: 0.75 kB / 0.942 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.366e-05/0.9893, allocations: 0 / 0.942 GB, free: 4.719 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.003317/0.9927, allocations: 1.79 MB / 0.9438 GB, free: 19.84 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.9927, allocations: 12.42 kB / 0.9438 GB, free: 19.84 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001/0.9937, allocations: 237.6 kB / 0.944 GB, free: 19.75 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001255/0.995, allocations: 0.8996 MB / 0.9449 GB, free: 19.4 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001254/0.9951, allocations: 138.8 kB / 0.945 GB, free: 19.36 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001788/0.9953, allocations: 136.5 kB / 0.9452 GB, free: 19.36 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002393/0.9977, allocations: 1.427 MB / 0.9466 GB, free: 19.18 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.825e-05/0.9977, allocations: 0 / 0.9466 GB, free: 19.18 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001171/0.9979, allocations: 63.91 kB / 0.9466 GB, free: 19.18 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.091e-05/0.9979, allocations: 34.25 kB / 0.9467 GB, free: 19.18 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002515/1, allocations: 1.462 MB / 0.9481 GB, free: 19.16 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006256/1.007, allocations: 3.768 MB / 0.9518 GB, free: 18.21 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001944/1.009, allocations: 0.9107 MB / 0.9527 GB, free: 18.15 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006486/1.009, allocations: 370.4 kB / 0.953 GB, free: 18.14 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 8.868e-05/1.009, allocations: 41.5 kB / 0.953 GB, free: 18.14 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001096/1.011, allocations: 0.5402 MB / 0.9536 GB, free: 18.07 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=93): time 2.885e-06/1.011, allocations: 4 kB / 0.9536 GB, free: 18.06 MB / 0.7481 GB Notification: Performance of matching and sorting (n=93): time 0.003475/1.014, allocations: 1.373 MB / 0.9549 GB, free: 17.84 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/1.014, allocations: 199.8 kB / 0.9551 GB, free: 17.62 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/1.015, allocations: 0.7422 MB / 0.9558 GB, free: 17.49 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001149/1.015, allocations: 40.39 kB / 0.9559 GB, free: 17.46 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004294/1.016, allocations: 0.5799 MB / 0.9564 GB, free: 17.18 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002168/1.016, allocations: 312.2 kB / 0.9567 GB, free: 16.98 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003203/1.016, allocations: 196.7 kB / 0.9569 GB, free: 16.96 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001372/1.017, allocations: 342.1 kB / 0.9573 GB, free: 16.65 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006033/1.017, allocations: 329.8 kB / 0.9576 GB, free: 16.64 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007011/1.018, allocations: 434.2 kB / 0.958 GB, free: 16.59 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00133/1.019, allocations: 0.7629 MB / 0.9587 GB, free: 16.53 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.421e-06/1.019, allocations: 1.812 kB / 0.9587 GB, free: 16.53 MB / 0.7481 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002363/1.022, allocations: 1.029 MB / 0.9597 GB, free: 16.41 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/1.022, allocations: 7.469 kB / 0.9597 GB, free: 16.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/1.022, allocations: 1.125 kB / 0.9597 GB, free: 16.41 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006209/1.022, allocations: 86.48 kB / 0.9598 GB, free: 16.4 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008486/1.023, allocations: 201.1 kB / 0.96 GB, free: 16.4 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002178/1.025, allocations: 1.654 MB / 0.9616 GB, free: 15 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001036/1.026, allocations: 91.94 kB / 0.9617 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001094/1.026, allocations: 43.95 kB / 0.9618 GB, free: 14.96 MB / 0.7481 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 (111): * Single equations (assignments): 110 * 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.0008473/1.027, allocations: 324.5 kB / 0.9621 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002695/1.028, allocations: 99.55 kB / 0.9622 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002984/1.031, allocations: 1.289 MB / 0.9634 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.408e-05/1.031, allocations: 11.12 kB / 0.9634 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/1.031, allocations: 0 / 0.9634 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.33e-05/1.031, allocations: 11.55 kB / 0.9634 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004384/1.035, allocations: 2.487 MB / 0.9659 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/1.035, allocations: 0 / 0.9659 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007298/1.036, allocations: 178.9 kB / 0.966 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004794/1.036, allocations: 76.62 kB / 0.9661 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.828e-05/1.036, allocations: 31.23 kB / 0.9661 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001914/1.038, allocations: 1.675 MB / 0.9678 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/1.038, allocations: 0 / 0.9678 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002266/1.041, allocations: 1.111 MB / 0.9689 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004787/1.041, allocations: 313 kB / 0.9692 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001553/1.041, allocations: 28.41 kB / 0.9692 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007141/1.042, allocations: 64.73 kB / 0.9693 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001647/1.042, allocations: 72.66 kB / 0.9693 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.994e-05/1.042, allocations: 37.58 kB / 0.9694 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000727/1.043, allocations: 0.555 MB / 0.9699 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.51e-07/1.043, allocations: 0 / 0.9699 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001131/1.044, allocations: 389.6 kB / 0.9703 GB, free: 12.28 MB / 0.7481 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 (107): * Single equations (assignments): 104 * 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.001246/1.045, allocations: 0.5692 MB / 0.9708 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002848/1.048, allocations: 1.196 MB / 0.972 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/1.048, allocations: 2.656 kB / 0.972 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0009651/1.049, allocations: 0.5842 MB / 0.9726 GB, free: 11.81 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001454/1.051, allocations: 305.7 kB / 0.9729 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006143/1.057, allocations: 3.013 MB / 0.9758 GB, free: 10.22 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009627/1.058, allocations: 1.162 MB / 0.9769 GB, free: 9.5 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006574/1.059, allocations: 142.9 kB / 0.9771 GB, free: 9.488 MB / 0.7481 GB Notification: Performance of SimCode: time 1.293e-06/1.059, allocations: 0 / 0.9771 GB, free: 9.488 MB / 0.7481 GB Notification: Performance of Templates: time 0.03283/1.091, allocations: 23.44 MB / 1 GB, free: 15.71 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile clang++ -std=c++14 -fopenmp=libomp -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 8.1.4-maint.8.1.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 8.1.4-maint.8.1.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurfaceCalcHelperMain.o OMCppBuildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurfaceCalcHelperMain.cpp In file included from OMCppBuildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurfaceCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurfaceFunctions.cpp:5: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/getTimeSpan.c:27: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_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurfaceCalcHelperMain.o] Error 1