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.467/1.467, 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.000969/0.0009689, allocations: 171.8 kB / 327.6 MB, free: 2.113 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.809/1.809, allocations: 205.4 MB / 0.5786 GB, free: 20.46 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.0008603/0.0008602, allocations: 90.77 kB / 0.6832 GB, free: 13.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003417/0.0003417, allocations: 9.25 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.2068, allocations: 106.3 MB / 0.9014 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.004176/0.211, allocations: 4.041 MB / 0.9054 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1511/0.3622, allocations: 146.7 MB / 1.049 GB, free: 8.504 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000826/0.363, allocations: 11.94 kB / 1.049 GB, free: 8.492 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006807/0.3637, allocations: 166.8 kB / 1.049 GB, free: 8.328 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.001517/0.3653, allocations: 422.7 kB / 1.049 GB, free: 7.918 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001835/0.3671, allocations: 0.6807 MB / 1.05 GB, free: 7.242 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001326/0.3684, allocations: 1.129 MB / 1.051 GB, free: 6.105 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008934/0.3694, allocations: 0.6021 MB / 1.052 GB, free: 5.48 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005368/0.3699, allocations: 310.3 kB / 1.052 GB, free: 5.176 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004441/0.3704, allocations: 346 kB / 1.052 GB, free: 4.836 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 8.85e-05/0.3705, allocations: 20 kB / 1.052 GB, free: 4.816 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008176/0.3713, allocations: 311.7 kB / 1.053 GB, free: 4.512 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002175/0.3715, allocations: 171.2 kB / 1.053 GB, free: 4.344 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003995/0.3719, allocations: 442.8 kB / 1.053 GB, free: 3.902 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001133/0.3731, allocations: 1.075 MB / 1.054 GB, free: 2.824 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3731, allocations: 0 / 1.054 GB, free: 2.824 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3731, allocations: 4 kB / 1.054 GB, free: 2.82 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.181e-05/0.3731, allocations: 0 / 1.054 GB, free: 2.82 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.002064/0.3752, allocations: 1.161 MB / 1.055 GB, free: 1.613 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.3752, allocations: 8.031 kB / 1.055 GB, free: 1.605 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009058/0.3761, allocations: 199.4 kB / 1.056 GB, free: 1.41 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/0.3772, allocations: 0.739 MB / 1.056 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.621e-05/0.3773, allocations: 54 kB / 1.056 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.601e-05/0.3774, allocations: 76 kB / 1.056 GB, free: 0.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4218/0.7991, allocations: 0.8647 MB / 1.057 GB, free: 156 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.856e-05/0.7992, allocations: 1.281 kB / 1.057 GB, free: 156 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.82e-05/0.7993, allocations: 36.97 kB / 1.057 GB, free: 156 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.533e-05/0.7994, allocations: 20.67 kB / 1.057 GB, free: 156 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001725/0.8011, allocations: 1.087 MB / 1.058 GB, free: 156 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003766/0.8049, allocations: 2.447 MB / 1.061 GB, free: 155.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001274/0.8062, allocations: 0.7524 MB / 1.061 GB, free: 155.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000505/0.8067, allocations: 299.2 kB / 1.062 GB, free: 155.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001826/0.8069, allocations: 116 kB / 1.062 GB, free: 155.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008267/0.8077, allocations: 443.7 kB / 1.062 GB, free: 155.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 2.454e-06/0.8077, allocations: 2.125 kB / 1.062 GB, free: 155.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.00298/0.8107, allocations: 1.145 MB / 1.063 GB, free: 154.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/0.8109, allocations: 191.2 kB / 1.064 GB, free: 154.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/0.8119, allocations: 0.624 MB / 1.064 GB, free: 154.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.127e-05/0.812, allocations: 38.67 kB / 1.064 GB, free: 154.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003567/0.8124, allocations: 400 kB / 1.065 GB, free: 154.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001989/0.8126, allocations: 239.5 kB / 1.065 GB, free: 154.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.808e-05/0.8126, allocations: 11.44 kB / 1.065 GB, free: 154.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001766/0.8128, allocations: 388.6 kB / 1.065 GB, free: 153.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005514/0.8134, allocations: 257.4 kB / 1.065 GB, free: 153.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006241/0.814, allocations: 344.2 kB / 1.066 GB, free: 153.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001131/0.8151, allocations: 0.588 MB / 1.066 GB, free: 153.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.8151, allocations: 7.25 kB / 1.066 GB, free: 153.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002276/0.8174, allocations: 0.8204 MB / 1.067 GB, free: 153.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.888e-05/0.8175, allocations: 5.484 kB / 1.067 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.8175, allocations: 1.469 kB / 1.067 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006365/0.8181, allocations: 83.72 kB / 1.067 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000691/0.8188, allocations: 150 kB / 1.067 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001916/0.8208, allocations: 1.549 MB / 1.069 GB, free: 152.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007022/0.8215, allocations: 92.64 kB / 1.069 GB, free: 152.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.278e-05/0.8216, allocations: 34.77 kB / 1.069 GB, free: 152.3 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 (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.0004844/0.8221, allocations: 260.4 kB / 1.069 GB, free: 152.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/0.8222, allocations: 79.16 kB / 1.069 GB, free: 152.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002588/0.8248, allocations: 1.025 MB / 1.07 GB, free: 152 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.44e-05/0.8248, allocations: 8.219 kB / 1.07 GB, free: 152 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.8248, allocations: 0.6562 kB / 1.07 GB, free: 152 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.37e-05/0.8249, allocations: 5.516 kB / 1.07 GB, free: 152 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001371/0.8262, allocations: 0.8653 MB / 1.071 GB, free: 151.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.8263, allocations: 0.875 kB / 1.071 GB, free: 151.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006472/0.8269, allocations: 145.8 kB / 1.071 GB, free: 151.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000546/0.8275, allocations: 87.73 kB / 1.071 GB, free: 151.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.805e-05/0.8275, allocations: 26.8 kB / 1.071 GB, free: 151.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001681/0.8292, allocations: 1.563 MB / 1.073 GB, free: 150.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.8292, allocations: 1.266 kB / 1.073 GB, free: 150.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002172/0.8314, allocations: 0.8851 MB / 1.074 GB, free: 150.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004398/0.8319, allocations: 276 kB / 1.074 GB, free: 150.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.832, allocations: 17.69 kB / 1.074 GB, free: 150.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005893/0.8326, allocations: 71.95 kB / 1.074 GB, free: 150.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001822/0.8328, allocations: 60.3 kB / 1.074 GB, free: 150.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.021e-05/0.8329, allocations: 30.72 kB / 1.074 GB, free: 150.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008164/0.8337, allocations: 455.1 kB / 1.075 GB, free: 150 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8337, allocations: 0.8438 kB / 1.075 GB, free: 150 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001083/0.8348, allocations: 277.7 kB / 1.075 GB, free: 150 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 (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.001355/0.8361, allocations: 0.5598 MB / 1.076 GB, free: 149.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001855/0.838, allocations: 0.7989 MB / 1.076 GB, free: 149.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.838, allocations: 1.375 kB / 1.076 GB, free: 149.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009379/0.839, allocations: 0.4887 MB / 1.077 GB, free: 149.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001291/0.8403, allocations: 275.6 kB / 1.077 GB, free: 149.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004396/0.8447, allocations: 2.276 MB / 1.079 GB, free: 148.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006082/0.8453, allocations: 1.01 MB / 1.08 GB, free: 147.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003701/0.8457, allocations: 108 kB / 1.08 GB, free: 147.6 MB / 0.698 GB Notification: Performance of SimCode: time 1.352e-06/0.8457, allocations: 0 / 1.08 GB, free: 147.6 MB / 0.698 GB Notification: Performance of Templates: time 0.02423/0.8699, allocations: 17.46 MB / 1.097 GB, free: 134.9 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++ -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.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