Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 99.53 kB / 16.27 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 191 kB / 17.2 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.404/1.404, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.773/1.773, allocations: 292.3 MB / 0.5495 GB, free: 17.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001487, allocations: 71.91 kB / 0.6722 GB, free: 6.504 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.2465, allocations: 114.6 MB / 0.784 GB, free: 3.836 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine): time 0.4121/0.6587, allocations: 7.021 MB / 0.7909 GB, free: 45.69 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.1747/0.8335, allocations: 151.9 MB / 0.9392 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001315/0.8348, allocations: 27.88 kB / 0.9393 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002059/0.837, allocations: 0.7208 MB / 0.94 GB, free: 10.87 MB / 0.7325 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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.002512/0.8395, allocations: 0.7575 MB / 0.9407 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002736/0.8422, allocations: 1.004 MB / 0.9417 GB, free: 9.125 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002003/0.8442, allocations: 1.694 MB / 0.9433 GB, free: 7.426 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00193/0.8462, allocations: 1.35 MB / 0.9447 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009943/0.8472, allocations: 0.6228 MB / 0.9453 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001/0.8482, allocations: 0.708 MB / 0.946 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002243/0.8485, allocations: 136 kB / 0.9461 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001238/0.8497, allocations: 0.6047 MB / 0.9467 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003821/0.8501, allocations: 450.6 kB / 0.9471 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0006443/0.8507, allocations: 0.6955 MB / 0.9478 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002426/0.8532, allocations: 2.041 MB / 0.9498 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.8532, allocations: 0 / 0.9498 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.903e-06/0.8532, allocations: 0 / 0.9498 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.979e-05/0.8532, allocations: 0 / 0.9498 GB, free: 0.7852 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 277 * Number of variables: 277 Notification: Performance of Generate backend data structure: time 0.002908/0.8562, allocations: 1.724 MB / 0.9515 GB, free: 15 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.8562, allocations: 12.03 kB / 0.9515 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001445/0.8577, allocations: 278.9 kB / 0.9517 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001465/0.8591, allocations: 0.9568 MB / 0.9527 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.813e-05/0.8592, allocations: 82.09 kB / 0.9528 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001481/0.8594, allocations: 100 kB / 0.9528 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002136/0.8615, allocations: 1.31 MB / 0.9541 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.859e-05/0.8616, allocations: 0 / 0.9541 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001207/0.8617, allocations: 48 kB / 0.9542 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.043e-05/0.8618, allocations: 65.97 kB / 0.9542 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002214/0.864, allocations: 1.459 MB / 0.9557 GB, free: 10.56 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006158/0.8702, allocations: 4.683 MB / 0.9602 GB, free: 5.637 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001706/0.8719, allocations: 1.003 MB / 0.9612 GB, free: 4.621 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007048/0.8727, allocations: 429.6 kB / 0.9616 GB, free: 4.199 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002098/0.8729, allocations: 118.1 kB / 0.9617 GB, free: 4.062 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009343/0.8738, allocations: 0.5805 MB / 0.9623 GB, free: 3.461 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=94): time 2.395e-06/0.8738, allocations: 0 / 0.9623 GB, free: 3.461 MB / 0.7481 GB Notification: Performance of matching and sorting (n=95): time 0.005028/0.8789, allocations: 2.115 MB / 0.9644 GB, free: 1.312 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001579/0.8791, allocations: 244.3 kB / 0.9646 GB, free: 1.02 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001239/0.8803, allocations: 0.9023 MB / 0.9655 GB, free: 92 kB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 8.791e-05/0.8804, allocations: 41.7 kB / 0.9655 GB, free: 44 kB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004803/0.8809, allocations: 0.5312 MB / 0.966 GB, free: 15.5 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002638/0.8812, allocations: 325.2 kB / 0.9663 GB, free: 15.18 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003007/0.8815, allocations: 202.4 kB / 0.9665 GB, free: 14.98 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.8816, allocations: 345.9 kB / 0.9669 GB, free: 14.64 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006595/0.8823, allocations: 384.6 kB / 0.9672 GB, free: 14.26 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007829/0.8831, allocations: 0.5442 MB / 0.9678 GB, free: 13.66 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00144/0.8845, allocations: 0.9175 MB / 0.9687 GB, free: 12.7 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.8845, allocations: 0 / 0.9687 GB, free: 12.7 MB / 0.7637 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002746/0.8873, allocations: 1.262 MB / 0.9699 GB, free: 11.43 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.8873, allocations: 12.03 kB / 0.9699 GB, free: 11.41 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.8873, allocations: 4 kB / 0.9699 GB, free: 11.41 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001272/0.8886, allocations: 256.5 kB / 0.9702 GB, free: 11.16 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008783/0.8895, allocations: 215.6 kB / 0.9704 GB, free: 10.95 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003194/0.8927, allocations: 2.127 MB / 0.9724 GB, free: 8.684 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/0.8938, allocations: 107.4 kB / 0.9725 GB, free: 8.578 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.176e-05/0.8939, allocations: 43.97 kB / 0.9726 GB, free: 8.535 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001136/0.8951, allocations: 0.619 MB / 0.9732 GB, free: 7.914 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00078/0.8959, allocations: 0.5252 MB / 0.9737 GB, free: 7.336 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001355/0.8972, allocations: 0.873 MB / 0.9746 GB, free: 6.418 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.569e-06/0.8972, allocations: 4 kB / 0.9746 GB, free: 6.414 MB / 0.7637 GB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.001886/0.8991, allocations: 1.054 MB / 0.9756 GB, free: 5.355 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.8992, allocations: 8 kB / 0.9756 GB, free: 5.348 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.8992, allocations: 7.938 kB / 0.9756 GB, free: 5.34 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.8992, allocations: 10.84 kB / 0.9756 GB, free: 5.332 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008537/0.9001, allocations: 223.6 kB / 0.9758 GB, free: 5.113 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.435e-05/0.9001, allocations: 12.39 kB / 0.9758 GB, free: 5.102 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008301/0.9009, allocations: 100.1 kB / 0.9759 GB, free: 5.004 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.575e-05/0.901, allocations: 43.97 kB / 0.976 GB, free: 4.961 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (116): * Single equations (assignments): 115 * 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 {(2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003196/0.9013, allocations: 244 kB / 0.9762 GB, free: 4.715 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002054/0.9015, allocations: 110.6 kB / 0.9763 GB, free: 4.605 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002719/0.9043, allocations: 1.304 MB / 0.9776 GB, free: 3.293 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/0.9043, allocations: 12 kB / 0.9776 GB, free: 3.281 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.9043, allocations: 0 / 0.9776 GB, free: 3.281 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/0.9043, allocations: 3.984 kB / 0.9776 GB, free: 3.277 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004237/0.9086, allocations: 2.66 MB / 0.9802 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.9086, allocations: 4 kB / 0.9802 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007485/0.9093, allocations: 193.7 kB / 0.9804 GB, free: 352 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008224/0.9102, allocations: 212.7 kB / 0.9806 GB, free: 136 kB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.215e-05/0.9102, allocations: 23.98 kB / 0.9806 GB, free: 112 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002149/0.9124, allocations: 1.978 MB / 0.9825 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.9124, allocations: 4.031 kB / 0.9825 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002444/0.9149, allocations: 1.392 MB / 0.9839 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004499/0.9153, allocations: 321.5 kB / 0.9842 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001552/0.9155, allocations: 31.92 kB / 0.9842 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007582/0.9163, allocations: 79.38 kB / 0.9843 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001563/0.9164, allocations: 80.83 kB / 0.9844 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.182e-05/0.9165, allocations: 39.98 kB / 0.9844 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0008148/0.9173, allocations: 0.6327 MB / 0.9851 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.503e-06/0.9173, allocations: 0 / 0.9851 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001367/0.9187, allocations: 475.9 kB / 0.9855 GB, free: 10.9 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (105): * Single equations (assignments): 102 * 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 {(2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001236/0.92, allocations: 0.5695 MB / 0.9861 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.003742/0.9237, allocations: 1.916 MB / 0.9879 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.9237, allocations: 0 / 0.9879 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001038/0.9248, allocations: 0.6446 MB / 0.9886 GB, free: 7.977 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001596/0.9264, allocations: 351 kB / 0.9889 GB, free: 7.66 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003728/0.9301, allocations: 2.408 MB / 0.9913 GB, free: 5.203 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007105/0.9309, allocations: 1.182 MB / 0.9924 GB, free: 3.992 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003936/0.9313, allocations: 139.3 kB / 0.9925 GB, free: 3.855 MB / 0.7794 GB Notification: Performance of SimCode: time 1.172e-06/0.9313, allocations: 4 kB / 0.9925 GB, free: 3.852 MB / 0.7794 GB Notification: Performance of Templates: time 0.0313/0.9626, allocations: 23.14 MB / 1.015 GB, free: 12.84 MB / 0.8106 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.makefile make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.makefile clang++ -std=c++17 -fopenmp=libomp -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 8.1.4-maint.8.1.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 8.1.4-maint.8.1.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbineCalcHelperMain.o OMCppBuildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbineCalcHelperMain.cpp In file included from OMCppBuildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbineCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbineFunctions.cpp:5: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/getTimeSpan.c:27: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_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbineCalcHelperMain.o] Error 1