Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.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.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 108.5 kB / 15.99 MB, free: 6.359 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.001081/0.001081, allocations: 193 kB / 16.91 MB, free: 6.195 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.502/1.502, allocations: 205.1 MB / 222.8 MB, free: 4.691 MB / 174.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.708/1.708, allocations: 292.3 MB / 0.5492 GB, free: 13.61 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.001424/0.001424, allocations: 70.95 kB / 0.6717 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.252/0.2534, allocations: 114.6 MB / 0.7835 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.007786/0.2613, allocations: 5.772 MB / 0.7892 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6498/0.9111, allocations: 152.8 MB / 0.9383 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001234/0.9124, allocations: 20.94 kB / 0.9383 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.005374/0.9178, allocations: 1.609 MB / 0.9399 GB, free: 5.492 MB / 0.7325 GB [/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.002262/0.9201, allocations: 0.5889 MB / 0.9405 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002425/0.9225, allocations: 0.8587 MB / 0.9413 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003568/0.9261, allocations: 3.194 MB / 0.9445 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00123/0.9273, allocations: 0.9219 MB / 0.9454 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001981/0.9293, allocations: 1.096 MB / 0.9464 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001601/0.9309, allocations: 0.9833 MB / 0.9474 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000381/0.9313, allocations: 172.9 kB / 0.9475 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004412/0.9357, allocations: 2.117 MB / 0.9496 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.002451/0.9382, allocations: 1.878 MB / 0.9514 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.002054/0.9403, allocations: 1.069 MB / 0.9525 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.007689/0.948, allocations: 3.1 MB / 0.9555 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.948, allocations: 1.156 kB / 0.9555 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.795e-06/0.948, allocations: 0 / 0.9555 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.529e-05/0.9481, allocations: 0 / 0.9555 GB, free: 4.914 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: 309 * Number of variables: 309 Notification: Performance of Generate backend data structure: time 0.006177/0.9543, allocations: 2.809 MB / 0.9583 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.9544, allocations: 13.84 kB / 0.9583 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/0.9555, allocations: 285.1 kB / 0.9585 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00627/0.9617, allocations: 4.506 MB / 0.9629 GB, free: 18.96 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.624e-05/0.9619, allocations: 122.9 kB / 0.9631 GB, free: 18.96 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003001/0.9622, allocations: 175 kB / 0.9632 GB, free: 18.96 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002543/0.9647, allocations: 1.549 MB / 0.9647 GB, free: 18.78 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.461e-05/0.9648, allocations: 1.375 kB / 0.9647 GB, free: 18.78 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/0.9649, allocations: 51.81 kB / 0.9648 GB, free: 18.78 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.785e-05/0.9649, allocations: 30.17 kB / 0.9648 GB, free: 18.78 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002397/0.9673, allocations: 1.643 MB / 0.9664 GB, free: 18.76 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009595/0.9769, allocations: 6.677 MB / 0.973 GB, free: 17.8 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00185/0.9788, allocations: 1.462 MB / 0.9744 GB, free: 17.77 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001043/0.9799, allocations: 0.9982 MB / 0.9754 GB, free: 17.75 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 7.883e-05/0.98, allocations: 34.97 kB / 0.9754 GB, free: 17.75 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001149/0.9811, allocations: 0.8883 MB / 0.9763 GB, free: 17.69 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=106): time 3.006e-06/0.9811, allocations: 0 / 0.9763 GB, free: 17.69 MB / 0.7481 GB Notification: Performance of matching and sorting (n=106): time 0.004043/0.9852, allocations: 2.661 MB / 0.9789 GB, free: 17.49 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002383/0.9854, allocations: 348.2 kB / 0.9792 GB, free: 17.22 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009598/0.995, allocations: 7.314 MB / 0.9863 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0006008/0.9957, allocations: 71.8 kB / 0.9864 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008453/0.9965, allocations: 0.7516 MB / 0.9871 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004558/0.997, allocations: 358.8 kB / 0.9875 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001754/0.9988, allocations: 1.866 MB / 0.9893 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.9989, allocations: 301.1 kB / 0.9896 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01184/1.011, allocations: 12.95 MB / 1.002 GB, free: 5.699 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01363/1.024, allocations: 13.65 MB / 1.016 GB, free: 7.887 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01653/1.041, allocations: 17.02 MB / 1.032 GB, free: 6.625 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.51e-05/1.041, allocations: 4 kB / 1.032 GB, free: 6.621 MB / 0.7794 GB Notification: Performance of matching and sorting (n=778) (initialization): time 0.03678/1.078, allocations: 31.14 MB / 1.063 GB, free: 7.344 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.000287/1.078, allocations: 181.6 kB / 1.063 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.135e-05/1.078, allocations: 12.78 kB / 1.063 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.174e-05/1.078, allocations: 20 kB / 1.063 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002205/1.08, allocations: 462.3 kB / 1.063 GB, free: 6.707 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-05/1.081, allocations: 32.94 kB / 1.063 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002024/1.083, allocations: 266.4 kB / 1.064 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000274/1.083, allocations: 99.97 kB / 1.064 GB, free: 6.324 MB / 0.8106 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.001817/1.085, allocations: 1.214 MB / 1.065 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004379/1.085, allocations: 173.7 kB / 1.065 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004049/1.089, allocations: 2.602 MB / 1.068 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.515e-05/1.089, allocations: 8 kB / 1.068 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/1.089, allocations: 3.938 kB / 1.068 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.46e-05/1.089, allocations: 7.969 kB / 1.068 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007071/1.096, allocations: 4.084 MB / 1.072 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/1.096, allocations: 0 / 1.072 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006634/1.097, allocations: 151.6 kB / 1.072 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-05/1.097, allocations: 7.938 kB / 1.072 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.341e-05/1.097, allocations: 31.97 kB / 1.072 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.826e-06/1.097, allocations: 4 kB / 1.072 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.097, allocations: 0 / 1.072 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003535/1.101, allocations: 2.56 MB / 1.074 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007465/1.102, allocations: 410.4 kB / 1.075 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002236/1.102, allocations: 23.94 kB / 1.075 GB, free: 11 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007465/1.102, allocations: 59.94 kB / 1.075 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001698/1.103, allocations: 67.34 kB / 1.075 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001442/1.103, allocations: 47.97 kB / 1.075 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.004654/1.107, allocations: 4.595 MB / 1.079 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.11e-07/1.108, allocations: 0 / 1.079 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.004234/1.112, allocations: 1.139 MB / 1.08 GB, free: 5.098 MB / 0.8262 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.002781/1.115, allocations: 0.9028 MB / 1.081 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.02/1.135, allocations: 19.42 MB / 1.1 GB, free: 1.051 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/1.135, allocations: 8.125 kB / 1.1 GB, free: 1.043 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.002364/1.137, allocations: 2.182 MB / 1.102 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001982/1.139, allocations: 334.7 kB / 1.103 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01207/1.151, allocations: 9.041 MB / 1.112 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001933/1.153, allocations: 2.155 MB / 1.114 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008149/1.154, allocations: 155.4 kB / 1.114 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of SimCode: time 1.492e-06/1.154, allocations: 4 kB / 1.114 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of Templates: time 0.09477/1.249, allocations: 55.07 MB / 1.168 GB, free: 12.86 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.makefile make -j1 -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.makefile clang++ -std=c++14 -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.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromicCalcHelperMain.o OMCppBuildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromicCalcHelperMain.cpp In file included from OMCppBuildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromicCalcHelperMain.cpp:17: ./OMCppBuildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.h:407:41: error: duplicate member '_winAbs_P_radDat_P_absExtIrrExtSha_' StatArrayDim3 _winAbs_P_radDat_P_absExtIrrExtSha_; ^ ./OMCppBuildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.h:237:41: note: previous declaration is here StatArrayDim3 _winAbs_P_radDat_P_absExtIrrExtSha_; ^ ./OMCppBuildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.h:408:41: error: duplicate member '_winAbs_P_radDat_P_absExtIrrIntSha_' StatArrayDim3 _winAbs_P_radDat_P_absExtIrrIntSha_; ^ ./OMCppBuildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.h:238:41: note: previous declaration is here StatArrayDim3 _winAbs_P_radDat_P_absExtIrrIntSha_; ^ ./OMCppBuildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.h:409:41: error: duplicate member '_winAbs_P_radDat_P_absExtIrrNoSha_' StatArrayDim3 _winAbs_P_radDat_P_absExtIrrNoSha_; ^ ./OMCppBuildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.h:239:41: note: previous declaration is here StatArrayDim3 _winAbs_P_radDat_P_absExtIrrNoSha_; ^ ./OMCppBuildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.h:410:38: error: duplicate member '_winAbs_P_radDat_P_absIntIrrExtSha_' StatArrayDim2 _winAbs_P_radDat_P_absIntIrrExtSha_; ^ ./OMCppBuildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.h:240:38: note: previous declaration is here StatArrayDim2 _winAbs_P_radDat_P_absIntIrrExtSha_; ^ ./OMCppBuildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.h:411:38: error: duplicate member '_winAbs_P_radDat_P_absIntIrrIntSha_' StatArrayDim2 _winAbs_P_radDat_P_absIntIrrIntSha_; ^ ./OMCppBuildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.h:241:38: note: previous declaration is here StatArrayDim2 _winAbs_P_radDat_P_absIntIrrIntSha_; ^ ./OMCppBuildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.h:412:38: error: duplicate member '_winAbs_P_radDat_P_absIntIrrNoSha_' StatArrayDim2 _winAbs_P_radDat_P_absIntIrrNoSha_; ^ ./OMCppBuildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.h:242:38: note: previous declaration is here StatArrayDim2 _winAbs_P_radDat_P_absIntIrrNoSha_; ^ ./OMCppBuildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.h:413:39: error: duplicate member '_winAbs_P_radDat_P_devAbsExtIrrIntShaDev_' StatArrayDim2 _winAbs_P_radDat_P_devAbsExtIrrIntShaDev_; ^ ./OMCppBuildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.h:243:39: note: previous declaration is here StatArrayDim2 _winAbs_P_radDat_P_devAbsExtIrrIntShaDev_; ^ ./OMCppBuildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.h:414:36: error: duplicate member '_winAbs_P_radDat_P_devAbsIntIrrIntSha_' StatArrayDim1 _winAbs_P_radDat_P_devAbsIntIrrIntSha_; ^ ./OMCppBuildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.h:244:36: note: previous declaration is here StatArrayDim1 _winAbs_P_radDat_P_devAbsIntIrrIntSha_; ^ ./OMCppBuildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.h:425:45: error: duplicate member '_winAbs_P_radDat_P_traRef_' StatArrayDim5 _winAbs_P_radDat_P_traRef_; ^ ./OMCppBuildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.h:245:45: note: previous declaration is here StatArrayDim5 _winAbs_P_radDat_P_traRef_; ^ ./OMCppBuildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.h:427:39: error: duplicate member '_winAbs_P_radDat_P_winTraExtIrrExtSha_' StatArrayDim2 _winAbs_P_radDat_P_winTraExtIrrExtSha_; ^ ./OMCppBuildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.h:246:39: note: previous declaration is here StatArrayDim2 _winAbs_P_radDat_P_winTraExtIrrExtSha_; ^ ./OMCppBuildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.h:428:39: error: duplicate member '_winAbs_P_radDat_P_winTraExtIrrIntSha_' StatArrayDim2 _winAbs_P_radDat_P_winTraExtIrrIntSha_; ^ ./OMCppBuildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.h:247:39: note: previous declaration is here StatArrayDim2 _winAbs_P_radDat_P_winTraExtIrrIntSha_; ^ ./OMCppBuildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.h:429:38: error: duplicate member '_winAbs_P_radDat_P_winTraRefIntIrrExtSha_' StatArrayDim2 _winAbs_P_radDat_P_winTraRefIntIrrExtSha_; ^ ./OMCppBuildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.h:248:38: note: previous declaration is here StatArrayDim2 _winAbs_P_radDat_P_winTraRefIntIrrExtSha_; ^ ./OMCppBuildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.h:430:38: error: duplicate member '_winAbs_P_radDat_P_winTraRefIntIrrIntSha_' StatArrayDim2 _winAbs_P_radDat_P_winTraRefIntIrrIntSha_; ^ ./OMCppBuildings_8_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_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromicCalcHelperMain.cpp:27: ./OMCppBuildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromicMixed.cpp:7:3: error: no matching constructor for initialization of 'AbsorbedRadiationElectrochromicJacobian' : AbsorbedRadiationElectrochromicJacobian(instance) ^ ~~~~~~~~ ./OMCppBuildings_8_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_8_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_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromicCalcHelperMain.cpp:27: ./OMCppBuildings_8_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_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromicMixed.cpp:103:43: error: cannot initialize object parameter of type 'AbsorbedRadiationElectrochromic' with an expression of type 'AbsorbedRadiationElectrochromicMixed' return AbsorbedRadiationElectrochromic::saveAll(); ^~~~~~~ In file included from OMCppBuildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromicCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromicFunctions.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); ^ ~~~~~~~~~~~~~~~~~~~~~~~ In file included from OMCppBuildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromicCalcHelperMain.cpp:29: ./OMCppBuildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromicInitialize.cpp:10:3: error: no matching constructor for initialization of 'AbsorbedRadiationElectrochromicWriteOutput' : AbsorbedRadiationElectrochromicWriteOutput(instance) ^ ~~~~~~~~ ./OMCppBuildings_8_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_8_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_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromicCalcHelperMain.cpp:29: ./OMCppBuildings_8_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_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromicCalcHelperMain.o] Error 1