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.423/1.423, allocations: 251.5 MB / 267.4 MB, free: 11.03 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.001007/0.001007, allocations: 179.8 kB / 326.5 MB, free: 2.672 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.734/1.734, allocations: 205 MB / 0.5766 GB, free: 21.02 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.0007471/0.0007471, allocations: 91.48 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003201/0.0003198, allocations: 10.77 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2065, allocations: 105.4 MB / 0.8967 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.004213/0.2107, allocations: 4.128 MB / 0.9008 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1545/0.3653, allocations: 148.3 MB / 1.046 GB, free: 11.13 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006015/0.366, allocations: 15.94 kB / 1.046 GB, free: 11.12 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006007/0.3666, allocations: 170.7 kB / 1.046 GB, free: 10.95 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.001287/0.3679, allocations: 435.6 kB / 1.046 GB, free: 10.53 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00172/0.3696, allocations: 0.6759 MB / 1.047 GB, free: 9.855 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001096/0.3707, allocations: 1.133 MB / 1.048 GB, free: 8.715 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007665/0.3715, allocations: 0.5827 MB / 1.049 GB, free: 8.109 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004299/0.3719, allocations: 314.3 kB / 1.049 GB, free: 7.801 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000391/0.3723, allocations: 338 kB / 1.049 GB, free: 7.469 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.486e-05/0.3724, allocations: 24 kB / 1.049 GB, free: 7.445 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006401/0.3731, allocations: 311.7 kB / 1.049 GB, free: 7.141 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001841/0.3733, allocations: 171.1 kB / 1.05 GB, free: 6.973 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003365/0.3736, allocations: 405.2 kB / 1.05 GB, free: 6.574 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001001/0.3746, allocations: 1.087 MB / 1.051 GB, free: 5.484 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3746, allocations: 4 kB / 1.051 GB, free: 5.48 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3746, allocations: 0 / 1.051 GB, free: 5.48 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.105e-05/0.3747, allocations: 0 / 1.051 GB, free: 5.48 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.001965/0.3766, allocations: 1.162 MB / 1.052 GB, free: 4.27 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.3767, allocations: 12.03 kB / 1.052 GB, free: 4.258 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008635/0.3775, allocations: 195.4 kB / 1.052 GB, free: 4.066 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009852/0.3785, allocations: 0.7351 MB / 1.053 GB, free: 3.289 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.255e-05/0.3786, allocations: 62 kB / 1.053 GB, free: 3.227 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.3787, allocations: 76 kB / 1.053 GB, free: 3.152 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00141/0.3801, allocations: 0.8755 MB / 1.054 GB, free: 2.238 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.3802, allocations: 4 kB / 1.054 GB, free: 2.234 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.937e-05/0.3802, allocations: 32 kB / 1.054 GB, free: 2.203 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.859e-05/0.3803, allocations: 23.94 kB / 1.054 GB, free: 2.18 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001709/0.382, allocations: 1.089 MB / 1.055 GB, free: 1.086 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4719/0.8538, allocations: 2.444 MB / 1.058 GB, free: 159.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001165/0.8551, allocations: 0.7533 MB / 1.058 GB, free: 159.1 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004429/0.8555, allocations: 297.5 kB / 1.059 GB, free: 159.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001564/0.8557, allocations: 113.1 kB / 1.059 GB, free: 159 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007557/0.8564, allocations: 444.1 kB / 1.059 GB, free: 158.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 4.308e-06/0.8565, allocations: 0 / 1.059 GB, free: 158.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.003447/0.8599, allocations: 1.147 MB / 1.06 GB, free: 158.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.707e-05/0.86, allocations: 186.8 kB / 1.06 GB, free: 158.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008464/0.8609, allocations: 0.625 MB / 1.061 GB, free: 158.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.481e-05/0.8609, allocations: 40.98 kB / 1.061 GB, free: 158.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003127/0.8613, allocations: 397.5 kB / 1.062 GB, free: 158.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001818/0.8615, allocations: 244.6 kB / 1.062 GB, free: 158.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.969e-05/0.8616, allocations: 60.73 kB / 1.062 GB, free: 158.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.8617, allocations: 389 kB / 1.062 GB, free: 157.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005948/0.8623, allocations: 257 kB / 1.062 GB, free: 157.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006855/0.863, allocations: 344.2 kB / 1.063 GB, free: 157.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001206/0.8642, allocations: 0.5942 MB / 1.063 GB, free: 157.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.8642, allocations: 0 / 1.063 GB, free: 157.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002148/0.8664, allocations: 0.8151 MB / 1.064 GB, free: 157.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.8664, allocations: 5.5 kB / 1.064 GB, free: 157.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.8664, allocations: 4.031 kB / 1.064 GB, free: 157.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000637/0.8671, allocations: 85.78 kB / 1.064 GB, free: 157.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000655/0.8678, allocations: 153.9 kB / 1.064 GB, free: 157.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001839/0.8696, allocations: 1.533 MB / 1.066 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006433/0.8703, allocations: 89.19 kB / 1.066 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-05/0.8704, allocations: 35.62 kB / 1.066 GB, free: 156.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 (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 (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.0004285/0.8708, allocations: 256 kB / 1.066 GB, free: 156.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001528/0.8709, allocations: 85.41 kB / 1.066 GB, free: 156.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002521/0.8735, allocations: 1.016 MB / 1.067 GB, free: 155.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.8735, allocations: 12.38 kB / 1.067 GB, free: 155.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.8735, allocations: 1.406 kB / 1.067 GB, free: 155.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.326e-05/0.8735, allocations: 5.266 kB / 1.067 GB, free: 155.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001181/0.8747, allocations: 0.8755 MB / 1.068 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.8747, allocations: 0.875 kB / 1.068 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006003/0.8753, allocations: 149 kB / 1.068 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005403/0.8759, allocations: 84.39 kB / 1.068 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.286e-05/0.876, allocations: 26.78 kB / 1.068 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001686/0.8777, allocations: 1.558 MB / 1.07 GB, free: 154.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.8777, allocations: 10.31 kB / 1.07 GB, free: 154.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002167/0.8798, allocations: 0.8794 MB / 1.071 GB, free: 154.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003581/0.8802, allocations: 266.7 kB / 1.071 GB, free: 154.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/0.8803, allocations: 15.92 kB / 1.071 GB, free: 154.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000562/0.8809, allocations: 70.39 kB / 1.071 GB, free: 154.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001915/0.8811, allocations: 60.89 kB / 1.071 GB, free: 154.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.495e-05/0.8812, allocations: 33.53 kB / 1.071 GB, free: 154.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006603/0.8819, allocations: 450.8 kB / 1.072 GB, free: 154 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8819, allocations: 0 / 1.072 GB, free: 154 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009123/0.8828, allocations: 280.2 kB / 1.072 GB, free: 153.9 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.001215/0.884, allocations: 0.5659 MB / 1.072 GB, free: 153.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001779/0.8858, allocations: 0.7908 MB / 1.073 GB, free: 153.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.8858, allocations: 1.344 kB / 1.073 GB, free: 153.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008821/0.8867, allocations: 0.4971 MB / 1.074 GB, free: 153.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/0.8879, allocations: 278.6 kB / 1.074 GB, free: 153.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004112/0.892, allocations: 2.232 MB / 1.076 GB, free: 151.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005314/0.8926, allocations: 1.018 MB / 1.077 GB, free: 151.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003791/0.893, allocations: 106 kB / 1.077 GB, free: 151 MB / 0.698 GB Notification: Performance of SimCode: time 8.82e-07/0.893, allocations: 0 / 1.077 GB, free: 151 MB / 0.698 GB Notification: Performance of Templates: time 0.02341/0.9164, allocations: 17.47 MB / 1.094 GB, free: 139.1 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