Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.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.AC.OnePhase.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.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.682/1.682, 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.0009983/0.0009983, allocations: 171.2 kB / 327.6 MB, free: 2.105 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.52/1.52, 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.0006785/0.0006786, allocations: 90.75 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002969/0.0002969, allocations: 16.39 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1699, allocations: 106.3 MB / 0.9015 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine): time 0.005887/0.1758, allocations: 6.565 MB / 0.9079 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2103/0.3861, allocations: 148 MB / 1.052 GB, free: 4.352 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001649/0.3878, allocations: 23.88 kB / 1.052 GB, free: 4.328 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001348/0.3892, allocations: 266.4 kB / 1.053 GB, free: 4.066 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.00404/0.3933, allocations: 0.6643 MB / 1.053 GB, free: 3.402 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00478/0.3981, allocations: 0.9112 MB / 1.054 GB, free: 2.5 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003656/0.4018, allocations: 1.819 MB / 1.056 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3714/0.7732, allocations: 1.541 MB / 1.057 GB, free: 2.625 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007611/0.7739, allocations: 474.2 kB / 1.058 GB, free: 2.621 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007839/0.7747, allocations: 0.5845 MB / 1.059 GB, free: 2.617 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.00012/0.7749, allocations: 40.45 kB / 1.059 GB, free: 2.617 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001096/0.776, allocations: 0.5704 MB / 1.059 GB, free: 2.617 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002753/0.7763, allocations: 317.9 kB / 1.059 GB, free: 2.617 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005019/0.7768, allocations: 0.5863 MB / 1.06 GB, free: 2.586 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001687/0.7785, allocations: 1.545 MB / 1.061 GB, free: 2.52 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.7785, allocations: 0 / 1.061 GB, free: 2.52 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.284e-06/0.7785, allocations: 0 / 1.061 GB, free: 2.52 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.82e-05/0.7785, allocations: 0 / 1.061 GB, free: 2.52 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: 277 * Number of variables: 277 Notification: Performance of Generate backend data structure: time 0.002512/0.7811, allocations: 1.447 MB / 1.063 GB, free: 17.67 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.7811, allocations: 9.188 kB / 1.063 GB, free: 17.67 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00132/0.7824, allocations: 297.9 kB / 1.063 GB, free: 17.59 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001345/0.7838, allocations: 0.9524 MB / 1.064 GB, free: 17.23 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.621e-05/0.7839, allocations: 74.11 kB / 1.064 GB, free: 17.23 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/0.784, allocations: 105.2 kB / 1.064 GB, free: 17.23 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001998/0.786, allocations: 1.317 MB / 1.066 GB, free: 16.98 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.884e-05/0.786, allocations: 3.031 kB / 1.066 GB, free: 16.98 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.965e-05/0.7861, allocations: 47.83 kB / 1.066 GB, free: 16.98 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.58e-05/0.7862, allocations: 66.58 kB / 1.066 GB, free: 16.97 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002493/0.7887, allocations: 1.466 MB / 1.067 GB, free: 16.96 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00692/0.7957, allocations: 4.71 MB / 1.072 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001823/0.7975, allocations: 1.018 MB / 1.073 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007261/0.7983, allocations: 438.1 kB / 1.073 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002253/0.7985, allocations: 123.4 kB / 1.073 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009937/0.7995, allocations: 0.5824 MB / 1.074 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=94): time 2.715e-06/0.7995, allocations: 0 / 1.074 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of matching and sorting (n=95): time 0.005114/0.8046, allocations: 2.126 MB / 1.076 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001245/0.8048, allocations: 245 kB / 1.076 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001406/0.8062, allocations: 0.91 MB / 1.077 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.856e-05/0.8063, allocations: 42.05 kB / 1.077 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000462/0.8068, allocations: 0.5283 MB / 1.078 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002691/0.8071, allocations: 323.2 kB / 1.078 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.442e-05/0.8071, allocations: 20.44 kB / 1.078 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.8072, allocations: 343.6 kB / 1.078 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006656/0.8079, allocations: 375 kB / 1.079 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008106/0.8087, allocations: 0.5516 MB / 1.079 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001396/0.8101, allocations: 0.9276 MB / 1.08 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.8102, allocations: 1.531 kB / 1.08 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002548/0.8127, allocations: 1.273 MB / 1.081 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001163/0.8128, allocations: 181.3 kB / 1.081 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.8129, allocations: 3.781 kB / 1.081 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001202/0.8141, allocations: 269.3 kB / 1.082 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009223/0.815, allocations: 222.5 kB / 1.082 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002764/0.8178, allocations: 1.978 MB / 1.084 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/0.8188, allocations: 110.2 kB / 1.084 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.965e-05/0.8189, allocations: 44.66 kB / 1.084 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.454e-06/0.8189, allocations: 11 kB / 1.084 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001601/0.8205, allocations: 0.9455 MB / 1.085 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.8205, allocations: 3.438 kB / 1.085 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.565e-06/0.8206, allocations: 6.969 kB / 1.085 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007895/0.8214, allocations: 223.2 kB / 1.085 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.517e-06/0.8214, allocations: 6.844 kB / 1.085 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007419/0.8221, allocations: 109.6 kB / 1.085 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.365e-05/0.8222, allocations: 46.95 kB / 1.085 GB, free: 10.66 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (116): * Single equations (assignments): 115 * 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 {(2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000694/0.8229, allocations: 427.7 kB / 1.086 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001646/0.8231, allocations: 109.6 kB / 1.086 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002508/0.8256, allocations: 1.384 MB / 1.087 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/0.8256, allocations: 9.688 kB / 1.087 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.8256, allocations: 0 / 1.087 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.8256, allocations: 9.438 kB / 1.087 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003797/0.8294, allocations: 2.671 MB / 1.09 GB, free: 9.789 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.8295, allocations: 0 / 1.09 GB, free: 9.789 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007214/0.8302, allocations: 195.5 kB / 1.09 GB, free: 9.785 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007696/0.831, allocations: 218 kB / 1.09 GB, free: 9.766 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.477e-05/0.831, allocations: 32.16 kB / 1.09 GB, free: 9.766 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001818/0.8329, allocations: 1.823 MB / 1.092 GB, free: 8.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.8329, allocations: 5.875 kB / 1.092 GB, free: 8.5 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002269/0.8352, allocations: 1.404 MB / 1.093 GB, free: 8.141 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005327/0.8357, allocations: 337.3 kB / 1.094 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001407/0.8359, allocations: 26.38 kB / 1.094 GB, free: 7.973 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007899/0.8367, allocations: 98.64 kB / 1.094 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001778/0.8368, allocations: 75.2 kB / 1.094 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.358e-05/0.8369, allocations: 42.31 kB / 1.094 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000861/0.8378, allocations: 0.6343 MB / 1.095 GB, free: 7.852 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8378, allocations: 0 / 1.095 GB, free: 7.852 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001488/0.8393, allocations: 472.9 kB / 1.095 GB, free: 7.836 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 102 * 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 {(2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001353/0.8407, allocations: 0.5777 MB / 1.096 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002751/0.8434, allocations: 1.609 MB / 1.097 GB, free: 7.492 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.8435, allocations: 7.594 kB / 1.097 GB, free: 7.488 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0009949/0.8445, allocations: 0.6488 MB / 1.098 GB, free: 7.371 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001771/0.8462, allocations: 336.4 kB / 1.098 GB, free: 7.344 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004272/0.8505, allocations: 2.97 MB / 1.101 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007435/0.8513, allocations: 1.186 MB / 1.102 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004299/0.8517, allocations: 137.9 kB / 1.102 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of SimCode: time 5.81e-07/0.8517, allocations: 0 / 1.102 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of Templates: time 0.03087/0.8826, allocations: 22.98 MB / 1.125 GB, free: 12.75 MB / 0.7292 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.makefile make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.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.AC.OnePhase.Sources.Examples.WindTurbineCalcHelperMain.o OMCppBuildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbineCalcHelperMain.cpp In file included from OMCppBuildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbineCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.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.AC.OnePhase.Sources.Examples.WindTurbineCalcHelperMain.o] Error 1