Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.Examples.RenewableSources.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.Examples.RenewableSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.Examples.RenewableSources") translateModel(Buildings.Electrical.Examples.RenewableSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.Examples.RenewableSources") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 106.4 kB / 16.27 MB, free: 5.977 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.001048/0.001048, allocations: 189.8 kB / 17.19 MB, free: 5.605 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.564/1.564, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.768/1.768, allocations: 292.3 MB / 0.5495 GB, free: 17.51 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.00151/0.001511, allocations: 79.02 kB / 0.6721 GB, free: 6.562 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.26, allocations: 114.6 MB / 0.784 GB, free: 3.891 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Examples.RenewableSources): time 0.5146/0.7747, allocations: 44.79 MB / 0.8278 GB, free: 21.95 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.218/0.9927, allocations: 172.1 MB / 0.9959 GB, free: 1.703 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009213/1.002, allocations: 155.3 kB / 0.996 GB, free: 1.551 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0136/1.016, allocations: 5.269 MB / 1.001 GB, free: 12.27 MB / 0.795 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.0183/1.034, allocations: 5.061 MB / 1.006 GB, free: 7.199 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.01417/1.048, allocations: 5.266 MB / 1.011 GB, free: 1.961 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.019/1.067, allocations: 12.56 MB / 1.024 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01766/1.085, allocations: 12.16 MB / 1.035 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0316/1.117, allocations: 8.95 MB / 1.044 GB, free: 1.254 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01059/1.127, allocations: 6.363 MB / 1.05 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.005046/1.132, allocations: 1.367 MB / 1.052 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009968/1.142, allocations: 3.301 MB / 1.055 GB, free: 6.195 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.006238/1.149, allocations: 3.537 MB / 1.058 GB, free: 2.648 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.01054/1.159, allocations: 5.808 MB / 1.064 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.02488/1.184, allocations: 17.31 MB / 1.081 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 8.235e-06/1.184, allocations: 0 / 1.081 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.645e-06/1.184, allocations: 0 / 1.081 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0005787/1.185, allocations: 0 / 1.081 GB, free: 11.45 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2462 * Number of variables: 2462 Notification: Performance of Generate backend data structure: time 0.03496/1.22, allocations: 11.15 MB / 1.092 GB, free: 172 kB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/1.22, allocations: 8.031 kB / 1.092 GB, free: 164 kB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05313/1.273, allocations: 7.979 MB / 1.1 GB, free: 8.152 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01258/1.286, allocations: 5.587 MB / 1.105 GB, free: 2.488 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007105/1.286, allocations: 0.6902 MB / 1.106 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004076/1.29, allocations: 0.9022 MB / 1.107 GB, free: 0.8945 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04443/1.335, allocations: 14.21 MB / 1.12 GB, free: 2.324 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003989/1.335, allocations: 23.78 kB / 1.121 GB, free: 2.301 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00358/1.339, allocations: 396 kB / 1.121 GB, free: 1.914 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001521/1.34, allocations: 0.5872 MB / 1.121 GB, free: 1.324 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05089/1.391, allocations: 15.2 MB / 1.136 GB, free: 2.098 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9274/2.319, allocations: 47.03 MB / 1.182 GB, free: 262.9 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04335/2.362, allocations: 9.802 MB / 1.192 GB, free: 259.6 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02727/2.389, allocations: 5.765 MB / 1.197 GB, free: 257.6 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002264/2.392, allocations: 0.7104 MB / 1.198 GB, free: 257 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03083/2.423, allocations: 6.428 MB / 1.204 GB, free: 254.1 MB / 0.92 GB Notification: Performance of pre-optimization done (n=671): time 2.608e-05/2.423, allocations: 0 / 1.204 GB, free: 254.1 MB / 0.92 GB Notification: Performance of matching and sorting (n=1187): time 2.171/4.594, allocations: 328.2 MB / 1.525 GB, free: 304.6 MB / 0.9513 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002215/4.594, allocations: 0.7048 MB / 1.526 GB, free: 303.8 MB / 0.9513 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007857/4.602, allocations: 5.53 MB / 1.531 GB, free: 302 MB / 0.9513 GB Notification: Performance of collectPreVariables (initialization): time 0.004051/4.606, allocations: 232.4 kB / 1.531 GB, free: 301.8 MB / 0.9513 GB Notification: Performance of collectInitialEqns (initialization): time 0.003199/4.609, allocations: 3.897 MB / 1.535 GB, free: 299.8 MB / 0.9513 GB Notification: Performance of collectInitialBindings (initialization): time 0.006324/4.616, allocations: 3.923 MB / 1.539 GB, free: 296.8 MB / 0.9513 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01138/4.627, allocations: 2.478 MB / 1.541 GB, free: 295.8 MB / 0.9513 GB Notification: Performance of setup shared object (initialization): time 6.113e-05/4.627, allocations: 302.2 kB / 1.542 GB, free: 295.5 MB / 0.9513 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.06305/4.69, allocations: 19.02 MB / 1.56 GB, free: 290 MB / 0.9513 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.06249/4.753, allocations: 20.65 MB / 1.58 GB, free: 279.7 MB / 0.9513 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1154/4.868, allocations: 37.66 MB / 1.617 GB, free: 244.8 MB / 0.9513 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001077/4.869, allocations: 12.06 kB / 1.617 GB, free: 244.8 MB / 0.9513 GB Notification: Performance of matching and sorting (n=1533) (initialization): time 0.1757/5.044, allocations: 51.31 MB / 1.667 GB, free: 193.7 MB / 0.9513 GB Notification: Performance of prepare postOptimizeDAE: time 5.022e-05/5.044, allocations: 19.94 kB / 1.667 GB, free: 193.7 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.272e-05/5.044, allocations: 32 kB / 1.667 GB, free: 193.6 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05362/5.098, allocations: 13.51 MB / 1.68 GB, free: 180.1 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04231/5.14, allocations: 6.226 MB / 1.687 GB, free: 173.9 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07493/5.215, allocations: 44.49 MB / 1.73 GB, free: 129.1 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0402/5.256, allocations: 4.318 MB / 1.734 GB, free: 124.7 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005683/5.261, allocations: 0.632 MB / 1.735 GB, free: 124.1 MB / 0.9513 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.06756/5.329, allocations: 20.74 MB / 1.755 GB, free: 103.4 MB / 0.9513 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.06128/5.39, allocations: 20.46 MB / 1.775 GB, free: 82.44 MB / 0.9513 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1147/5.505, allocations: 37.29 MB / 1.811 GB, free: 44.66 MB / 0.9513 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.6e-05/5.505, allocations: 8 kB / 1.811 GB, free: 44.65 MB / 0.9513 GB Notification: Performance of matching and sorting (n=1533) (initialization_lambda0): time 0.6949/6.2, allocations: 48.57 MB / 1.859 GB, free: 290.5 MB / 0.9513 GB Notification: Performance of prepare postOptimizeDAE: time 4.62e-05/6.2, allocations: 21.64 kB / 1.859 GB, free: 290.5 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.033e-05/6.2, allocations: 34.47 kB / 1.859 GB, free: 290.5 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04526/6.245, allocations: 9.839 MB / 1.869 GB, free: 290.5 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04646/6.292, allocations: 6.279 MB / 1.875 GB, free: 290.5 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06814/6.36, allocations: 35.3 MB / 1.909 GB, free: 279.3 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04218/6.402, allocations: 4.275 MB / 1.913 GB, free: 278.8 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005976/6.408, allocations: 0.626 MB / 1.914 GB, free: 278.5 MB / 0.9513 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 143 * Number of states: 0 () * Number of discrete variables: 54 ($PRE.pow1.nextTimeEvent,$whenCondition7,$PRE.pow2.nextTimeEvent,$whenCondition6,$PRE.pow3.nextTimeEvent,$whenCondition5,$PRE.pow4.nextTimeEvent,$whenCondition4,$PRE.pow5.nextTimeEvent,$whenCondition3,$PRE.pow6.nextTimeEvent,$whenCondition2,$PRE.pow7.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,line8.commercialCable.material,line7.commercialCable.material,line6.commercialCable.material,line5.commercialCable.material,line4.commercialCable.material,line3.commercialCable.material,line2.commercialCable.material,line1.commercialCable.material,pow7.nextTimeEventScaled,$PRE.pow7.nextTimeEventScaled,pow7.nextTimeEvent,pow6.nextTimeEventScaled,$PRE.pow6.nextTimeEventScaled,pow6.nextTimeEvent,pow5.nextTimeEventScaled,$PRE.pow5.nextTimeEventScaled,pow5.nextTimeEvent,pow4.nextTimeEventScaled,$PRE.pow4.nextTimeEventScaled,pow4.nextTimeEvent,pow3.nextTimeEventScaled,$PRE.pow3.nextTimeEventScaled,pow3.nextTimeEvent,pow2.nextTimeEventScaled,$PRE.pow2.nextTimeEventScaled,pow2.nextTimeEvent,pow1.nextTimeEventScaled,$PRE.pow1.nextTimeEventScaled,pow1.nextTimeEvent,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition8,$whenCondition9,ELoa.local_reset,ESol.local_reset,EWin.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1314): * Single equations (assignments): 1303 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(23,67,20.4%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(23,67)} Notification: Performance of prepare postOptimizeDAE: time 0.009769/6.418, allocations: 0.8185 MB / 1.915 GB, free: 278 MB / 0.9513 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005939/6.424, allocations: 0.8426 MB / 1.916 GB, free: 278 MB / 0.9513 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1942/6.618, allocations: 52.71 MB / 1.967 GB, free: 241.5 MB / 0.9513 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001809/6.619, allocations: 120.5 kB / 1.967 GB, free: 241.4 MB / 0.9513 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001126/6.619, allocations: 16 kB / 1.967 GB, free: 241.4 MB / 0.9513 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004593/6.619, allocations: 55.78 kB / 1.967 GB, free: 241.4 MB / 0.9513 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2397/6.859, allocations: 117.5 MB / 2.082 GB, free: 116.5 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001533/6.859, allocations: 7.984 kB / 2.082 GB, free: 116.5 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.04028/6.9, allocations: 5.602 MB / 2.087 GB, free: 110.9 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0477/6.947, allocations: 12.31 MB / 2.099 GB, free: 98.59 MB / 0.9513 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005785/6.953, allocations: 431.4 kB / 2.1 GB, free: 98.17 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07129/7.024, allocations: 42.09 MB / 2.141 GB, free: 55.68 MB / 0.9513 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/7.024, allocations: 4 kB / 2.141 GB, free: 55.68 MB / 0.9513 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6737/7.698, allocations: 73.62 MB / 2.213 GB, free: 296.3 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009939/7.708, allocations: 4.069 MB / 2.217 GB, free: 296.2 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005372/7.714, allocations: 223.5 kB / 2.217 GB, free: 296.2 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04005/7.754, allocations: 4.274 MB / 2.221 GB, free: 296.2 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004494/7.758, allocations: 0.7507 MB / 2.222 GB, free: 296.2 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004685/7.763, allocations: 0.5066 MB / 2.222 GB, free: 296.2 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.008701/7.772, allocations: 3.706 MB / 2.226 GB, free: 296 MB / 0.9669 GB Notification: Performance of sort global known variables: time 5.11e-07/7.772, allocations: 0 / 2.226 GB, free: 296 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.03348/7.805, allocations: 6.193 MB / 2.232 GB, free: 296 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (EWin.y,ESol.y,ELoa.y) * Number of discrete variables: 25 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,pow1.nextTimeEvent,pow1.nextTimeEventScaled,pow2.nextTimeEvent,pow2.nextTimeEventScaled,pow3.nextTimeEvent,pow3.nextTimeEventScaled,pow4.nextTimeEvent,pow4.nextTimeEventScaled,pow5.nextTimeEvent,pow5.nextTimeEventScaled,pow6.nextTimeEvent,pow6.nextTimeEventScaled,pow7.nextTimeEvent,pow7.nextTimeEventScaled) * Number of discrete states: 16 (weaDat.conTimMin.tNext,weaDat.conTim.tNext,pow1.nextTimeEvent,pow2.nextTimeEvent,pow3.nextTimeEvent,pow4.nextTimeEvent,pow5.nextTimeEvent,pow6.nextTimeEvent,pow7.nextTimeEvent,pow1.nextTimeEventScaled,pow2.nextTimeEventScaled,pow3.nextTimeEventScaled,pow4.nextTimeEventScaled,pow5.nextTimeEventScaled,pow6.nextTimeEventScaled,pow7.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1048): * Single equations (assignments): 1029 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 16 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(23,67,21.6%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(23,67)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007542/7.813, allocations: 1.372 MB / 2.233 GB, free: 295.9 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.3427/8.155, allocations: 85.45 MB / 2.317 GB, free: 259.4 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.745e-05/8.156, allocations: 4.438 kB / 2.317 GB, free: 259.4 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.07414/8.23, allocations: 22.6 MB / 2.339 GB, free: 240.4 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01816/8.248, allocations: 1.749 MB / 2.341 GB, free: 239 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09511/8.343, allocations: 35.66 MB / 2.376 GB, free: 205.4 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007971/8.351, allocations: 5.381 MB / 2.381 GB, free: 200 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0195/8.371, allocations: 1.408 MB / 2.382 GB, free: 198.5 MB / 0.9669 GB Notification: Performance of SimCode: time 1.262e-06/8.371, allocations: 0 / 2.382 GB, free: 198.5 MB / 0.9669 GB Notification: Performance of Templates: time 0.8646/9.235, allocations: 416.9 MB / 2.789 GB, free: 131.7 MB / 0.9669 GB make -j1 -f Buildings_8_Buildings.Electrical.Examples.RenewableSources.makefile make -j1 -f Buildings_8_Buildings.Electrical.Examples.RenewableSources.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.Examples.RenewableSourcesCalcHelperMain.o OMCppBuildings_8_Buildings.Electrical.Examples.RenewableSourcesCalcHelperMain.cpp In file included from OMCppBuildings_8_Buildings.Electrical.Examples.RenewableSourcesCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.Electrical.Examples.RenewableSourcesFunctions.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.Examples.RenewableSourcesCalcHelperMain.o] Error 1