Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.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.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.512/1.512, allocations: 252 MB / 267.6 MB, free: 10.92 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.001444/0.001444, allocations: 179.6 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.909/1.909, allocations: 205.4 MB / 0.5783 GB, free: 20.24 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.0007503/0.0007505, allocations: 97.86 kB / 0.6829 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003618/0.0003618, allocations: 9.469 kB / 0.797 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2607, allocations: 106.3 MB / 0.9008 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.004542/0.2653, allocations: 3.833 MB / 0.9046 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.169/0.4343, allocations: 136.8 MB / 1.038 GB, free: 2.832 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00101/0.4354, allocations: 15.94 kB / 1.038 GB, free: 2.816 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006249/0.436, allocations: 154.8 kB / 1.038 GB, free: 2.664 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.001653/0.4377, allocations: 416 kB / 1.039 GB, free: 2.258 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001991/0.4397, allocations: 0.597 MB / 1.039 GB, free: 1.668 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001474/0.4412, allocations: 1.047 MB / 1.04 GB, free: 0.6133 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000802/0.442, allocations: 475.4 kB / 1.041 GB, free: 140 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005845/0.4426, allocations: 310.6 kB / 1.041 GB, free: 15.83 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004414/0.443, allocations: 326.2 kB / 1.041 GB, free: 15.51 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 8.187e-05/0.4431, allocations: 24 kB / 1.041 GB, free: 15.48 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00083/0.4439, allocations: 287.7 kB / 1.042 GB, free: 15.2 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001898/0.4441, allocations: 167.2 kB / 1.042 GB, free: 15.04 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000191/0.4443, allocations: 189.1 kB / 1.042 GB, free: 14.85 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001151/0.4455, allocations: 1.075 MB / 1.043 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.053e-05/0.4455, allocations: 4 kB / 1.043 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.935e-06/0.4455, allocations: 0 / 1.043 GB, free: 13.77 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.434e-05/0.4456, allocations: 0 / 1.043 GB, free: 13.77 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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.002203/0.4478, allocations: 1.162 MB / 1.044 GB, free: 12.55 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.4478, allocations: 8.031 kB / 1.044 GB, free: 12.55 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008948/0.4487, allocations: 198.4 kB / 1.044 GB, free: 12.35 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/0.4499, allocations: 0.7116 MB / 1.045 GB, free: 11.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.935e-05/0.4499, allocations: 62 kB / 1.045 GB, free: 11.54 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.211e-05/0.45, allocations: 72 kB / 1.045 GB, free: 11.46 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001551/0.4516, allocations: 0.8638 MB / 1.046 GB, free: 10.56 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.189e-05/0.4516, allocations: 4 kB / 1.046 GB, free: 10.56 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.244e-05/0.4517, allocations: 32 kB / 1.046 GB, free: 10.53 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.085e-05/0.4517, allocations: 19.95 kB / 1.046 GB, free: 10.51 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001707/0.4534, allocations: 1.089 MB / 1.047 GB, free: 9.414 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004021/0.4575, allocations: 2.455 MB / 1.05 GB, free: 6.895 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001391/0.4589, allocations: 0.7453 MB / 1.05 GB, free: 6.141 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000525/0.4594, allocations: 290.7 kB / 1.051 GB, free: 5.852 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002166/0.4597, allocations: 117.7 kB / 1.051 GB, free: 5.719 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008629/0.4605, allocations: 452.4 kB / 1.051 GB, free: 5.262 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 2.635e-06/0.4606, allocations: 0 / 1.051 GB, free: 5.262 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.003271/0.4638, allocations: 1.127 MB / 1.052 GB, free: 4.105 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001273/0.464, allocations: 192.6 kB / 1.052 GB, free: 3.875 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009502/0.4649, allocations: 0.6176 MB / 1.053 GB, free: 3.25 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.839e-05/0.465, allocations: 41.7 kB / 1.053 GB, free: 3.203 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003684/0.4654, allocations: 396.2 kB / 1.053 GB, free: 2.809 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002366/0.4657, allocations: 240.5 kB / 1.054 GB, free: 2.57 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.763e-05/0.4657, allocations: 12 kB / 1.054 GB, free: 2.559 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002539/0.466, allocations: 390.8 kB / 1.054 GB, free: 2.168 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005301/0.4665, allocations: 249.9 kB / 1.054 GB, free: 1.926 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006076/0.4671, allocations: 343.1 kB / 1.055 GB, free: 1.57 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005879/0.4677, allocations: 294.9 kB / 1.055 GB, free: 1.285 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.4677, allocations: 0 / 1.055 GB, free: 1.285 MB / 0.698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001927/0.4697, allocations: 0.8175 MB / 1.056 GB, free: 472 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/0.4697, allocations: 8 kB / 1.056 GB, free: 464 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.4697, allocations: 0 / 1.056 GB, free: 464 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006181/0.4703, allocations: 84.86 kB / 1.056 GB, free: 376 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006234/0.471, allocations: 151.8 kB / 1.056 GB, free: 224 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5446/1.016, allocations: 1.531 MB / 1.057 GB, free: 153.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/1.017, allocations: 89.19 kB / 1.058 GB, free: 153.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002138/1.017, allocations: 36.62 kB / 1.058 GB, free: 153.5 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.000711/1.018, allocations: 261.1 kB / 1.058 GB, free: 153.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002489/1.018, allocations: 78.38 kB / 1.058 GB, free: 153.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00258/1.02, allocations: 1.028 MB / 1.059 GB, free: 153.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/1.02, allocations: 8.781 kB / 1.059 GB, free: 153.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/1.021, allocations: 0 / 1.059 GB, free: 153.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/1.021, allocations: 9 kB / 1.059 GB, free: 153.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/1.022, allocations: 0.8632 MB / 1.06 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.325e-06/1.022, allocations: 0 / 1.06 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005874/1.022, allocations: 143.7 kB / 1.06 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005162/1.023, allocations: 85.95 kB / 1.06 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-05/1.023, allocations: 25.61 kB / 1.06 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001605/1.025, allocations: 1.559 MB / 1.062 GB, free: 151.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-06/1.025, allocations: 0 / 1.062 GB, free: 151.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001962/1.026, allocations: 0.8795 MB / 1.062 GB, free: 151.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004752/1.027, allocations: 279.4 kB / 1.063 GB, free: 151.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001524/1.027, allocations: 14.72 kB / 1.063 GB, free: 151.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005943/1.028, allocations: 72.97 kB / 1.063 GB, free: 151.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001535/1.028, allocations: 58.39 kB / 1.063 GB, free: 151.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-05/1.028, allocations: 29.91 kB / 1.063 GB, free: 151.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000683/1.029, allocations: 450.2 kB / 1.063 GB, free: 151.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.91e-07/1.029, allocations: 0 / 1.063 GB, free: 151.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009114/1.03, allocations: 276.7 kB / 1.064 GB, free: 151.3 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 (84): * Single equations (assignments): 81 * 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.001291/1.031, allocations: 0.5627 MB / 1.064 GB, free: 151.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001709/1.033, allocations: 0.7874 MB / 1.065 GB, free: 151 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/1.033, allocations: 2.844 kB / 1.065 GB, free: 151 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009043/1.034, allocations: 0.4942 MB / 1.065 GB, free: 150.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001254/1.035, allocations: 265.2 kB / 1.066 GB, free: 150.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004833/1.04, allocations: 2.199 MB / 1.068 GB, free: 149.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008822/1.041, allocations: 1.017 MB / 1.069 GB, free: 149.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004278/1.041, allocations: 105.2 kB / 1.069 GB, free: 149.2 MB / 0.698 GB Notification: Performance of SimCode: time 9.32e-07/1.041, allocations: 4.969 kB / 1.069 GB, free: 149.2 MB / 0.698 GB Notification: Performance of Templates: time 0.04003/1.081, allocations: 17.49 MB / 1.086 GB, free: 142.2 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.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.Fluid.SolarCollectors.Controls.Examples.SolarPumpControllerCalcHelperMain.o OMCppBuildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpControllerCalcHelperMain.cpp In file included from OMCppBuildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpControllerCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpControllerFunctions.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.Fluid.SolarCollectors.Controls.Examples.SolarPumpControllerCalcHelperMain.o] Error 1