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_N.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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.446/1.446, allocations: 252 MB / 267.6 MB, free: 10.92 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.001065/0.001065, allocations: 178.6 kB / 327.3 MB, free: 2.223 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.084/2.084, allocations: 205.4 MB / 0.5783 GB, free: 20.46 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.0008023/0.0008022, allocations: 91.56 kB / 0.6829 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003961/0.0003961, allocations: 13.17 kB / 0.797 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.2593, allocations: 106.3 MB / 0.9008 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N): time 0.01823/0.2775, allocations: 18.87 MB / 0.9193 GB, free: 45.37 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.8765/1.154, allocations: 143.9 MB / 1.06 GB, free: 7.672 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003234/1.157, allocations: 61.56 kB / 1.06 GB, free: 7.672 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001879/1.159, allocations: 0.5119 MB / 1.06 GB, free: 7.668 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.005971/1.165, allocations: 1.442 MB / 1.062 GB, free: 7.594 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005393/1.171, allocations: 1.351 MB / 1.063 GB, free: 7.543 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.009628/1.18, allocations: 5.166 MB / 1.068 GB, free: 7.523 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01507/1.195, allocations: 5.693 MB / 1.074 GB, free: 6.664 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005815/1.201, allocations: 1.459 MB / 1.075 GB, free: 6.66 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00573/1.207, allocations: 1.871 MB / 1.077 GB, free: 6.652 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001318/1.208, allocations: 161.7 kB / 1.077 GB, free: 6.652 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003658/1.212, allocations: 0.5981 MB / 1.078 GB, free: 6.629 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.002275/1.214, allocations: 1.259 MB / 1.079 GB, free: 6.629 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001669/1.216, allocations: 0.6648 MB / 1.08 GB, free: 6.598 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0105/1.227, allocations: 5.411 MB / 1.085 GB, free: 6.309 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.457e-05/1.227, allocations: 0 / 1.085 GB, free: 6.309 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.33e-06/1.227, allocations: 0 / 1.085 GB, free: 6.309 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0004238/1.227, allocations: 0 / 1.085 GB, free: 6.309 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: 808 * Number of variables: 808 Notification: Performance of Generate backend data structure: time 0.01299/1.24, allocations: 3.2 MB / 1.088 GB, free: 4.777 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/1.24, allocations: 8.125 kB / 1.088 GB, free: 4.777 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005288/1.246, allocations: 0.8283 MB / 1.089 GB, free: 4.582 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006434/1.252, allocations: 2.178 MB / 1.091 GB, free: 4.117 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002359/1.252, allocations: 229.5 kB / 1.091 GB, free: 4.105 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001439/1.254, allocations: 301.6 kB / 1.091 GB, free: 4.105 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01267/1.266, allocations: 4.667 MB / 1.096 GB, free: 3.676 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.333e-05/1.267, allocations: 4.938 kB / 1.096 GB, free: 3.676 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004115/1.267, allocations: 135.2 kB / 1.096 GB, free: 3.668 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004339/1.267, allocations: 211.6 kB / 1.096 GB, free: 3.66 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009276/1.277, allocations: 4.278 MB / 1.101 GB, free: 3.629 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03783/1.315, allocations: 18.46 MB / 1.119 GB, free: 7.848 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003774/1.318, allocations: 2.107 MB / 1.121 GB, free: 7.395 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001905/1.32, allocations: 1.109 MB / 1.122 GB, free: 7.215 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002654/1.321, allocations: 129.7 kB / 1.122 GB, free: 7.113 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002152/1.323, allocations: 1.171 MB / 1.123 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=157): time 9.077e-06/1.323, allocations: 3.469 kB / 1.123 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of matching and sorting (n=192): time 0.03793/1.361, allocations: 10.36 MB / 1.133 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002591/1.361, allocations: 362.5 kB / 1.133 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004827/1.366, allocations: 1.874 MB / 1.135 GB, free: 2.207 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.000633/1.367, allocations: 65.11 kB / 1.135 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.002132/1.369, allocations: 1.435 MB / 1.137 GB, free: 1.363 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.001383/1.37, allocations: 0.6486 MB / 1.137 GB, free: 0.8906 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004025/1.371, allocations: 42.03 kB / 1.137 GB, free: 0.8906 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0003402/1.371, allocations: 391.3 kB / 1.138 GB, free: 0.5586 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002662/1.374, allocations: 1.137 MB / 1.139 GB, free: 388 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003016/1.377, allocations: 1.654 MB / 1.14 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002819/1.38, allocations: 1.407 MB / 1.142 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.253e-05/1.38, allocations: 6.219 kB / 1.142 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.01479/1.394, allocations: 4.633 MB / 1.146 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006548/1.395, allocations: 467.2 kB / 1.147 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.595e-05/1.395, allocations: 12 kB / 1.147 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00831/1.404, allocations: 1.842 MB / 1.149 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002584/1.406, allocations: 474.9 kB / 1.149 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01802/1.424, allocations: 9.331 MB / 1.158 GB, free: 3.297 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003365/1.428, allocations: 206.2 kB / 1.158 GB, free: 3.129 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000648/1.428, allocations: 97.64 kB / 1.158 GB, free: 3.051 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/1.428, allocations: 4 kB / 1.158 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01158/1.44, allocations: 3.825 MB / 1.162 GB, free: 408 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.663e-05/1.44, allocations: 12.09 kB / 1.162 GB, free: 396 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005236/1.445, allocations: 1.204 MB / 1.163 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002586/1.448, allocations: 494.9 kB / 1.164 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0106/1.459, allocations: 5.656 MB / 1.169 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002993/1.462, allocations: 181.4 kB / 1.17 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006409/1.462, allocations: 93.84 kB / 1.17 GB, free: 10.57 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (232): * Single equations (assignments): 230 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 13} * Non-linear torn systems: 1 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.003865/1.466, allocations: 1.233 MB / 1.171 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001047/1.467, allocations: 217.4 kB / 1.171 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0128/1.48, allocations: 4.514 MB / 1.175 GB, free: 6.297 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.324e-05/1.48, allocations: 20 kB / 1.176 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.441e-05/1.48, allocations: 4 kB / 1.176 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.693e-05/1.48, allocations: 11.95 kB / 1.176 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02573/1.506, allocations: 9.55 MB / 1.185 GB, free: 15.4 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.174e-05/1.506, allocations: 11.94 kB / 1.185 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001953/1.508, allocations: 372.7 kB / 1.185 GB, free: 15.05 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007947/1.516, allocations: 1.7 MB / 1.187 GB, free: 13.54 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006452/1.517, allocations: 51.42 kB / 1.187 GB, free: 13.52 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0168/1.534, allocations: 9.026 MB / 1.196 GB, free: 6.848 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-05/1.534, allocations: 14.86 kB / 1.196 GB, free: 6.836 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01308/1.547, allocations: 4.534 MB / 1.2 GB, free: 3.273 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002577/1.549, allocations: 0.6327 MB / 1.201 GB, free: 2.785 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001769/1.551, allocations: 51.86 kB / 1.201 GB, free: 2.762 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003487/1.555, allocations: 208.9 kB / 1.201 GB, free: 2.582 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001075/1.556, allocations: 159.2 kB / 1.201 GB, free: 2.453 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005228/1.556, allocations: 70.86 kB / 1.201 GB, free: 2.398 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.004124/1.561, allocations: 1.302 MB / 1.203 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.743e-06/1.561, allocations: 4 kB / 1.203 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.007296/1.568, allocations: 1.202 MB / 1.204 GB, free: 352 kB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (177): * Single equations (assignments): 173 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 13} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.002013/1.57, allocations: 0.6507 MB / 1.204 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0132/1.583, allocations: 5.473 MB / 1.21 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.646e-05/1.583, allocations: 0 / 1.21 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.00459/1.588, allocations: 2 MB / 1.212 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005009/1.593, allocations: 0.591 MB / 1.212 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01806/1.611, allocations: 8.115 MB / 1.22 GB, free: 2.988 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004821/1.616, allocations: 2.452 MB / 1.223 GB, free: 0.7695 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001501/1.617, allocations: 213.4 kB / 1.223 GB, free: 0.5781 MB / 0.7761 GB Notification: Performance of SimCode: time 1.823e-06/1.617, allocations: 0 / 1.223 GB, free: 0.5781 MB / 0.7761 GB Notification: Performance of Templates: time 0.1282/1.746, allocations: 76.87 MB / 1.298 GB, free: 4.59 MB / 0.8542 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.makefile make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.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.WindTurbine_NCalcHelperMain.o OMCppBuildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_NCalcHelperMain.cpp In file included from OMCppBuildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_NCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_NFunctions.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.WindTurbine_NCalcHelperMain.o] Error 1