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.535/1.535, 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.001358/0.001358, allocations: 170.3 kB / 327.6 MB, free: 2.098 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.64/1.64, allocations: 205.4 MB / 0.5786 GB, free: 20.16 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.0008825/0.0008824, allocations: 91.98 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003218/0.0003219, allocations: 12.5 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1712, allocations: 106.3 MB / 0.9014 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.PVSimple): time 0.006323/0.1775, allocations: 7.063 MB / 0.9083 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1409/0.3185, allocations: 147.9 MB / 1.053 GB, free: 3.961 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001127/0.3197, allocations: 27.88 kB / 1.053 GB, free: 3.934 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0008664/0.3205, allocations: 206.4 kB / 1.053 GB, free: 3.73 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.002268/0.3228, allocations: 0.6053 MB / 1.054 GB, free: 3.125 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002428/0.3253, allocations: 0.9674 MB / 1.055 GB, free: 2.164 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00246/0.3277, allocations: 2.105 MB / 1.057 GB, free: 48 kB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3949/0.7227, allocations: 1.563 MB / 1.058 GB, free: 2.566 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009963/0.7237, allocations: 0.5665 MB / 1.059 GB, free: 2.562 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009506/0.7247, allocations: 0.6913 MB / 1.059 GB, free: 2.562 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001611/0.7248, allocations: 48.88 kB / 1.059 GB, free: 2.562 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001144/0.726, allocations: 0.5231 MB / 1.06 GB, free: 2.562 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002846/0.7263, allocations: 334.7 kB / 1.06 GB, free: 2.562 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006641/0.727, allocations: 0.7259 MB / 1.061 GB, free: 2.531 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002397/0.7294, allocations: 1.915 MB / 1.063 GB, free: 2.441 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.7294, allocations: 4 kB / 1.063 GB, free: 2.438 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7294, allocations: 0 / 1.063 GB, free: 2.438 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.327e-05/0.7295, allocations: 0 / 1.063 GB, free: 2.438 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.003646/0.7331, allocations: 1.701 MB / 1.064 GB, free: 17.5 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.7332, allocations: 14.78 kB / 1.064 GB, free: 17.5 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006167/0.7393, allocations: 0.942 MB / 1.065 GB, free: 17.38 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001912/0.7413, allocations: 1.02 MB / 1.066 GB, free: 17 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.018e-05/0.7414, allocations: 115.6 kB / 1.067 GB, free: 17 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002232/0.7416, allocations: 153.6 kB / 1.067 GB, free: 17 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005048/0.7467, allocations: 2.063 MB / 1.069 GB, free: 16.76 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.252e-05/0.7467, allocations: 0.8438 kB / 1.069 GB, free: 16.76 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001782/0.7469, allocations: 69.55 kB / 1.069 GB, free: 16.76 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001093/0.747, allocations: 74.66 kB / 1.069 GB, free: 16.75 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006493/0.7535, allocations: 2.418 MB / 1.071 GB, free: 16.72 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01139/0.765, allocations: 6.395 MB / 1.077 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004146/0.7691, allocations: 1.59 MB / 1.079 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001881/0.7711, allocations: 0.7384 MB / 1.08 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007167/0.7718, allocations: 487.6 kB / 1.08 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002098/0.7739, allocations: 0.9158 MB / 1.081 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=128): time 3.827e-06/0.7739, allocations: 1.062 kB / 1.081 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of matching and sorting (n=128): time 0.006008/0.7799, allocations: 2.181 MB / 1.083 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001653/0.7801, allocations: 307.9 kB / 1.083 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001153/0.7813, allocations: 0.8449 MB / 1.084 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001384/0.7815, allocations: 49.7 kB / 1.084 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004945/0.782, allocations: 0.6329 MB / 1.085 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003403/0.7823, allocations: 420.2 kB / 1.085 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.656e-05/0.7824, allocations: 22.62 kB / 1.085 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.7825, allocations: 353.5 kB / 1.086 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001623/0.7842, allocations: 0.6088 MB / 1.086 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001764/0.7859, allocations: 0.7885 MB / 1.087 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003291/0.7893, allocations: 1.382 MB / 1.088 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.7893, allocations: 2.688 kB / 1.088 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.004178/0.7935, allocations: 1.663 MB / 1.09 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001572/0.7937, allocations: 185.7 kB / 1.09 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/0.7937, allocations: 4 kB / 1.09 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002152/0.7939, allocations: 38.48 kB / 1.09 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001811/0.7957, allocations: 339.7 kB / 1.091 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001133/0.7969, allocations: 1.291 MB / 1.092 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001848/0.7987, allocations: 198.5 kB / 1.092 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000196/0.799, allocations: 61.23 kB / 1.092 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.566e-06/0.799, allocations: 3.312 kB / 1.092 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003816/0.8028, allocations: 1.524 MB / 1.094 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.8028, allocations: 0 / 1.094 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.8029, allocations: 16.53 kB / 1.094 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001725/0.8046, allocations: 347.4 kB / 1.094 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.419e-05/0.8046, allocations: 8.969 kB / 1.094 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001516/0.8061, allocations: 177 kB / 1.094 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/0.8063, allocations: 64.42 kB / 1.094 GB, free: 10.09 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 ($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.0008964/0.8072, allocations: 450.7 kB / 1.095 GB, free: 9.891 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002727/0.8075, allocations: 131 kB / 1.095 GB, free: 9.824 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004634/0.8121, allocations: 1.875 MB / 1.097 GB, free: 9.652 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.441e-05/0.8121, allocations: 16 kB / 1.097 GB, free: 9.652 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.8122, allocations: 0 / 1.097 GB, free: 9.652 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.547e-05/0.8122, allocations: 6.375 kB / 1.097 GB, free: 9.652 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006312/0.8185, allocations: 3.652 MB / 1.1 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.8185, allocations: 4.125 kB / 1.1 GB, free: 8.973 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001542/0.8201, allocations: 310.2 kB / 1.1 GB, free: 8.969 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001219/0.8202, allocations: 33.09 kB / 1.101 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001087/0.8203, allocations: 43.12 kB / 1.101 GB, free: 8.953 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008813/0.8212, allocations: 1.274 MB / 1.102 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.8212, allocations: 7.969 kB / 1.102 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003958/0.8252, allocations: 1.711 MB / 1.103 GB, free: 7.395 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007534/0.826, allocations: 404.2 kB / 1.104 GB, free: 7.215 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00019/0.8262, allocations: 32.88 kB / 1.104 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001318/0.8275, allocations: 130.3 kB / 1.104 GB, free: 7.207 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001855/0.8277, allocations: 96.95 kB / 1.104 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000111/0.8278, allocations: 52.34 kB / 1.104 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0008683/0.8287, allocations: 0.6024 MB / 1.105 GB, free: 7.086 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8287, allocations: 0 / 1.105 GB, free: 7.086 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001915/0.8306, allocations: 0.735 MB / 1.105 GB, free: 6.934 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.001386/0.832, allocations: 0.5984 MB / 1.106 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.007108/0.8392, allocations: 2.457 MB / 1.108 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.278e-05/0.8392, allocations: 1.031 kB / 1.108 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002538/0.8418, allocations: 0.9148 MB / 1.109 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001961/0.8437, allocations: 322.9 kB / 1.11 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005646/0.8494, allocations: 3.632 MB / 1.113 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007948/0.8502, allocations: 1.259 MB / 1.114 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008996/0.8511, allocations: 180.1 kB / 1.115 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of SimCode: time 7.31e-07/0.8512, allocations: 0 / 1.115 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of Templates: time 0.03846/0.8896, allocations: 28.41 MB / 1.142 GB, free: 3.547 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