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.443/1.443, 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.0009772/0.0009773, allocations: 179.6 kB / 326.5 MB, free: 2.699 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.701/1.701, allocations: 205 MB / 0.5766 GB, free: 20.99 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.0008337/0.0008334, allocations: 92.58 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003417/0.0003417, allocations: 8.469 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.2252, allocations: 105.4 MB / 0.8968 GB, free: 68.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine): time 0.01833/0.2435, allocations: 20.63 MB / 0.9169 GB, free: 47.48 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.6861/0.9297, allocations: 155.7 MB / 1.069 GB, free: 5.93 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003075/0.9328, allocations: 62 kB / 1.069 GB, free: 5.93 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.004861/0.9377, allocations: 1.708 MB / 1.071 GB, free: 5.875 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.006635/0.9444, allocations: 1.73 MB / 1.072 GB, free: 5.789 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.006505/0.9509, allocations: 2.044 MB / 1.074 GB, free: 5.715 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.009673/0.9606, allocations: 6.633 MB / 1.081 GB, free: 5.691 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009379/0.97, allocations: 5.95 MB / 1.087 GB, free: 4.707 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003682/0.9737, allocations: 1.529 MB / 1.088 GB, free: 4.707 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003274/0.977, allocations: 2.006 MB / 1.09 GB, free: 4.688 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0004917/0.9775, allocations: 166.8 kB / 1.09 GB, free: 4.688 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002358/0.9799, allocations: 0.9573 MB / 1.091 GB, free: 4.668 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001435/0.9813, allocations: 1.336 MB / 1.093 GB, free: 4.668 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001917/0.9832, allocations: 1.679 MB / 1.094 GB, free: 4.598 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.005455/0.9887, allocations: 5.695 MB / 1.1 GB, free: 4.285 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.9887, allocations: 0 / 1.1 GB, free: 4.285 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.234e-06/0.9887, allocations: 4 kB / 1.1 GB, free: 4.281 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001696/0.9889, allocations: 0 / 1.1 GB, free: 4.281 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.00621/0.9951, allocations: 3.267 MB / 1.103 GB, free: 2.668 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.9952, allocations: 12.28 kB / 1.103 GB, free: 2.664 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003513/0.9987, allocations: 0.8067 MB / 1.104 GB, free: 2.457 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0038/1.003, allocations: 2.409 MB / 1.106 GB, free: 1.895 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001356/1.003, allocations: 231.7 kB / 1.106 GB, free: 1.887 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004471/1.003, allocations: 302.9 kB / 1.107 GB, free: 1.887 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008186/1.011, allocations: 4.744 MB / 1.111 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.815e-05/1.011, allocations: 13 kB / 1.111 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000288/1.012, allocations: 137.9 kB / 1.111 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003604/1.012, allocations: 215.6 kB / 1.112 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006514/1.019, allocations: 4.321 MB / 1.116 GB, free: 0 / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02343/1.042, allocations: 19.53 MB / 1.135 GB, free: 2.996 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002899/1.045, allocations: 1.994 MB / 1.137 GB, free: 2.457 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001408/1.046, allocations: 1.117 MB / 1.138 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002335/1.047, allocations: 135.5 kB / 1.138 GB, free: 1.773 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001701/1.048, allocations: 1.202 MB / 1.139 GB, free: 1.043 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=160): time 3.226e-06/1.048, allocations: 0 / 1.139 GB, free: 1.043 MB / 0.7136 GB Notification: Performance of matching and sorting (n=197): time 0.03365/1.082, allocations: 11.21 MB / 1.15 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001539/1.082, allocations: 304.7 kB / 1.15 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003173/1.085, allocations: 2.079 MB / 1.152 GB, free: 8.09 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0003536/1.086, allocations: 57.7 kB / 1.153 GB, free: 8.027 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001483/1.087, allocations: 1.48 MB / 1.154 GB, free: 6.531 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006431/1.088, allocations: 0.6632 MB / 1.155 GB, free: 5.875 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003172/1.088, allocations: 157.6 kB / 1.155 GB, free: 5.715 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.951e-05/1.088, allocations: 301.1 kB / 1.155 GB, free: 5.418 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001807/1.09, allocations: 1.183 MB / 1.156 GB, free: 4.234 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002196/1.092, allocations: 1.634 MB / 1.158 GB, free: 2.461 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004023/1.096, allocations: 2.89 MB / 1.161 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/1.096, allocations: 0 / 1.161 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of matching and sorting (n=253) (initialization): time 0.01381/1.11, allocations: 5.18 MB / 1.166 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003093/1.111, allocations: 367 kB / 1.166 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.151e-05/1.111, allocations: 11.94 kB / 1.166 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01065/1.121, allocations: 2.449 MB / 1.168 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002212/1.124, allocations: 465.4 kB / 1.169 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01962/1.143, allocations: 14.24 MB / 1.183 GB, free: 7.973 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002791/1.146, allocations: 198.5 kB / 1.183 GB, free: 7.781 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002926/1.146, allocations: 87.95 kB / 1.183 GB, free: 7.695 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 9.558e-06/1.146, allocations: 4 kB / 1.183 GB, free: 7.691 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01083/1.157, allocations: 4.207 MB / 1.187 GB, free: 3.535 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.909e-05/1.157, allocations: 8 kB / 1.187 GB, free: 3.527 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006911/1.164, allocations: 1.621 MB / 1.189 GB, free: 1.898 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002138/1.166, allocations: 491 kB / 1.189 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01302/1.179, allocations: 8.391 MB / 1.197 GB, free: 8.684 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002717/1.182, allocations: 183.8 kB / 1.198 GB, free: 8.504 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004507/1.183, allocations: 83.97 kB / 1.198 GB, free: 8.422 MB / 0.7761 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 (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 (235): * Single equations (assignments): 229 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,2), (2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.003145/1.186, allocations: 1.258 MB / 1.199 GB, free: 7.18 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008231/1.187, allocations: 229.2 kB / 1.199 GB, free: 6.953 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01396/1.2, allocations: 5.204 MB / 1.204 GB, free: 1.73 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.178e-05/1.201, allocations: 20 kB / 1.204 GB, free: 1.711 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.61e-05/1.201, allocations: 0 / 1.204 GB, free: 1.711 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.679e-05/1.201, allocations: 13.84 kB / 1.204 GB, free: 1.699 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0224/1.223, allocations: 9.89 MB / 1.214 GB, free: 7.738 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.04e-05/1.223, allocations: 8 kB / 1.214 GB, free: 7.73 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001516/1.225, allocations: 388.2 kB / 1.214 GB, free: 7.371 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009431/1.234, allocations: 2.264 MB / 1.217 GB, free: 5.09 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003694/1.234, allocations: 51.98 kB / 1.217 GB, free: 5.039 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01824/1.253, allocations: 13.84 MB / 1.23 GB, free: 6.453 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-05/1.253, allocations: 10.53 kB / 1.23 GB, free: 6.445 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01601/1.269, allocations: 5.08 MB / 1.235 GB, free: 1.273 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00174/1.271, allocations: 0.631 MB / 1.236 GB, free: 0.6211 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008618/1.271, allocations: 51.94 kB / 1.236 GB, free: 0.5703 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002248/1.274, allocations: 223.7 kB / 1.236 GB, free: 360 kB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005603/1.274, allocations: 162.9 kB / 1.236 GB, free: 200 kB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002221/1.274, allocations: 75.97 kB / 1.236 GB, free: 124 kB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.002922/1.277, allocations: 1.457 MB / 1.238 GB, free: 14.64 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.3e-07/1.277, allocations: 3.938 kB / 1.238 GB, free: 14.64 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.005705/1.283, allocations: 1.226 MB / 1.239 GB, free: 13.41 MB / 0.823 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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,2), (2,2), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001697/1.285, allocations: 0.662 MB / 1.239 GB, free: 12.95 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01087/1.296, allocations: 5.98 MB / 1.245 GB, free: 6.949 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.329e-05/1.296, allocations: 4 kB / 1.245 GB, free: 6.945 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.003655/1.299, allocations: 2.318 MB / 1.248 GB, free: 4.605 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004997/1.304, allocations: 0.6332 MB / 1.248 GB, free: 3.98 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01558/1.32, allocations: 8.655 MB / 1.257 GB, free: 11.24 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003263/1.323, allocations: 2.507 MB / 1.259 GB, free: 8.695 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001036/1.324, allocations: 235.3 kB / 1.259 GB, free: 8.465 MB / 0.8386 GB Notification: Performance of SimCode: time 1.132e-06/1.324, allocations: 0 / 1.259 GB, free: 8.465 MB / 0.8386 GB Notification: Performance of Templates: time 0.1612/1.486, allocations: 149.5 MB / 1.405 GB, free: 2.941 MB / 0.9792 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++ -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.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