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.409/1.409, allocations: 252 MB / 267.6 MB, free: 10.95 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.00101/0.00101, allocations: 182 kB / 327.3 MB, free: 2.215 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.063/2.063, allocations: 205.4 MB / 0.5783 GB, free: 20.58 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.00089/0.0008901, allocations: 104 kB / 0.6829 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004764/0.0004765, allocations: 6.125 kB / 0.797 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2392, allocations: 106.3 MB / 0.9008 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.WindTurbine): time 0.006195/0.2455, allocations: 5.926 MB / 0.9066 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1599/0.4055, allocations: 137.6 MB / 1.041 GB, free: 0.4961 MB / 0.6824 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001328/0.4068, allocations: 23.88 kB / 1.041 GB, free: 484 kB / 0.6824 GB Notification: Performance of NFTyping.typeComponents: time 0.0008617/0.4077, allocations: 238.5 kB / 1.041 GB, free: 244 kB / 0.6824 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.002134/0.4099, allocations: 0.5396 MB / 1.042 GB, free: 15.7 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002404/0.4123, allocations: 0.7509 MB / 1.043 GB, free: 14.96 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001928/0.4142, allocations: 1.51 MB / 1.044 GB, free: 13.44 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001322/0.4156, allocations: 0.8596 MB / 1.045 GB, free: 12.54 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007395/0.4163, allocations: 430.1 kB / 1.045 GB, free: 12.11 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007786/0.4171, allocations: 0.5249 MB / 1.046 GB, free: 11.59 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001055/0.4172, allocations: 32 kB / 1.046 GB, free: 11.55 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008911/0.4181, allocations: 339.6 kB / 1.046 GB, free: 11.22 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002896/0.4184, allocations: 270.9 kB / 1.046 GB, free: 10.96 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002691/0.4187, allocations: 244.9 kB / 1.047 GB, free: 10.71 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001607/0.4203, allocations: 1.38 MB / 1.048 GB, free: 9.328 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.4203, allocations: 0 / 1.048 GB, free: 9.328 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.279e-06/0.4203, allocations: 4 kB / 1.048 GB, free: 9.324 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.171e-05/0.4204, allocations: 0 / 1.048 GB, free: 9.324 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.002618/0.423, allocations: 1.404 MB / 1.049 GB, free: 7.867 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.423, allocations: 8.031 kB / 1.049 GB, free: 7.859 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00126/0.4243, allocations: 270.1 kB / 1.05 GB, free: 7.594 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001413/0.4257, allocations: 0.8711 MB / 1.05 GB, free: 6.68 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.42e-05/0.4258, allocations: 70 kB / 1.051 GB, free: 6.609 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001267/0.426, allocations: 99.98 kB / 1.051 GB, free: 6.512 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001976/0.4279, allocations: 1.158 MB / 1.052 GB, free: 5.281 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/0.428, allocations: 0 / 1.052 GB, free: 5.281 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.41e-05/0.4281, allocations: 44 kB / 1.052 GB, free: 5.238 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.405e-05/0.4282, allocations: 57.97 kB / 1.052 GB, free: 5.184 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002026/0.4302, allocations: 1.288 MB / 1.053 GB, free: 3.891 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5257/0.9559, allocations: 4.332 MB / 1.057 GB, free: 154.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001569/0.9576, allocations: 0.7955 MB / 1.058 GB, free: 154.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006593/0.9582, allocations: 345.8 kB / 1.058 GB, free: 154.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.527e-05/0.9583, allocations: 31 kB / 1.058 GB, free: 154.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008293/0.9592, allocations: 471.2 kB / 1.059 GB, free: 154.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=80): time 4.237e-06/0.9592, allocations: 2.875 kB / 1.059 GB, free: 154.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=80): time 0.002355/0.9616, allocations: 1.086 MB / 1.06 GB, free: 154 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/0.9617, allocations: 296.2 kB / 1.06 GB, free: 153.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001241/0.9629, allocations: 0.8916 MB / 1.061 GB, free: 153.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.571e-05/0.963, allocations: 45.98 kB / 1.061 GB, free: 153.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000491/0.9635, allocations: 0.5185 MB / 1.062 GB, free: 153.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002239/0.9638, allocations: 275.3 kB / 1.062 GB, free: 153.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.679e-05/0.9638, allocations: 14.19 kB / 1.062 GB, free: 153.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.9639, allocations: 338.6 kB / 1.062 GB, free: 152.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005369/0.9645, allocations: 264.7 kB / 1.063 GB, free: 152.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006785/0.9652, allocations: 439.8 kB / 1.063 GB, free: 152.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005972/0.9658, allocations: 329.5 kB / 1.063 GB, free: 152.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.9658, allocations: 3.688 kB / 1.063 GB, free: 152.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001611/0.9674, allocations: 0.8729 MB / 1.064 GB, free: 152.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000113/0.9675, allocations: 173.5 kB / 1.064 GB, free: 152.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.9675, allocations: 9.344 kB / 1.064 GB, free: 152.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002386/0.9678, allocations: 32.16 kB / 1.064 GB, free: 152.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007118/0.9685, allocations: 174.5 kB / 1.065 GB, free: 152.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001096/0.9696, allocations: 1.295 MB / 1.066 GB, free: 151.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008261/0.9705, allocations: 103.8 kB / 1.066 GB, free: 151.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/0.9706, allocations: 46.11 kB / 1.066 GB, free: 151.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.9706, allocations: 2.906 kB / 1.066 GB, free: 151.1 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001685/0.9723, allocations: 0.7426 MB / 1.067 GB, free: 151.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/0.9723, allocations: 5.125 kB / 1.067 GB, free: 151.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.9723, allocations: 6.312 kB / 1.067 GB, free: 151.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007827/0.9731, allocations: 189.8 kB / 1.067 GB, free: 151 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.443e-05/0.9731, allocations: 8.109 kB / 1.067 GB, free: 151 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007249/0.9739, allocations: 97.36 kB / 1.067 GB, free: 151 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001/0.974, allocations: 41.8 kB / 1.067 GB, free: 151 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0008659/0.9748, allocations: 404.5 kB / 1.067 GB, free: 150.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002239/0.9751, allocations: 106.7 kB / 1.067 GB, free: 150.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00249/0.9776, allocations: 0.9774 MB / 1.068 GB, free: 150.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.226e-05/0.9776, allocations: 13.05 kB / 1.068 GB, free: 150.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.9776, allocations: 5.75 kB / 1.068 GB, free: 150.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.346e-05/0.9777, allocations: 5.531 kB / 1.068 GB, free: 150.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004526/0.9822, allocations: 2.199 MB / 1.071 GB, free: 150 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/0.9822, allocations: 2.031 kB / 1.071 GB, free: 150 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006957/0.9829, allocations: 153.9 kB / 1.071 GB, free: 150 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001369/0.9831, allocations: 29.34 kB / 1.071 GB, free: 150 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.025e-05/0.9831, allocations: 28.08 kB / 1.071 GB, free: 150 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000847/0.984, allocations: 1.28 MB / 1.072 GB, free: 148.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.984, allocations: 2.766 kB / 1.072 GB, free: 148.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001848/0.9859, allocations: 0.9485 MB / 1.073 GB, free: 148.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004781/0.9864, allocations: 312.9 kB / 1.073 GB, free: 148.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000118/0.9865, allocations: 19.11 kB / 1.073 GB, free: 148.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006495/0.9871, allocations: 75.56 kB / 1.073 GB, free: 148.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001767/0.9873, allocations: 71.25 kB / 1.073 GB, free: 148.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-05/0.9874, allocations: 33.39 kB / 1.073 GB, free: 148.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001111/0.9885, allocations: 0.6234 MB / 1.074 GB, free: 148.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9885, allocations: 4.594 kB / 1.074 GB, free: 148.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001792/0.9903, allocations: 0.5218 MB / 1.075 GB, free: 148.1 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001299/0.9917, allocations: 0.558 MB / 1.075 GB, free: 147.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002755/0.9944, allocations: 1.213 MB / 1.076 GB, free: 147.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.9944, allocations: 3.203 kB / 1.076 GB, free: 147.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007881/0.9952, allocations: 494.7 kB / 1.077 GB, free: 147.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001623/0.9969, allocations: 310.3 kB / 1.077 GB, free: 147.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003977/1.001, allocations: 2.551 MB / 1.08 GB, free: 146.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007676/1.002, allocations: 1.135 MB / 1.081 GB, free: 145.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003633/1.002, allocations: 124.8 kB / 1.081 GB, free: 145.6 MB / 0.698 GB Notification: Performance of SimCode: time 7.42e-07/1.002, allocations: 0 / 1.081 GB, free: 145.6 MB / 0.698 GB Notification: Performance of Templates: time 0.03271/1.035, allocations: 20.97 MB / 1.101 GB, free: 129.8 MB / 0.698 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++ -Winvalid-pch -O0 -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/c/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