Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.407/1.407, allocations: 252 MB / 267.6 MB, free: 10.89 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.0009517/0.0009517, allocations: 180.4 kB / 327.3 MB, free: 2.199 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.838/1.838, allocations: 205.4 MB / 0.5783 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.0009376/0.0009377, allocations: 96 kB / 0.6829 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003847/0.0003847, allocations: 8.719 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.2535, allocations: 106.3 MB / 0.9008 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine): time 0.01803/0.2716, allocations: 19.12 MB / 0.9195 GB, free: 44.67 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.8078/1.079, allocations: 143.8 MB / 1.06 GB, free: 7.727 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002996/1.082, allocations: 59.5 kB / 1.06 GB, free: 7.727 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001737/1.084, allocations: 0.5834 MB / 1.061 GB, free: 7.715 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.005837/1.09, allocations: 1.538 MB / 1.062 GB, free: 7.641 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005702/1.096, allocations: 1.473 MB / 1.064 GB, free: 7.582 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01042/1.106, allocations: 5.383 MB / 1.069 GB, free: 7.562 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01366/1.12, allocations: 5.742 MB / 1.074 GB, free: 6.707 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005159/1.125, allocations: 1.494 MB / 1.076 GB, free: 6.707 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005564/1.131, allocations: 1.936 MB / 1.078 GB, free: 6.695 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001323/1.132, allocations: 168.1 kB / 1.078 GB, free: 6.695 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003557/1.136, allocations: 0.598 MB / 1.079 GB, free: 6.676 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.002496/1.138, allocations: 1.323 MB / 1.08 GB, free: 6.676 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001998/1.14, allocations: 0.6968 MB / 1.08 GB, free: 6.645 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.009536/1.15, allocations: 5.681 MB / 1.086 GB, free: 6.34 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/1.15, allocations: 2.844 kB / 1.086 GB, free: 6.34 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.166e-06/1.15, allocations: 0 / 1.086 GB, free: 6.34 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000317/1.15, allocations: 0 / 1.086 GB, free: 6.34 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: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.01068/1.161, allocations: 3.296 MB / 1.089 GB, free: 4.742 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.237e-05/1.161, allocations: 8.125 kB / 1.089 GB, free: 4.742 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005156/1.166, allocations: 0.8082 MB / 1.09 GB, free: 4.535 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006127/1.172, allocations: 2.336 MB / 1.092 GB, free: 4.055 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000242/1.173, allocations: 233.8 kB / 1.093 GB, free: 4.047 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001476/1.174, allocations: 301.5 kB / 1.093 GB, free: 4.047 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01228/1.186, allocations: 4.725 MB / 1.097 GB, free: 3.566 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.409e-05/1.186, allocations: 9.719 kB / 1.097 GB, free: 3.562 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004282/1.187, allocations: 130.1 kB / 1.098 GB, free: 3.562 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003849/1.187, allocations: 216.1 kB / 1.098 GB, free: 3.555 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01049/1.198, allocations: 4.298 MB / 1.102 GB, free: 3.41 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03497/1.233, allocations: 19.52 MB / 1.121 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003341/1.236, allocations: 1.989 MB / 1.123 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001591/1.238, allocations: 1.114 MB / 1.124 GB, free: 5.918 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003004/1.238, allocations: 134 kB / 1.124 GB, free: 5.812 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001836/1.24, allocations: 1.2 MB / 1.125 GB, free: 5.445 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=160): time 3.937e-06/1.24, allocations: 0 / 1.125 GB, free: 5.445 MB / 0.7136 GB Notification: Performance of matching and sorting (n=197): time 0.03627/1.276, allocations: 11.18 MB / 1.136 GB, free: 1.734 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002162/1.277, allocations: 312.2 kB / 1.137 GB, free: 1.387 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003612/1.28, allocations: 2.067 MB / 1.139 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0005036/1.281, allocations: 65.67 kB / 1.139 GB, free: 0.8008 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001724/1.282, allocations: 1.481 MB / 1.14 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007419/1.283, allocations: 0.6495 MB / 1.141 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001416/1.283, allocations: 39.47 kB / 1.141 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001986/1.284, allocations: 389.2 kB / 1.141 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001848/1.285, allocations: 1.175 MB / 1.142 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002188/1.288, allocations: 1.621 MB / 1.144 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00216/1.29, allocations: 1.406 MB / 1.145 GB, free: 14.1 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.558e-06/1.29, allocations: 4 kB / 1.145 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of matching and sorting (n=253) (initialization): time 0.01496/1.305, allocations: 5.158 MB / 1.15 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003665/1.305, allocations: 372.1 kB / 1.151 GB, free: 9.789 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.936e-05/1.305, allocations: 8 kB / 1.151 GB, free: 9.781 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01117/1.316, allocations: 2.444 MB / 1.153 GB, free: 7.543 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002466/1.319, allocations: 465 kB / 1.153 GB, free: 7.129 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02012/1.339, allocations: 14.22 MB / 1.167 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003108/1.342, allocations: 195.1 kB / 1.168 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003405/1.343, allocations: 90.33 kB / 1.168 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/1.343, allocations: 4 kB / 1.168 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0112/1.354, allocations: 4.195 MB / 1.172 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.413e-05/1.354, allocations: 8 kB / 1.172 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007073/1.361, allocations: 1.619 MB / 1.173 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002446/1.363, allocations: 488.9 kB / 1.174 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01183/1.375, allocations: 8.116 MB / 1.182 GB, free: 15.07 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003017/1.378, allocations: 181.3 kB / 1.182 GB, free: 14.93 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002678/1.379, allocations: 96.08 kB / 1.182 GB, free: 14.85 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (235): * Single equations (assignments): 229 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 3 {2 2,2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.00307/1.382, allocations: 1.255 MB / 1.183 GB, free: 14.04 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006952/1.382, allocations: 233.2 kB / 1.183 GB, free: 13.8 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01442/1.397, allocations: 5.196 MB / 1.189 GB, free: 10 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.07e-05/1.397, allocations: 20 kB / 1.189 GB, free: 9.984 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.252e-05/1.397, allocations: 7.953 kB / 1.189 GB, free: 9.977 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.567e-05/1.397, allocations: 15.95 kB / 1.189 GB, free: 9.961 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02265/1.42, allocations: 9.857 MB / 1.198 GB, free: 2.934 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.288e-05/1.42, allocations: 12.03 kB / 1.198 GB, free: 2.922 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001786/1.422, allocations: 389.3 kB / 1.199 GB, free: 2.574 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009458/1.431, allocations: 2.265 MB / 1.201 GB, free: 0.5117 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005182/1.432, allocations: 51.36 kB / 1.201 GB, free: 500 kB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01787/1.45, allocations: 13.83 MB / 1.214 GB, free: 4.566 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.566e-06/1.45, allocations: 6.906 kB / 1.214 GB, free: 4.562 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01355/1.463, allocations: 5.06 MB / 1.219 GB, free: 0.5977 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002368/1.466, allocations: 0.6772 MB / 1.22 GB, free: 92 kB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004473/1.466, allocations: 51.89 kB / 1.22 GB, free: 68 kB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001867/1.468, allocations: 234.8 kB / 1.22 GB, free: 15.87 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004813/1.468, allocations: 164.6 kB / 1.22 GB, free: 15.73 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001556/1.469, allocations: 72.11 kB / 1.22 GB, free: 15.68 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.002401/1.471, allocations: 1.445 MB / 1.222 GB, free: 14.62 MB / 0.7917 GB Notification: Performance of sort global known variables: time 2.3e-07/1.471, allocations: 0 / 1.222 GB, free: 14.62 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.004465/1.475, allocations: 1.216 MB / 1.223 GB, free: 13.51 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (194): * Single equations (assignments): 186 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 3 {2 2,2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001587/1.477, allocations: 0.655 MB / 1.224 GB, free: 13.09 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.01013/1.487, allocations: 5.798 MB / 1.229 GB, free: 8.855 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.586e-05/1.487, allocations: 4 kB / 1.229 GB, free: 8.852 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.003724/1.491, allocations: 2.307 MB / 1.232 GB, free: 7.055 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003879/1.495, allocations: 0.6046 MB / 1.232 GB, free: 6.613 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01427/1.509, allocations: 8.409 MB / 1.24 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002657/1.512, allocations: 2.512 MB / 1.243 GB, free: 13 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001243/1.513, allocations: 228.9 kB / 1.243 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of SimCode: time 1.794e-06/1.513, allocations: 0 / 1.243 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of Templates: time 0.1689/1.682, allocations: 149.7 MB / 1.389 GB, free: 7.984 MB / 0.948 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.makefile make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbineCalcHelperMain.o OMCppBuildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbineCalcHelperMain.cpp In file included from OMCppBuildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbineCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.ThreePhasesUnbalanced.Sources.Examples.WindTurbineCalcHelperMain.o] Error 1