Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.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.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.545/1.545, allocations: 251.5 MB / 267.4 MB, free: 11.07 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.000956/0.0009558, allocations: 175.3 kB / 326.5 MB, free: 2.695 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.753/1.753, allocations: 205 MB / 0.5766 GB, free: 21.04 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.0007419/0.0007421, allocations: 99.84 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004904/0.0004905, allocations: 11.78 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.3355, allocations: 105.4 MB / 0.8968 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.006284/0.3418, allocations: 5.447 MB / 0.9021 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1791/0.5209, allocations: 152.9 MB / 1.051 GB, free: 5.211 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001368/0.5223, allocations: 23.88 kB / 1.051 GB, free: 5.188 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.004905/0.5273, allocations: 1.614 MB / 1.053 GB, free: 3.57 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.002408/0.5297, allocations: 0.5742 MB / 1.054 GB, free: 2.996 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002431/0.5321, allocations: 0.8228 MB / 1.054 GB, free: 2.18 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.5585/1.091, allocations: 3.136 MB / 1.057 GB, free: 3.414 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001591/1.092, allocations: 0.8751 MB / 1.058 GB, free: 3.25 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001937/1.094, allocations: 0.8419 MB / 1.059 GB, free: 3.25 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001284/1.095, allocations: 0.7751 MB / 1.06 GB, free: 3.25 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001667/1.096, allocations: 45.06 kB / 1.06 GB, free: 3.25 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004223/1.1, allocations: 1.881 MB / 1.062 GB, free: 3.25 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.002378/1.102, allocations: 1.72 MB / 1.063 GB, free: 3.25 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001551/1.104, allocations: 0.8742 MB / 1.064 GB, free: 3.25 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.007124/1.111, allocations: 3.026 MB / 1.067 GB, free: 3.102 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/1.111, allocations: 0.7812 kB / 1.067 GB, free: 3.102 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.044e-06/1.111, allocations: 0 / 1.067 GB, free: 3.102 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001199/1.111, allocations: 4.719 kB / 1.067 GB, free: 3.098 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: 309 * Number of variables: 309 Notification: Performance of Generate backend data structure: time 0.00724/1.118, allocations: 2.372 MB / 1.07 GB, free: 1.805 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/1.118, allocations: 9.062 kB / 1.07 GB, free: 1.805 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001338/1.12, allocations: 298 kB / 1.07 GB, free: 1.68 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006901/1.127, allocations: 4.511 MB / 1.074 GB, free: 1.227 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.873e-05/1.127, allocations: 122.3 kB / 1.074 GB, free: 1.223 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000244/1.127, allocations: 171.8 kB / 1.075 GB, free: 1.223 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002632/1.13, allocations: 1.556 MB / 1.076 GB, free: 1.043 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.905e-05/1.13, allocations: 7.188 kB / 1.076 GB, free: 1.039 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/1.13, allocations: 49.25 kB / 1.076 GB, free: 1.039 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.006e-05/1.13, allocations: 26.53 kB / 1.076 GB, free: 1.039 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002332/1.132, allocations: 1.649 MB / 1.078 GB, free: 1.02 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01045/1.143, allocations: 6.769 MB / 1.084 GB, free: 16.05 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001872/1.145, allocations: 1.473 MB / 1.086 GB, free: 16.01 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001009/1.146, allocations: 0.9927 MB / 1.087 GB, free: 16 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.268e-05/1.146, allocations: 34.45 kB / 1.087 GB, free: 16 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001124/1.147, allocations: 0.8888 MB / 1.088 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=106): time 3.096e-06/1.147, allocations: 0 / 1.088 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of matching and sorting (n=106): time 0.004304/1.151, allocations: 2.685 MB / 1.09 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002434/1.151, allocations: 339.6 kB / 1.091 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01169/1.163, allocations: 7.308 MB / 1.098 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0007561/1.164, allocations: 70.8 kB / 1.098 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.00115/1.165, allocations: 0.749 MB / 1.099 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005984/1.166, allocations: 366.8 kB / 1.099 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001452/1.167, allocations: 1.596 MB / 1.1 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001248/1.167, allocations: 309.1 kB / 1.101 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01201/1.179, allocations: 12.95 MB / 1.113 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01444/1.194, allocations: 13.66 MB / 1.127 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02894/1.223, allocations: 17.98 MB / 1.144 GB, free: 8.707 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.926e-05/1.223, allocations: 4 kB / 1.144 GB, free: 8.703 MB / 0.7292 GB Notification: Performance of matching and sorting (n=778) (initialization): time 0.03376/1.257, allocations: 31.16 MB / 1.175 GB, free: 9.594 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003008/1.257, allocations: 177.6 kB / 1.175 GB, free: 9.414 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.626e-05/1.257, allocations: 16 kB / 1.175 GB, free: 9.398 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.068e-05/1.257, allocations: 20 kB / 1.175 GB, free: 9.379 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002162/1.259, allocations: 454 kB / 1.175 GB, free: 8.965 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.554e-05/1.259, allocations: 37.73 kB / 1.175 GB, free: 8.938 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001948/1.261, allocations: 275 kB / 1.176 GB, free: 8.668 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002274/1.262, allocations: 107.6 kB / 1.176 GB, free: 8.566 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (274): * Single equations (assignments): 260 * Array equations: 13 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001791/1.263, allocations: 1.21 MB / 1.177 GB, free: 7.371 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003406/1.264, allocations: 165.8 kB / 1.177 GB, free: 7.207 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003747/1.267, allocations: 2.603 MB / 1.18 GB, free: 4.59 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.919e-06/1.267, allocations: 8 kB / 1.18 GB, free: 4.582 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/1.267, allocations: 3.984 kB / 1.18 GB, free: 4.578 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/1.268, allocations: 7.922 kB / 1.18 GB, free: 4.57 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005509/1.273, allocations: 4.099 MB / 1.184 GB, free: 448 kB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/1.273, allocations: 0 / 1.184 GB, free: 448 kB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006162/1.274, allocations: 152.7 kB / 1.184 GB, free: 304 kB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.217e-06/1.274, allocations: 4 kB / 1.184 GB, free: 300 kB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.257e-05/1.274, allocations: 35.92 kB / 1.184 GB, free: 264 kB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/1.274, allocations: 4 kB / 1.184 GB, free: 260 kB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/1.274, allocations: 4 kB / 1.184 GB, free: 256 kB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003242/1.277, allocations: 2.573 MB / 1.186 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006916/1.278, allocations: 398.4 kB / 1.187 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001987/1.278, allocations: 31.92 kB / 1.187 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007099/1.279, allocations: 71.95 kB / 1.187 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001567/1.279, allocations: 64.91 kB / 1.187 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.905e-05/1.279, allocations: 39.98 kB / 1.187 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.00457/1.284, allocations: 4.607 MB / 1.191 GB, free: 8.449 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.91e-07/1.284, allocations: 0 / 1.191 GB, free: 8.449 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.004808/1.288, allocations: 1.143 MB / 1.193 GB, free: 7.312 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (90): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003408/1.292, allocations: 0.9036 MB / 1.193 GB, free: 6.645 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.01943/1.311, allocations: 18.85 MB / 1.212 GB, free: 3.832 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.146e-05/1.311, allocations: 4.438 kB / 1.212 GB, free: 3.828 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.002427/1.314, allocations: 2.19 MB / 1.214 GB, free: 1.645 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001909/1.316, allocations: 318.9 kB / 1.214 GB, free: 1.332 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01226/1.328, allocations: 9.041 MB / 1.223 GB, free: 8.27 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001998/1.33, allocations: 2.155 MB / 1.225 GB, free: 6.082 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000719/1.331, allocations: 159.4 kB / 1.225 GB, free: 5.926 MB / 0.8073 GB Notification: Performance of SimCode: time 9.12e-07/1.331, allocations: 4 kB / 1.225 GB, free: 5.922 MB / 0.8073 GB Notification: Performance of Templates: time 0.09445/1.425, allocations: 54.7 MB / 1.279 GB, free: 15.5 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.makefile make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.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.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromicCalcHelperMain.o OMCppBuildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromicCalcHelperMain.cpp In file included from OMCppBuildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromicCalcHelperMain.cpp:17: ./OMCppBuildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.h:407:41: error: duplicate member '_winAbs_P_radDat_P_absExtIrrExtSha_' StatArrayDim3 _winAbs_P_radDat_P_absExtIrrExtSha_; ^ ./OMCppBuildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.h:237:41: note: previous declaration is here StatArrayDim3 _winAbs_P_radDat_P_absExtIrrExtSha_; ^ ./OMCppBuildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.h:408:41: error: duplicate member '_winAbs_P_radDat_P_absExtIrrIntSha_' StatArrayDim3 _winAbs_P_radDat_P_absExtIrrIntSha_; ^ ./OMCppBuildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.h:238:41: note: previous declaration is here StatArrayDim3 _winAbs_P_radDat_P_absExtIrrIntSha_; ^ ./OMCppBuildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.h:409:41: error: duplicate member '_winAbs_P_radDat_P_absExtIrrNoSha_' StatArrayDim3 _winAbs_P_radDat_P_absExtIrrNoSha_; ^ ./OMCppBuildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.h:239:41: note: previous declaration is here StatArrayDim3 _winAbs_P_radDat_P_absExtIrrNoSha_; ^ ./OMCppBuildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.h:410:38: error: duplicate member '_winAbs_P_radDat_P_absIntIrrExtSha_' StatArrayDim2 _winAbs_P_radDat_P_absIntIrrExtSha_; ^ ./OMCppBuildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.h:240:38: note: previous declaration is here StatArrayDim2 _winAbs_P_radDat_P_absIntIrrExtSha_; ^ ./OMCppBuildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.h:411:38: error: duplicate member '_winAbs_P_radDat_P_absIntIrrIntSha_' StatArrayDim2 _winAbs_P_radDat_P_absIntIrrIntSha_; ^ ./OMCppBuildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.h:241:38: note: previous declaration is here StatArrayDim2 _winAbs_P_radDat_P_absIntIrrIntSha_; ^ ./OMCppBuildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.h:412:38: error: duplicate member '_winAbs_P_radDat_P_absIntIrrNoSha_' StatArrayDim2 _winAbs_P_radDat_P_absIntIrrNoSha_; ^ ./OMCppBuildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.h:242:38: note: previous declaration is here StatArrayDim2 _winAbs_P_radDat_P_absIntIrrNoSha_; ^ ./OMCppBuildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.h:413:39: error: duplicate member '_winAbs_P_radDat_P_devAbsExtIrrIntShaDev_' StatArrayDim2 _winAbs_P_radDat_P_devAbsExtIrrIntShaDev_; ^ ./OMCppBuildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.h:243:39: note: previous declaration is here StatArrayDim2 _winAbs_P_radDat_P_devAbsExtIrrIntShaDev_; ^ ./OMCppBuildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.h:414:36: error: duplicate member '_winAbs_P_radDat_P_devAbsIntIrrIntSha_' StatArrayDim1 _winAbs_P_radDat_P_devAbsIntIrrIntSha_; ^ ./OMCppBuildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.h:244:36: note: previous declaration is here StatArrayDim1 _winAbs_P_radDat_P_devAbsIntIrrIntSha_; ^ ./OMCppBuildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.h:425:45: error: duplicate member '_winAbs_P_radDat_P_traRef_' StatArrayDim5 _winAbs_P_radDat_P_traRef_; ^ ./OMCppBuildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.h:245:45: note: previous declaration is here StatArrayDim5 _winAbs_P_radDat_P_traRef_; ^ ./OMCppBuildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.h:427:39: error: duplicate member '_winAbs_P_radDat_P_winTraExtIrrExtSha_' StatArrayDim2 _winAbs_P_radDat_P_winTraExtIrrExtSha_; ^ ./OMCppBuildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.h:246:39: note: previous declaration is here StatArrayDim2 _winAbs_P_radDat_P_winTraExtIrrExtSha_; ^ ./OMCppBuildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.h:428:39: error: duplicate member '_winAbs_P_radDat_P_winTraExtIrrIntSha_' StatArrayDim2 _winAbs_P_radDat_P_winTraExtIrrIntSha_; ^ ./OMCppBuildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.h:247:39: note: previous declaration is here StatArrayDim2 _winAbs_P_radDat_P_winTraExtIrrIntSha_; ^ ./OMCppBuildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.h:429:38: error: duplicate member '_winAbs_P_radDat_P_winTraRefIntIrrExtSha_' StatArrayDim2 _winAbs_P_radDat_P_winTraRefIntIrrExtSha_; ^ ./OMCppBuildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.h:248:38: note: previous declaration is here StatArrayDim2 _winAbs_P_radDat_P_winTraRefIntIrrExtSha_; ^ ./OMCppBuildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.h:430:38: error: duplicate member '_winAbs_P_radDat_P_winTraRefIntIrrIntSha_' StatArrayDim2 _winAbs_P_radDat_P_winTraRefIntIrrIntSha_; ^ ./OMCppBuildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.h:249:38: note: previous declaration is here StatArrayDim2 _winAbs_P_radDat_P_winTraRefIntIrrIntSha_; ^ In file included from OMCppBuildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromicCalcHelperMain.cpp:27: ./OMCppBuildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromicMixed.cpp:7:3: error: no matching constructor for initialization of 'AbsorbedRadiationElectrochromicJacobian' : AbsorbedRadiationElectrochromicJacobian(instance) ^ ~~~~~~~~ ./OMCppBuildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromicJacobian.h:13:3: note: candidate constructor not viable: no known conversion from 'AbsorbedRadiationElectrochromicMixed' to 'AbsorbedRadiationElectrochromicJacobian &' for 1st argument AbsorbedRadiationElectrochromicJacobian(AbsorbedRadiationElectrochromicJacobian& instance); ^ ./OMCppBuildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromicJacobian.h:12:3: note: candidate constructor not viable: requires 2 arguments, but 1 was provided AbsorbedRadiationElectrochromicJacobian(IGlobalSettings* globalSettings, shared_ptr simObjects); ^ In file included from OMCppBuildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromicCalcHelperMain.cpp:27: ./OMCppBuildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromicMixed.cpp:25:14: error: cannot initialize object parameter of type 'AbsorbedRadiationElectrochromicJacobian' with an expression of type 'AbsorbedRadiationElectrochromicMixed' return getAJacobian(); ^~~~~~~~~~~~ ./OMCppBuildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromicMixed.cpp:101:43: error: cannot initialize object parameter of type 'AbsorbedRadiationElectrochromic' with an expression of type 'AbsorbedRadiationElectrochromicMixed' return AbsorbedRadiationElectrochromic::saveAll(); ^~~~~~~ In file included from OMCppBuildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromicCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromicFunctions.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); ^ ~~~~~~~~~~~~~~~~~~~~~~~ In file included from OMCppBuildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromicCalcHelperMain.cpp:29: ./OMCppBuildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromicInitialize.cpp:10:3: error: no matching constructor for initialization of 'AbsorbedRadiationElectrochromicWriteOutput' : AbsorbedRadiationElectrochromicWriteOutput(instance) ^ ~~~~~~~~ ./OMCppBuildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromicWriteOutput.h:14:3: note: candidate constructor not viable: no known conversion from 'AbsorbedRadiationElectrochromicInitialize' to 'AbsorbedRadiationElectrochromicWriteOutput &' for 1st argument AbsorbedRadiationElectrochromicWriteOutput(AbsorbedRadiationElectrochromicWriteOutput& instance); ^ ./OMCppBuildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromicWriteOutput.h:13:3: note: candidate constructor not viable: requires 2 arguments, but 1 was provided AbsorbedRadiationElectrochromicWriteOutput(IGlobalSettings* globalSettings, shared_ptr simObjects); ^ In file included from OMCppBuildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromicCalcHelperMain.cpp:29: ./OMCppBuildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromicInitialize.cpp:28:10: error: cannot initialize return object of type 'IMixedSystem *' with an rvalue of type 'AbsorbedRadiationElectrochromicInitialize *' return new AbsorbedRadiationElectrochromicInitialize(*this); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: OMCppBuildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromicCalcHelperMain.o] Error 1