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.324/1.324, 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.0009918/0.0009919, allocations: 179.6 kB / 327.6 MB, free: 2.102 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.449/1.449, allocations: 205.4 MB / 0.5786 GB, free: 20.14 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.0007788/0.0007788, allocations: 94.22 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002909/0.0002909, allocations: 8.875 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1587, allocations: 106.3 MB / 0.9014 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.WindTurbine): time 0.005573/0.1643, allocations: 6.257 MB / 0.9076 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1356/0.2999, allocations: 147.6 MB / 1.052 GB, free: 5.102 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009268/0.3009, allocations: 27.81 kB / 1.052 GB, free: 5.074 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0008379/0.3017, allocations: 250.5 kB / 1.052 GB, free: 4.828 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.002074/0.3038, allocations: 0.5979 MB / 1.052 GB, free: 4.23 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002335/0.3062, allocations: 0.8573 MB / 1.053 GB, free: 3.383 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002019/0.3082, allocations: 1.718 MB / 1.055 GB, free: 1.656 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001725/0.3099, allocations: 1.126 MB / 1.056 GB, free: 476 kB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007344/0.3107, allocations: 445.9 kB / 1.057 GB, free: 28 kB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3587/0.6693, allocations: 0.5434 MB / 1.057 GB, free: 3.801 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002137/0.6696, allocations: 35.12 kB / 1.057 GB, free: 3.801 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000978/0.6706, allocations: 497.6 kB / 1.058 GB, free: 3.801 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002611/0.6708, allocations: 292.5 kB / 1.058 GB, free: 3.801 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005024/0.6714, allocations: 0.5543 MB / 1.058 GB, free: 3.77 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001392/0.6728, allocations: 1.387 MB / 1.06 GB, free: 3.711 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.247e-06/0.6728, allocations: 0.6562 kB / 1.06 GB, free: 3.711 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.485e-06/0.6728, allocations: 0 / 1.06 GB, free: 3.711 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.209e-05/0.6728, allocations: 1.859 kB / 1.06 GB, free: 3.711 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.002214/0.675, allocations: 1.397 MB / 1.061 GB, free: 2.891 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.6751, allocations: 12.22 kB / 1.061 GB, free: 2.891 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001188/0.6763, allocations: 270 kB / 1.061 GB, free: 2.816 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/0.6775, allocations: 0.9078 MB / 1.062 GB, free: 2.473 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.329e-05/0.6776, allocations: 74.42 kB / 1.062 GB, free: 2.469 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/0.6777, allocations: 95.23 kB / 1.062 GB, free: 2.469 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001804/0.6795, allocations: 1.169 MB / 1.064 GB, free: 2.254 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.6795, allocations: 6.672 kB / 1.064 GB, free: 2.254 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.271e-05/0.6796, allocations: 39.12 kB / 1.064 GB, free: 2.254 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.668e-05/0.6797, allocations: 54.03 kB / 1.064 GB, free: 2.254 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001969/0.6816, allocations: 1.299 MB / 1.065 GB, free: 2.238 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006107/0.6878, allocations: 4.341 MB / 1.069 GB, free: 16.3 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001652/0.6894, allocations: 0.8041 MB / 1.07 GB, free: 16.26 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006915/0.6902, allocations: 340.1 kB / 1.07 GB, free: 16.25 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.077e-05/0.6902, allocations: 30.12 kB / 1.07 GB, free: 16.25 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008544/0.6911, allocations: 479.5 kB / 1.071 GB, free: 16.14 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=80): time 2.876e-06/0.6911, allocations: 0 / 1.071 GB, free: 16.14 MB / 0.7136 GB Notification: Performance of matching and sorting (n=80): time 0.002393/0.6935, allocations: 1.085 MB / 1.072 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001337/0.6937, allocations: 306.4 kB / 1.072 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001295/0.695, allocations: 0.9007 MB / 1.073 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.925e-05/0.6951, allocations: 42.17 kB / 1.073 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003771/0.6955, allocations: 0.5224 MB / 1.074 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001777/0.6956, allocations: 265.4 kB / 1.074 GB, free: 15 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.195e-05/0.6957, allocations: 15.81 kB / 1.074 GB, free: 15 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.6958, allocations: 334.8 kB / 1.074 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005394/0.6964, allocations: 275.3 kB / 1.074 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006503/0.697, allocations: 447.6 kB / 1.075 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001259/0.6983, allocations: 0.6858 MB / 1.076 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.6983, allocations: 0 / 1.076 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.00163/0.6999, allocations: 0.881 MB / 1.076 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.375e-05/0.7, allocations: 169.1 kB / 1.077 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.7001, allocations: 8.594 kB / 1.077 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001929/0.7003, allocations: 28.59 kB / 1.077 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007341/0.701, allocations: 180.4 kB / 1.077 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001055/0.7021, allocations: 1.298 MB / 1.078 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008686/0.7029, allocations: 111.1 kB / 1.078 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.969e-05/0.703, allocations: 41.33 kB / 1.078 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.204e-06/0.7031, allocations: 3.406 kB / 1.078 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001332/0.7044, allocations: 0.7455 MB / 1.079 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.7044, allocations: 4.219 kB / 1.079 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.354e-06/0.7044, allocations: 6.594 kB / 1.079 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000738/0.7052, allocations: 187 kB / 1.079 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.7052, allocations: 12.17 kB / 1.079 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007677/0.706, allocations: 97.64 kB / 1.079 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.65e-05/0.7061, allocations: 43 kB / 1.079 GB, free: 12.75 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 ($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 (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.0006996/0.7068, allocations: 413.4 kB / 1.08 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001878/0.707, allocations: 103.1 kB / 1.08 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001844/0.7088, allocations: 0.979 MB / 1.081 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.516e-05/0.7089, allocations: 13.69 kB / 1.081 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.7089, allocations: 3.125 kB / 1.081 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.7089, allocations: 5.578 kB / 1.081 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003013/0.7119, allocations: 2.201 MB / 1.083 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.7119, allocations: 1.125 kB / 1.083 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006155/0.7125, allocations: 158.5 kB / 1.083 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000112/0.7127, allocations: 24.2 kB / 1.083 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.303e-05/0.7127, allocations: 30.34 kB / 1.083 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008399/0.7136, allocations: 1.27 MB / 1.084 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.7136, allocations: 5.125 kB / 1.084 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001572/0.7152, allocations: 0.9619 MB / 1.085 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004301/0.7156, allocations: 314.5 kB / 1.086 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001275/0.7158, allocations: 20.94 kB / 1.086 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006416/0.7164, allocations: 76.16 kB / 1.086 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/0.7165, allocations: 61.17 kB / 1.086 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.591e-05/0.7166, allocations: 38.12 kB / 1.086 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007607/0.7174, allocations: 0.6272 MB / 1.086 GB, free: 9.965 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7174, allocations: 0 / 1.086 GB, free: 9.965 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001267/0.7187, allocations: 0.5205 MB / 1.087 GB, free: 9.867 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.001164/0.7198, allocations: 0.5704 MB / 1.087 GB, free: 9.652 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001952/0.7218, allocations: 1.226 MB / 1.089 GB, free: 9.516 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.7218, allocations: 0 / 1.089 GB, free: 9.516 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000648/0.7225, allocations: 498.4 kB / 1.089 GB, free: 9.406 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001498/0.724, allocations: 314.8 kB / 1.089 GB, free: 9.379 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003564/0.7276, allocations: 2.648 MB / 1.092 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006198/0.7282, allocations: 1.14 MB / 1.093 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003548/0.7286, allocations: 125 kB / 1.093 GB, free: 7.305 MB / 0.7136 GB Notification: Performance of SimCode: time 5.91e-07/0.7286, allocations: 0 / 1.093 GB, free: 7.305 MB / 0.7136 GB Notification: Performance of Templates: time 0.0288/0.7574, allocations: 20.93 MB / 1.114 GB, free: 1.664 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