Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.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.PVSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple") translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.359/1.359, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.0009529/0.0009529, allocations: 179.8 kB / 326.5 MB, free: 2.68 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.674/1.674, allocations: 205 MB / 0.5766 GB, free: 21.01 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.0009883/0.0009884, allocations: 103.3 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004545/0.0004546, allocations: 10.97 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2306, allocations: 105.4 MB / 0.8967 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.PVSimple): time 0.007351/0.2381, allocations: 7.227 MB / 0.9038 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1655/0.4035, allocations: 149.5 MB / 1.05 GB, free: 6.844 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001207/0.4048, allocations: 23.88 kB / 1.05 GB, free: 6.82 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001582/0.4064, allocations: 0.5638 MB / 1.05 GB, free: 6.254 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.001789/0.4082, allocations: 0.5957 MB / 1.051 GB, free: 5.66 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00234/0.4105, allocations: 0.9709 MB / 1.052 GB, free: 4.695 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00218/0.4127, allocations: 2.112 MB / 1.054 GB, free: 2.57 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001919/0.4147, allocations: 1.452 MB / 1.055 GB, free: 1.082 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000692/0.4154, allocations: 0.5597 MB / 1.056 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.6008/1.016, allocations: 0.6867 MB / 1.057 GB, free: 4.094 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0007484/1.017, allocations: 44.59 kB / 1.057 GB, free: 4.094 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002238/1.019, allocations: 0.5251 MB / 1.057 GB, free: 4.094 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005612/1.02, allocations: 340.9 kB / 1.057 GB, free: 4.094 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.00125/1.021, allocations: 0.6964 MB / 1.058 GB, free: 4.094 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003575/1.025, allocations: 1.915 MB / 1.06 GB, free: 4.02 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/1.025, allocations: 0 / 1.06 GB, free: 4.02 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.254e-06/1.025, allocations: 0 / 1.06 GB, free: 4.02 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.404e-05/1.025, allocations: 0 / 1.06 GB, free: 4.02 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: 408 * Number of variables: 408 Notification: Performance of Generate backend data structure: time 0.004057/1.029, allocations: 1.707 MB / 1.062 GB, free: 3.102 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/1.029, allocations: 8.219 kB / 1.062 GB, free: 3.102 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005972/1.035, allocations: 0.9377 MB / 1.063 GB, free: 2.977 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002027/1.037, allocations: 1.017 MB / 1.064 GB, free: 2.613 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/1.037, allocations: 114.9 kB / 1.064 GB, free: 2.609 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002239/1.037, allocations: 152.1 kB / 1.064 GB, free: 2.609 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005288/1.043, allocations: 2.069 MB / 1.066 GB, free: 2.367 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.73e-05/1.043, allocations: 4.156 kB / 1.066 GB, free: 2.367 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001759/1.043, allocations: 66.97 kB / 1.066 GB, free: 2.367 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00012/1.043, allocations: 77.2 kB / 1.066 GB, free: 2.359 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006932/1.05, allocations: 2.417 MB / 1.068 GB, free: 2.324 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01271/1.063, allocations: 6.406 MB / 1.075 GB, free: 16.16 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004191/1.067, allocations: 1.577 MB / 1.076 GB, free: 16.09 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001873/1.069, allocations: 0.7389 MB / 1.077 GB, free: 16.07 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000712/1.07, allocations: 493.4 kB / 1.077 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002077/1.072, allocations: 0.916 MB / 1.078 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=128): time 3.857e-06/1.072, allocations: 5.75 kB / 1.078 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of matching and sorting (n=128): time 0.006072/1.078, allocations: 2.179 MB / 1.08 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002273/1.078, allocations: 304 kB / 1.081 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001821/1.08, allocations: 0.8498 MB / 1.082 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001598/1.08, allocations: 48.48 kB / 1.082 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000748/1.081, allocations: 0.6205 MB / 1.082 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004516/1.081, allocations: 430.3 kB / 1.083 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001996/1.081, allocations: 103.2 kB / 1.083 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001972/1.082, allocations: 355.5 kB / 1.083 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001706/1.083, allocations: 0.6068 MB / 1.084 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001813/1.085, allocations: 0.7981 MB / 1.084 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003358/1.089, allocations: 1.38 MB / 1.086 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/1.089, allocations: 0 / 1.086 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.004091/1.093, allocations: 1.657 MB / 1.087 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001287/1.093, allocations: 180.6 kB / 1.088 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/1.093, allocations: 3.406 kB / 1.088 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002267/1.093, allocations: 40.7 kB / 1.088 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001566/1.095, allocations: 337.5 kB / 1.088 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001147/1.096, allocations: 1.289 MB / 1.089 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001543/1.097, allocations: 202.1 kB / 1.089 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001212/1.097, allocations: 56.8 kB / 1.089 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/1.097, allocations: 6.5 kB / 1.089 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003585/1.101, allocations: 1.523 MB / 1.091 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/1.101, allocations: 2.969 kB / 1.091 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/1.101, allocations: 12.75 kB / 1.091 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001526/1.103, allocations: 340.7 kB / 1.091 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.382e-05/1.103, allocations: 14.39 kB / 1.091 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001496/1.104, allocations: 188.8 kB / 1.091 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/1.104, allocations: 66.33 kB / 1.091 GB, free: 11.68 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (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.0009925/1.105, allocations: 440.8 kB / 1.092 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003014/1.106, allocations: 123.6 kB / 1.092 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004674/1.11, allocations: 1.882 MB / 1.094 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-05/1.11, allocations: 17.98 kB / 1.094 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/1.11, allocations: 4.797 kB / 1.094 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.528e-05/1.11, allocations: 6.328 kB / 1.094 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00652/1.117, allocations: 3.643 MB / 1.097 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/1.117, allocations: 1.812 kB / 1.097 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001469/1.118, allocations: 299.7 kB / 1.098 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001498/1.119, allocations: 35.8 kB / 1.098 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001096/1.119, allocations: 43.62 kB / 1.098 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009461/1.12, allocations: 1.289 MB / 1.099 GB, free: 9.289 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/1.12, allocations: 3.984 kB / 1.099 GB, free: 9.285 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004051/1.124, allocations: 1.719 MB / 1.101 GB, free: 8.992 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006495/1.124, allocations: 378.5 kB / 1.101 GB, free: 8.816 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001958/1.125, allocations: 32.3 kB / 1.101 GB, free: 8.816 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001209/1.126, allocations: 137.1 kB / 1.101 GB, free: 8.809 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001765/1.126, allocations: 84.53 kB / 1.101 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/1.126, allocations: 56.48 kB / 1.101 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0008682/1.127, allocations: 0.6033 MB / 1.102 GB, free: 8.691 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/1.127, allocations: 0 / 1.102 GB, free: 8.691 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002085/1.129, allocations: 0.7407 MB / 1.103 GB, free: 8.531 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.001432/1.131, allocations: 0.5898 MB / 1.103 GB, free: 8.332 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00609/1.137, allocations: 2.458 MB / 1.106 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.777e-06/1.137, allocations: 4.375 kB / 1.106 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002401/1.139, allocations: 0.9037 MB / 1.107 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002006/1.141, allocations: 328.4 kB / 1.107 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00601/1.147, allocations: 3.603 MB / 1.11 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008692/1.148, allocations: 1.259 MB / 1.112 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007404/1.149, allocations: 177.1 kB / 1.112 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of SimCode: time 8.31e-07/1.149, allocations: 0 / 1.112 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of Templates: time 0.04478/1.194, allocations: 28.41 MB / 1.14 GB, free: 7.223 MB / 0.7292 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.makefile make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.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.PVSimpleCalcHelperMain.o OMCppBuildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimpleCalcHelperMain.cpp In file included from OMCppBuildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimpleCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimpleFunctions.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.PVSimpleCalcHelperMain.o] Error 1