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.321/1.321, allocations: 251.5 MB / 267.4 MB, free: 11.06 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.00144/0.00144, allocations: 179.8 kB / 326.5 MB, free: 2.688 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.657/1.657, allocations: 205 MB / 0.5766 GB, free: 20.94 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.0007618/0.0007619, allocations: 85.2 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000308/0.000308, allocations: 10.73 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2033/0.2036, allocations: 105.4 MB / 0.8967 GB, free: 68.15 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine): time 0.006722/0.2104, allocations: 6.679 MB / 0.9033 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1536/0.364, allocations: 149.6 MB / 1.049 GB, free: 7.266 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001173/0.3652, allocations: 23.88 kB / 1.049 GB, free: 7.242 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002051/0.3673, allocations: 0.6682 MB / 1.05 GB, free: 6.574 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.002316/0.3696, allocations: 0.6634 MB / 1.051 GB, free: 5.91 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002625/0.3723, allocations: 0.9121 MB / 1.052 GB, free: 5.008 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002582/0.3749, allocations: 1.815 MB / 1.053 GB, free: 3.184 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002093/0.377, allocations: 1.171 MB / 1.054 GB, free: 1.973 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009129/0.3779, allocations: 465.7 kB / 1.055 GB, free: 1.516 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001156/0.3791, allocations: 0.591 MB / 1.056 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002287/0.3793, allocations: 36 kB / 1.056 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001366/0.3807, allocations: 0.5732 MB / 1.056 GB, free: 320 kB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004165/0.3811, allocations: 318.8 kB / 1.056 GB, free: 0 / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.4377/0.8188, allocations: 0.551 MB / 1.057 GB, free: 4.289 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00208/0.821, allocations: 1.541 MB / 1.058 GB, free: 4.258 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.821, allocations: 0.5625 kB / 1.058 GB, free: 4.258 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.553e-06/0.821, allocations: 2.625 kB / 1.058 GB, free: 4.258 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.26e-05/0.821, allocations: 0.7812 kB / 1.058 GB, free: 4.258 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.002316/0.8234, allocations: 1.446 MB / 1.06 GB, free: 3.43 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.8234, allocations: 10.17 kB / 1.06 GB, free: 3.43 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001324/0.8247, allocations: 299.3 kB / 1.06 GB, free: 3.352 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/0.826, allocations: 0.9466 MB / 1.061 GB, free: 3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.551e-05/0.8261, allocations: 82.55 kB / 1.061 GB, free: 2.996 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000127/0.8262, allocations: 102 kB / 1.061 GB, free: 2.996 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002054/0.8283, allocations: 1.309 MB / 1.063 GB, free: 2.754 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.878e-05/0.8283, allocations: 10.34 kB / 1.063 GB, free: 2.75 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.643e-05/0.8284, allocations: 49.41 kB / 1.063 GB, free: 2.75 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.817e-05/0.8285, allocations: 63.62 kB / 1.063 GB, free: 2.746 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002649/0.8312, allocations: 1.459 MB / 1.064 GB, free: 2.738 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008888/0.8401, allocations: 4.717 MB / 1.069 GB, free: 16.45 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002155/0.8423, allocations: 1.014 MB / 1.07 GB, free: 16.38 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008478/0.8432, allocations: 433.2 kB / 1.07 GB, free: 16.36 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002443/0.8434, allocations: 121.7 kB / 1.07 GB, free: 16.26 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001201/0.8446, allocations: 0.5844 MB / 1.071 GB, free: 16.17 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=94): time 2.986e-06/0.8446, allocations: 0 / 1.071 GB, free: 16.17 MB / 0.7136 GB Notification: Performance of matching and sorting (n=95): time 0.005316/0.85, allocations: 2.129 MB / 1.073 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001329/0.8501, allocations: 246.7 kB / 1.073 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001172/0.8513, allocations: 0.9026 MB / 1.074 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.362e-05/0.8514, allocations: 48.27 kB / 1.074 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003712/0.8518, allocations: 0.5347 MB / 1.075 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001989/0.852, allocations: 318 kB / 1.075 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.8521, allocations: 79.03 kB / 1.075 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.8522, allocations: 347.9 kB / 1.075 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006237/0.8528, allocations: 378.8 kB / 1.076 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007516/0.8536, allocations: 0.5448 MB / 1.076 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001371/0.855, allocations: 0.9291 MB / 1.077 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.855, allocations: 1.312 kB / 1.077 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002653/0.8576, allocations: 1.277 MB / 1.078 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001053/0.8578, allocations: 185.6 kB / 1.078 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.8578, allocations: 3.031 kB / 1.078 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001193/0.859, allocations: 262.9 kB / 1.079 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008311/0.8598, allocations: 225.8 kB / 1.079 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002768/0.8626, allocations: 1.987 MB / 1.081 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008979/0.8635, allocations: 112.5 kB / 1.081 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.636e-05/0.8636, allocations: 45.3 kB / 1.081 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.713e-06/0.8636, allocations: 2.875 kB / 1.081 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001776/0.8654, allocations: 0.9486 MB / 1.082 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/0.8654, allocations: 6.406 kB / 1.082 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.8654, allocations: 10.28 kB / 1.082 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008273/0.8663, allocations: 219.1 kB / 1.082 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.8663, allocations: 11.73 kB / 1.082 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007581/0.8671, allocations: 109.7 kB / 1.082 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.966e-05/0.8671, allocations: 43.88 kB / 1.082 GB, free: 12.43 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 (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 (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.0007449/0.8679, allocations: 424.9 kB / 1.083 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002326/0.8681, allocations: 114.9 kB / 1.083 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002757/0.8709, allocations: 1.389 MB / 1.084 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.8709, allocations: 9.75 kB / 1.084 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.8709, allocations: 0 / 1.084 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/0.871, allocations: 6.469 kB / 1.084 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003822/0.8748, allocations: 2.672 MB / 1.087 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.8748, allocations: 4.406 kB / 1.087 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006584/0.8755, allocations: 192.8 kB / 1.087 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007596/0.8763, allocations: 213.1 kB / 1.087 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.387e-05/0.8763, allocations: 27.17 kB / 1.087 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001819/0.8781, allocations: 1.828 MB / 1.089 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.8782, allocations: 5.781 kB / 1.089 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002164/0.8803, allocations: 1.399 MB / 1.09 GB, free: 9.906 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004388/0.8808, allocations: 321.9 kB / 1.091 GB, free: 9.738 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001467/0.8809, allocations: 27.25 kB / 1.091 GB, free: 9.734 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007181/0.8817, allocations: 93.39 kB / 1.091 GB, free: 9.734 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/0.8818, allocations: 82.23 kB / 1.091 GB, free: 9.727 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.34e-05/0.8819, allocations: 36.91 kB / 1.091 GB, free: 9.727 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007151/0.8826, allocations: 0.6346 MB / 1.092 GB, free: 9.617 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8826, allocations: 0 / 1.092 GB, free: 9.617 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001363/0.884, allocations: 471.8 kB / 1.092 GB, free: 9.605 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.001153/0.8851, allocations: 0.5663 MB / 1.093 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002506/0.8877, allocations: 1.619 MB / 1.094 GB, free: 9.254 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.8877, allocations: 1.859 kB / 1.094 GB, free: 9.254 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0008844/0.8886, allocations: 0.6524 MB / 1.095 GB, free: 9.133 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001546/0.8901, allocations: 332.4 kB / 1.095 GB, free: 9.102 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003759/0.8939, allocations: 2.925 MB / 1.098 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007538/0.8947, allocations: 1.188 MB / 1.099 GB, free: 6.941 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003815/0.895, allocations: 136.5 kB / 1.099 GB, free: 6.93 MB / 0.7136 GB Notification: Performance of SimCode: time 1.773e-06/0.8951, allocations: 0 / 1.099 GB, free: 6.93 MB / 0.7136 GB Notification: Performance of Templates: time 0.03189/0.927, allocations: 22.97 MB / 1.122 GB, free: 15.94 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