Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine.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.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.DC.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.509/1.509, allocations: 251.5 MB / 267.4 MB, free: 11.09 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.001065/0.001065, allocations: 178.5 kB / 326.5 MB, free: 2.695 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.794/1.794, allocations: 205 MB / 0.5766 GB, free: 20.99 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.0008061/0.000806, allocations: 98.08 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003196/0.0003196, allocations: 9.312 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.2356, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.WindTurbine): time 0.007324/0.243, allocations: 6.387 MB / 0.903 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1629/0.4059, allocations: 149.2 MB / 1.049 GB, free: 8.039 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001279/0.4073, allocations: 23.88 kB / 1.049 GB, free: 8.016 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001872/0.4092, allocations: 0.6055 MB / 1.049 GB, free: 7.41 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.00228/0.4115, allocations: 0.5818 MB / 1.05 GB, free: 6.828 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002633/0.4141, allocations: 0.8634 MB / 1.051 GB, free: 5.977 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002435/0.4165, allocations: 1.722 MB / 1.052 GB, free: 4.246 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001788/0.4183, allocations: 0.9985 MB / 1.053 GB, free: 3.211 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008605/0.4192, allocations: 445.8 kB / 1.054 GB, free: 2.773 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007883/0.42, allocations: 0.5364 MB / 1.054 GB, free: 2.234 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001214/0.4202, allocations: 36 kB / 1.054 GB, free: 2.199 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001153/0.4213, allocations: 0.4992 MB / 1.055 GB, free: 1.699 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002898/0.4216, allocations: 294.8 kB / 1.055 GB, free: 1.41 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005409/0.4222, allocations: 0.5239 MB / 1.056 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.482/0.9041, allocations: 1.382 MB / 1.057 GB, free: 4.992 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.874e-06/0.9042, allocations: 0 / 1.057 GB, free: 4.992 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.731e-06/0.9042, allocations: 1.094 kB / 1.057 GB, free: 4.992 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.33e-05/0.9043, allocations: 0 / 1.057 GB, free: 4.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: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.002862/0.9072, allocations: 1.396 MB / 1.058 GB, free: 4.273 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.9072, allocations: 8.156 kB / 1.058 GB, free: 4.273 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001277/0.9085, allocations: 267.6 kB / 1.059 GB, free: 4.199 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001368/0.9099, allocations: 0.9089 MB / 1.059 GB, free: 3.855 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.4e-05/0.91, allocations: 75.53 kB / 1.06 GB, free: 3.852 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/0.9101, allocations: 98.19 kB / 1.06 GB, free: 3.852 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002021/0.9121, allocations: 1.164 MB / 1.061 GB, free: 3.641 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.465e-05/0.9121, allocations: 2.812 kB / 1.061 GB, free: 3.641 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.573e-05/0.9122, allocations: 43.44 kB / 1.061 GB, free: 3.641 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.761e-05/0.9123, allocations: 55.09 kB / 1.061 GB, free: 3.641 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002026/0.9144, allocations: 1.296 MB / 1.062 GB, free: 3.629 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006845/0.9212, allocations: 4.35 MB / 1.066 GB, free: 17.69 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00177/0.923, allocations: 0.8002 MB / 1.067 GB, free: 17.65 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000709/0.9238, allocations: 340.5 kB / 1.067 GB, free: 17.64 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.462e-05/0.9239, allocations: 33.8 kB / 1.067 GB, free: 17.63 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000948/0.9248, allocations: 477.9 kB / 1.068 GB, free: 17.53 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=80): time 3.145e-06/0.9248, allocations: 0.8125 kB / 1.068 GB, free: 17.53 MB / 0.7136 GB Notification: Performance of matching and sorting (n=80): time 0.002722/0.9276, allocations: 1.087 MB / 1.069 GB, free: 17.32 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001638/0.9277, allocations: 295.6 kB / 1.069 GB, free: 16.98 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001462/0.9292, allocations: 0.9018 MB / 1.07 GB, free: 16.82 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.644e-05/0.9293, allocations: 46.11 kB / 1.07 GB, free: 16.79 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006215/0.93, allocations: 0.5166 MB / 1.071 GB, free: 16.56 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002186/0.9302, allocations: 271.3 kB / 1.071 GB, free: 16.39 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/0.9303, allocations: 74.77 kB / 1.071 GB, free: 16.38 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.9305, allocations: 340 kB / 1.071 GB, free: 16.07 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005828/0.9311, allocations: 266.8 kB / 1.072 GB, free: 16.07 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007393/0.9318, allocations: 444.1 kB / 1.072 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001292/0.9331, allocations: 0.6851 MB / 1.073 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.75e-06/0.9331, allocations: 1.375 kB / 1.073 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001948/0.9351, allocations: 0.8813 MB / 1.074 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001028/0.9352, allocations: 172.2 kB / 1.074 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.9352, allocations: 2.188 kB / 1.074 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002209/0.9354, allocations: 34.78 kB / 1.074 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000719/0.9362, allocations: 189 kB / 1.074 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001211/0.9374, allocations: 1.294 MB / 1.075 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008047/0.9382, allocations: 102.7 kB / 1.075 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.533e-05/0.9383, allocations: 39.75 kB / 1.075 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.027e-06/0.9383, allocations: 8.266 kB / 1.075 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001447/0.9398, allocations: 0.7561 MB / 1.076 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.9398, allocations: 2.719 kB / 1.076 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.9398, allocations: 6.938 kB / 1.076 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006845/0.9405, allocations: 178.7 kB / 1.076 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.725e-05/0.9405, allocations: 17.02 kB / 1.076 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000677/0.9412, allocations: 103.6 kB / 1.076 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.446e-05/0.9413, allocations: 44.08 kB / 1.076 GB, free: 14.11 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (103): * Single equations (assignments): 102 * 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.0007607/0.9421, allocations: 402.2 kB / 1.077 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002144/0.9423, allocations: 104.8 kB / 1.077 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00193/0.9442, allocations: 0.9801 MB / 1.078 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/0.9442, allocations: 13.69 kB / 1.078 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.9443, allocations: 1.156 kB / 1.078 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/0.9443, allocations: 7.859 kB / 1.078 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002981/0.9473, allocations: 2.196 MB / 1.08 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/0.9473, allocations: 1.125 kB / 1.08 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005642/0.9478, allocations: 158.5 kB / 1.08 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001073/0.948, allocations: 31.86 kB / 1.08 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.738e-05/0.948, allocations: 23.88 kB / 1.08 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008857/0.9489, allocations: 1.28 MB / 1.082 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.9489, allocations: 5.531 kB / 1.082 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001572/0.9505, allocations: 0.9552 MB / 1.082 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004024/0.9509, allocations: 286.5 kB / 1.083 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001617/0.9511, allocations: 24.38 kB / 1.083 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006083/0.9517, allocations: 78.06 kB / 1.083 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/0.9519, allocations: 60.84 kB / 1.083 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.862e-05/0.9519, allocations: 38.84 kB / 1.083 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0008741/0.9528, allocations: 0.6291 MB / 1.084 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.233e-06/0.9528, allocations: 0 / 1.084 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001494/0.9543, allocations: 0.5196 MB / 1.084 GB, free: 11.23 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 (92): * Single equations (assignments): 89 * 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.001312/0.9556, allocations: 0.5631 MB / 1.085 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002019/0.9577, allocations: 1.221 MB / 1.086 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.9577, allocations: 3.375 kB / 1.086 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006212/0.9583, allocations: 492 kB / 1.086 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001405/0.9597, allocations: 330.7 kB / 1.087 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003484/0.9632, allocations: 2.618 MB / 1.089 GB, free: 9.41 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006958/0.9639, allocations: 1.141 MB / 1.09 GB, free: 8.684 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003045/0.9643, allocations: 124.1 kB / 1.09 GB, free: 8.676 MB / 0.7136 GB Notification: Performance of SimCode: time 5.21e-07/0.9643, allocations: 0 / 1.09 GB, free: 8.676 MB / 0.7136 GB Notification: Performance of Templates: time 0.02982/0.9941, allocations: 20.93 MB / 1.111 GB, free: 4.543 MB / 0.7136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine.makefile make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine.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.WindTurbineCalcHelperMain.o OMCppBuildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbineCalcHelperMain.cpp In file included from OMCppBuildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbineCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbineFunctions.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.WindTurbineCalcHelperMain.o] Error 1