Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.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.Electrical.DC.Sources.Examples.PVSimpleOriented,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented") translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.435/1.435, allocations: 252 MB / 268 MB, free: 10.87 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.001397/0.001396, allocations: 176.4 kB / 327.6 MB, free: 2.094 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.569/1.569, allocations: 205.4 MB / 0.5786 GB, free: 20.17 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.000912/0.0009119, allocations: 95.86 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002938/0.0002938, allocations: 10.62 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1711/0.1714, allocations: 106.3 MB / 0.9014 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented): time 0.007043/0.1785, allocations: 7.569 MB / 0.9088 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.15/0.3285, allocations: 148 MB / 1.053 GB, free: 3.328 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001412/0.33, allocations: 23.88 kB / 1.053 GB, free: 3.305 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.000947/0.331, allocations: 222.3 kB / 1.054 GB, free: 3.086 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.002416/0.3334, allocations: 0.6286 MB / 1.054 GB, free: 2.457 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002602/0.336, allocations: 1.018 MB / 1.055 GB, free: 1.445 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.3906/0.7267, allocations: 2.234 MB / 1.057 GB, free: 3.18 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002218/0.7289, allocations: 1.709 MB / 1.059 GB, free: 2.828 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000961/0.7299, allocations: 0.5988 MB / 1.06 GB, free: 2.824 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008709/0.7308, allocations: 0.7028 MB / 1.06 GB, free: 2.824 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001438/0.7309, allocations: 48.67 kB / 1.06 GB, free: 2.824 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001017/0.7319, allocations: 0.5259 MB / 1.061 GB, free: 2.824 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002989/0.7323, allocations: 347.8 kB / 1.061 GB, free: 2.824 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006827/0.733, allocations: 0.7638 MB / 1.062 GB, free: 2.789 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002698/0.7357, allocations: 2.218 MB / 1.064 GB, free: 2.691 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.7357, allocations: 0 / 1.064 GB, free: 2.691 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.734e-06/0.7357, allocations: 0 / 1.064 GB, free: 2.691 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.992e-05/0.7358, allocations: 0 / 1.064 GB, free: 2.691 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: 435 * Number of variables: 435 Notification: Performance of Generate backend data structure: time 0.00355/0.7393, allocations: 1.769 MB / 1.066 GB, free: 1.723 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.7394, allocations: 9.094 kB / 1.066 GB, free: 1.723 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006337/0.7457, allocations: 0.948 MB / 1.067 GB, free: 1.59 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002281/0.748, allocations: 1.131 MB / 1.068 GB, free: 17.21 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001177/0.7482, allocations: 124.3 kB / 1.068 GB, free: 17.21 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002852/0.7485, allocations: 163.3 kB / 1.068 GB, free: 17.21 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005598/0.7541, allocations: 2.188 MB / 1.07 GB, free: 16.97 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.48e-05/0.7541, allocations: 4.531 kB / 1.07 GB, free: 16.97 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001863/0.7543, allocations: 72.47 kB / 1.07 GB, free: 16.97 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001002/0.7544, allocations: 80.78 kB / 1.07 GB, free: 16.96 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006327/0.7608, allocations: 2.527 MB / 1.073 GB, free: 16.93 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01145/0.7722, allocations: 6.993 MB / 1.08 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004168/0.7764, allocations: 1.611 MB / 1.081 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001875/0.7784, allocations: 0.7526 MB / 1.082 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006851/0.7791, allocations: 492.3 kB / 1.083 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00214/0.7812, allocations: 0.9245 MB / 1.083 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=128): time 3.266e-06/0.7812, allocations: 0 / 1.083 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of matching and sorting (n=128): time 0.005788/0.787, allocations: 2.211 MB / 1.086 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001698/0.7872, allocations: 307.2 kB / 1.086 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/0.7884, allocations: 0.8531 MB / 1.087 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001464/0.7885, allocations: 52.23 kB / 1.087 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004986/0.7891, allocations: 0.6681 MB / 1.087 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003444/0.7894, allocations: 433.5 kB / 1.088 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.572e-05/0.7895, allocations: 22.91 kB / 1.088 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.7896, allocations: 360.2 kB / 1.088 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001592/0.7912, allocations: 0.6123 MB / 1.089 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001769/0.793, allocations: 0.8183 MB / 1.09 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003279/0.7963, allocations: 1.419 MB / 1.091 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.346e-06/0.7963, allocations: 9.797 kB / 1.091 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.004077/0.8004, allocations: 1.678 MB / 1.093 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001346/0.8006, allocations: 202.4 kB / 1.093 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.8006, allocations: 7.172 kB / 1.093 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002037/0.8008, allocations: 37.89 kB / 1.093 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001661/0.8025, allocations: 335.4 kB / 1.093 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001149/0.8036, allocations: 1.294 MB / 1.094 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001628/0.8053, allocations: 191.4 kB / 1.095 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001361/0.8054, allocations: 61.38 kB / 1.095 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.504e-06/0.8054, allocations: 9.438 kB / 1.095 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003615/0.8091, allocations: 1.541 MB / 1.096 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.8091, allocations: 4.797 kB / 1.096 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.8091, allocations: 12.72 kB / 1.096 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001643/0.8108, allocations: 334.8 kB / 1.097 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/0.8108, allocations: 18.17 kB / 1.097 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/0.8123, allocations: 190.4 kB / 1.097 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001247/0.8124, allocations: 60.78 kB / 1.097 GB, free: 10.08 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (156): * Single equations (assignments): 155 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0009267/0.8133, allocations: 484.8 kB / 1.097 GB, free: 9.879 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002322/0.8136, allocations: 123.1 kB / 1.097 GB, free: 9.816 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004521/0.8181, allocations: 1.881 MB / 1.099 GB, free: 9.645 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.8181, allocations: 14.06 kB / 1.099 GB, free: 9.645 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.8181, allocations: 0 / 1.099 GB, free: 9.645 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.546e-05/0.8182, allocations: 9.688 kB / 1.099 GB, free: 9.645 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006516/0.8247, allocations: 3.819 MB / 1.103 GB, free: 8.961 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.8247, allocations: 5.094 kB / 1.103 GB, free: 8.961 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001572/0.8263, allocations: 306.8 kB / 1.103 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001235/0.8264, allocations: 32.23 kB / 1.103 GB, free: 8.945 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001071/0.8265, allocations: 39.09 kB / 1.103 GB, free: 8.945 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008889/0.8274, allocations: 1.278 MB / 1.105 GB, free: 7.684 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.8274, allocations: 0 / 1.105 GB, free: 7.684 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004074/0.8315, allocations: 1.759 MB / 1.106 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006523/0.8322, allocations: 419.7 kB / 1.107 GB, free: 7.203 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001803/0.8324, allocations: 24.47 kB / 1.107 GB, free: 7.203 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001312/0.8337, allocations: 133.3 kB / 1.107 GB, free: 7.195 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002068/0.8339, allocations: 93.84 kB / 1.107 GB, free: 7.191 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001142/0.8341, allocations: 53.55 kB / 1.107 GB, free: 7.191 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000765/0.8348, allocations: 0.5922 MB / 1.108 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8348, allocations: 0 / 1.108 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001913/0.8368, allocations: 0.7616 MB / 1.108 GB, free: 6.91 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (142): * Single equations (assignments): 139 * 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001345/0.8381, allocations: 0.5899 MB / 1.109 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.006568/0.8447, allocations: 2.489 MB / 1.111 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/0.8447, allocations: 2.625 kB / 1.111 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001938/0.8467, allocations: 0.9263 MB / 1.112 GB, free: 6.402 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001744/0.8484, allocations: 321.8 kB / 1.113 GB, free: 6.391 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005799/0.8543, allocations: 3.783 MB / 1.116 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008371/0.8551, allocations: 1.279 MB / 1.117 GB, free: 3.805 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007693/0.8559, allocations: 179.2 kB / 1.118 GB, free: 3.797 MB / 0.7136 GB Notification: Performance of SimCode: time 8.11e-07/0.8559, allocations: 2.781 kB / 1.118 GB, free: 3.797 MB / 0.7136 GB Notification: Performance of Templates: time 0.03853/0.8944, allocations: 30.02 MB / 1.147 GB, free: 328 kB / 0.7292 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.makefile make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.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.Electrical.DC.Sources.Examples.PVSimpleOrientedCalcHelperMain.o OMCppBuildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimpleOrientedCalcHelperMain.cpp In file included from OMCppBuildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimpleOrientedCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimpleOrientedFunctions.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.Electrical.DC.Sources.Examples.PVSimpleOrientedCalcHelperMain.o] Error 1