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.446/1.446, 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.0008717/0.0008714, allocations: 174.3 kB / 326.5 MB, free: 2.66 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.859/1.859, allocations: 205 MB / 0.5766 GB, free: 20.96 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.0008026/0.0008027, allocations: 84.08 kB / 0.6804 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003645/0.0003645, allocations: 8.812 kB / 0.7938 GB, free: 136.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2214/0.2218, allocations: 105.4 MB / 0.8967 GB, free: 68.15 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented): time 0.00796/0.2298, allocations: 7.734 MB / 0.9043 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1659/0.3958, allocations: 149.6 MB / 1.05 GB, free: 6.219 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001868/0.3978, allocations: 27.88 kB / 1.05 GB, free: 6.191 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0023/0.4001, allocations: 0.6105 MB / 1.051 GB, free: 5.578 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.003037/0.4031, allocations: 0.6376 MB / 1.052 GB, free: 4.941 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003372/0.4065, allocations: 1.014 MB / 1.053 GB, free: 3.934 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003394/0.4099, allocations: 2.233 MB / 1.055 GB, free: 1.688 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00318/0.4131, allocations: 1.587 MB / 1.056 GB, free: 68 kB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.5353/0.9485, allocations: 0.5894 MB / 1.057 GB, free: 4.07 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00136/0.9499, allocations: 0.7135 MB / 1.058 GB, free: 4.07 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002724/0.9502, allocations: 44.84 kB / 1.058 GB, free: 4.07 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001523/0.9517, allocations: 0.5266 MB / 1.058 GB, free: 4.07 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004352/0.9522, allocations: 340.1 kB / 1.058 GB, free: 4.07 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.00115/0.9533, allocations: 0.7386 MB / 1.059 GB, free: 4.07 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00346/0.9568, allocations: 2.217 MB / 1.061 GB, free: 3.992 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.9568, allocations: 1.062 kB / 1.061 GB, free: 3.992 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.533e-06/0.9568, allocations: 0 / 1.061 GB, free: 3.992 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.223e-05/0.9569, allocations: 0 / 1.061 GB, free: 3.992 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.003921/0.9609, allocations: 1.764 MB / 1.063 GB, free: 3.047 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.9609, allocations: 14.16 kB / 1.063 GB, free: 3.043 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006498/0.9674, allocations: 0.9437 MB / 1.064 GB, free: 2.914 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0032/0.9706, allocations: 1.129 MB / 1.065 GB, free: 2.539 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000167/0.9708, allocations: 126.6 kB / 1.065 GB, free: 2.535 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003779/0.9712, allocations: 164 kB / 1.065 GB, free: 2.535 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005953/0.9772, allocations: 2.194 MB / 1.068 GB, free: 2.293 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.294e-05/0.9772, allocations: 0.75 kB / 1.068 GB, free: 2.293 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002046/0.9774, allocations: 73.89 kB / 1.068 GB, free: 2.293 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001281/0.9776, allocations: 77.88 kB / 1.068 GB, free: 2.289 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007484/0.9851, allocations: 2.531 MB / 1.07 GB, free: 2.25 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01381/0.9989, allocations: 6.997 MB / 1.077 GB, free: 16 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004291/1.003, allocations: 1.6 MB / 1.079 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001758/1.005, allocations: 0.7483 MB / 1.079 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007146/1.006, allocations: 495.2 kB / 1.08 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002052/1.008, allocations: 0.9284 MB / 1.081 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=128): time 3.887e-06/1.008, allocations: 0 / 1.081 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of matching and sorting (n=128): time 0.006113/1.014, allocations: 2.215 MB / 1.083 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001726/1.014, allocations: 296.6 kB / 1.083 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001386/1.016, allocations: 0.8615 MB / 1.084 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001368/1.016, allocations: 50.83 kB / 1.084 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005743/1.016, allocations: 0.6639 MB / 1.085 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003906/1.017, allocations: 429.2 kB / 1.085 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001547/1.017, allocations: 103.2 kB / 1.085 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001422/1.017, allocations: 352.5 kB / 1.086 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001522/1.019, allocations: 0.6128 MB / 1.086 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001728/1.02, allocations: 0.8186 MB / 1.087 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003314/1.024, allocations: 1.425 MB / 1.088 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/1.024, allocations: 0 / 1.088 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.003969/1.028, allocations: 1.682 MB / 1.09 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001532/1.028, allocations: 204.9 kB / 1.09 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/1.028, allocations: 4.734 kB / 1.09 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002203/1.028, allocations: 35.3 kB / 1.09 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001657/1.03, allocations: 337.4 kB / 1.091 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001194/1.031, allocations: 1.303 MB / 1.092 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001647/1.033, allocations: 189.1 kB / 1.092 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/1.033, allocations: 66.08 kB / 1.092 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.865e-06/1.033, allocations: 2.938 kB / 1.092 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003675/1.036, allocations: 1.539 MB / 1.094 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/1.036, allocations: 9.656 kB / 1.094 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/1.036, allocations: 11.69 kB / 1.094 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001561/1.038, allocations: 329.8 kB / 1.094 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.625e-05/1.038, allocations: 18.22 kB / 1.094 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001375/1.039, allocations: 195.5 kB / 1.094 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001178/1.04, allocations: 59.2 kB / 1.094 GB, free: 11.41 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 (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.001132/1.041, allocations: 485.4 kB / 1.095 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002814/1.041, allocations: 123.7 kB / 1.095 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004611/1.046, allocations: 1.874 MB / 1.097 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.642e-05/1.046, allocations: 19.55 kB / 1.097 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/1.046, allocations: 0 / 1.097 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.931e-05/1.046, allocations: 9.609 kB / 1.097 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006773/1.052, allocations: 3.825 MB / 1.1 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/1.052, allocations: 0 / 1.1 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001452/1.054, allocations: 303.6 kB / 1.101 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001302/1.054, allocations: 34.58 kB / 1.101 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001029/1.054, allocations: 40.56 kB / 1.101 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009157/1.055, allocations: 1.274 MB / 1.102 GB, free: 9.012 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/1.055, allocations: 3.234 kB / 1.102 GB, free: 9.012 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004038/1.059, allocations: 1.749 MB / 1.104 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006655/1.06, allocations: 399.6 kB / 1.104 GB, free: 8.539 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001915/1.06, allocations: 27.25 kB / 1.104 GB, free: 8.539 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001258/1.061, allocations: 137.2 kB / 1.104 GB, free: 8.531 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001896/1.061, allocations: 95.7 kB / 1.104 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/1.062, allocations: 55.17 kB / 1.104 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0008727/1.062, allocations: 0.5911 MB / 1.105 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/1.063, allocations: 5.562 kB / 1.105 GB, free: 8.41 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002146/1.065, allocations: 0.7547 MB / 1.106 GB, free: 8.242 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.001397/1.066, allocations: 0.6026 MB / 1.106 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.007076/1.073, allocations: 2.486 MB / 1.109 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/1.073, allocations: 3.188 kB / 1.109 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002029/1.075, allocations: 0.9159 MB / 1.11 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00183/1.077, allocations: 331.8 kB / 1.11 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005803/1.083, allocations: 3.745 MB / 1.114 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008411/1.084, allocations: 1.279 MB / 1.115 GB, free: 5.137 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006964/1.084, allocations: 179.5 kB / 1.115 GB, free: 5.129 MB / 0.7136 GB Notification: Performance of SimCode: time 4.61e-07/1.084, allocations: 0 / 1.115 GB, free: 5.129 MB / 0.7136 GB Notification: Performance of Templates: time 0.04295/1.127, allocations: 30.01 MB / 1.144 GB, free: 3.781 MB / 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