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.001241/0.001241, allocations: 101.9 kB / 16.37 MB, free: 6.48 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.001223/0.001224, allocations: 189.8 kB / 17.31 MB, free: 5.816 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.517/1.517, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.933/1.933, allocations: 292.3 MB / 0.5496 GB, free: 17.49 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.001474/0.001474, allocations: 66.88 kB / 0.6729 GB, free: 5.867 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2526, allocations: 114.6 MB / 0.7848 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Examples.RenewableSources): time 0.4655/0.7181, allocations: 44.8 MB / 0.8285 GB, free: 22.08 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.2125/0.9307, allocations: 172.1 MB / 0.9966 GB, free: 1.379 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008859/0.9396, allocations: 159.2 kB / 0.9968 GB, free: 1.223 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0139/0.9536, allocations: 5.25 MB / 1.002 GB, free: 11.96 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.02047/0.9741, allocations: 5.079 MB / 1.007 GB, free: 6.875 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.01544/0.9896, allocations: 5.26 MB / 1.012 GB, free: 1.641 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0209/1.011, allocations: 12.61 MB / 1.024 GB, free: 5 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02051/1.031, allocations: 12.16 MB / 1.036 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03198/1.063, allocations: 9.005 MB / 1.045 GB, free: 0.8281 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01119/1.074, allocations: 6.386 MB / 1.051 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.004998/1.079, allocations: 1.371 MB / 1.053 GB, free: 9.043 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01109/1.09, allocations: 3.317 MB / 1.056 GB, free: 5.727 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.006016/1.096, allocations: 3.521 MB / 1.059 GB, free: 2.195 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.01338/1.11, allocations: 5.808 MB / 1.065 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.03155/1.141, allocations: 17.56 MB / 1.082 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/1.142, allocations: 0 / 1.082 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.334e-06/1.142, allocations: 0 / 1.082 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0007321/1.142, allocations: 0 / 1.082 GB, free: 10.75 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.0384/1.181, allocations: 11.16 MB / 1.093 GB, free: 15.46 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/1.181, allocations: 8.031 kB / 1.093 GB, free: 15.45 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05224/1.233, allocations: 7.979 MB / 1.101 GB, free: 7.449 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01675/1.25, allocations: 5.747 MB / 1.106 GB, free: 1.625 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008806/1.251, allocations: 0.6862 MB / 1.107 GB, free: 0.9375 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004308/1.255, allocations: 0.9022 MB / 1.108 GB, free: 36 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04963/1.305, allocations: 14.2 MB / 1.122 GB, free: 1.469 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004727/1.305, allocations: 27.72 kB / 1.122 GB, free: 1.441 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004151/1.309, allocations: 399.9 kB / 1.122 GB, free: 1.051 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001708/1.311, allocations: 0.5872 MB / 1.123 GB, free: 472 kB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05424/1.365, allocations: 15.2 MB / 1.138 GB, free: 1.234 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8352/2.201, allocations: 46.64 MB / 1.183 GB, free: 262.9 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03116/2.232, allocations: 9.803 MB / 1.193 GB, free: 259.8 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0167/2.249, allocations: 5.759 MB / 1.198 GB, free: 257.8 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001477/2.25, allocations: 0.712 MB / 1.199 GB, free: 257.2 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01987/2.27, allocations: 6.431 MB / 1.205 GB, free: 253.8 MB / 0.92 GB Notification: Performance of pre-optimization done (n=671): time 1.832e-05/2.27, allocations: 0 / 1.205 GB, free: 253.8 MB / 0.92 GB Notification: Performance of matching and sorting (n=1187): time 2.088/4.358, allocations: 328.1 MB / 1.526 GB, free: 304.8 MB / 0.9513 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002436/4.359, allocations: 0.7064 MB / 1.526 GB, free: 304 MB / 0.9513 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008184/4.367, allocations: 5.535 MB / 1.532 GB, free: 302.2 MB / 0.9513 GB Notification: Performance of collectPreVariables (initialization): time 0.004381/4.371, allocations: 228.9 kB / 1.532 GB, free: 302 MB / 0.9513 GB Notification: Performance of collectInitialEqns (initialization): time 0.004854/4.376, allocations: 3.902 MB / 1.536 GB, free: 300.1 MB / 0.9513 GB Notification: Performance of collectInitialBindings (initialization): time 0.006419/4.382, allocations: 3.907 MB / 1.54 GB, free: 297 MB / 0.9513 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01043/4.393, allocations: 2.482 MB / 1.542 GB, free: 296.1 MB / 0.9513 GB Notification: Performance of setup shared object (initialization): time 4.292e-05/4.393, allocations: 305 kB / 1.542 GB, free: 295.8 MB / 0.9513 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0608/4.454, allocations: 19.02 MB / 1.561 GB, free: 290.2 MB / 0.9513 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.05945/4.513, allocations: 20.65 MB / 1.581 GB, free: 279.9 MB / 0.9513 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1162/4.63, allocations: 37.65 MB / 1.618 GB, free: 244.6 MB / 0.9513 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.105e-05/4.63, allocations: 14.5 kB / 1.618 GB, free: 244.6 MB / 0.9513 GB Notification: Performance of matching and sorting (n=1533) (initialization): time 0.1791/4.809, allocations: 51.3 MB / 1.668 GB, free: 193.5 MB / 0.9513 GB Notification: Performance of prepare postOptimizeDAE: time 8.503e-05/4.809, allocations: 20 kB / 1.668 GB, free: 193.5 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.891e-05/4.809, allocations: 35.94 kB / 1.668 GB, free: 193.4 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05207/4.861, allocations: 13.48 MB / 1.681 GB, free: 179.9 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04045/4.902, allocations: 6.226 MB / 1.687 GB, free: 173.7 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07674/4.978, allocations: 44.47 MB / 1.731 GB, free: 128.9 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03909/5.018, allocations: 4.317 MB / 1.735 GB, free: 124.6 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005688/5.023, allocations: 0.6321 MB / 1.736 GB, free: 124 MB / 0.9513 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.06663/5.09, allocations: 20.74 MB / 1.756 GB, free: 103.2 MB / 0.9513 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.06/5.15, allocations: 20.46 MB / 1.776 GB, free: 82.32 MB / 0.9513 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1136/5.264, allocations: 37.28 MB / 1.812 GB, free: 44.55 MB / 0.9513 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.954e-05/5.264, allocations: 8 kB / 1.812 GB, free: 44.55 MB / 0.9513 GB Notification: Performance of matching and sorting (n=1533) (initialization_lambda0): time 0.6672/5.931, allocations: 48.57 MB / 1.86 GB, free: 291.3 MB / 0.9513 GB Notification: Performance of prepare postOptimizeDAE: time 4.964e-05/5.931, allocations: 18.44 kB / 1.86 GB, free: 291.3 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.262e-05/5.931, allocations: 31.78 kB / 1.86 GB, free: 291.3 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04466/5.976, allocations: 9.815 MB / 1.869 GB, free: 291.2 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04611/6.022, allocations: 6.279 MB / 1.875 GB, free: 291.2 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06475/6.087, allocations: 35.26 MB / 1.91 GB, free: 279.6 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04092/6.128, allocations: 4.278 MB / 1.914 GB, free: 279 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006015/6.134, allocations: 0.6244 MB / 1.915 GB, free: 278.7 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.008658/6.143, allocations: 0.8206 MB / 1.915 GB, free: 278.2 MB / 0.9513 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005814/6.148, allocations: 0.8434 MB / 1.916 GB, free: 278.2 MB / 0.9513 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.194/6.342, allocations: 52.7 MB / 1.968 GB, free: 241.5 MB / 0.9513 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001694/6.343, allocations: 119.9 kB / 1.968 GB, free: 241.3 MB / 0.9513 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.74e-05/6.343, allocations: 17.69 kB / 1.968 GB, free: 241.3 MB / 0.9513 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004333/6.343, allocations: 59.77 kB / 1.968 GB, free: 241.3 MB / 0.9513 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2387/6.582, allocations: 117.4 MB / 2.083 GB, free: 116.6 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001374/6.582, allocations: 4 kB / 2.083 GB, free: 116.6 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.04862/6.631, allocations: 5.607 MB / 2.088 GB, free: 111 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.09062/6.721, allocations: 12.28 MB / 2.1 GB, free: 98.66 MB / 0.9513 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.007378/6.729, allocations: 432.4 kB / 2.1 GB, free: 98.23 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1295/6.858, allocations: 42.06 MB / 2.142 GB, free: 55.78 MB / 0.9513 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.261e-05/6.858, allocations: 4 kB / 2.142 GB, free: 55.78 MB / 0.9513 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6778/7.536, allocations: 73.62 MB / 2.213 GB, free: 297.5 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009565/7.546, allocations: 4.064 MB / 2.217 GB, free: 297.4 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004986/7.551, allocations: 227.4 kB / 2.218 GB, free: 297.4 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03815/7.589, allocations: 4.27 MB / 2.222 GB, free: 297.4 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00383/7.593, allocations: 0.7527 MB / 2.222 GB, free: 297.4 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003864/7.597, allocations: 0.5057 MB / 2.223 GB, free: 297.4 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.008024/7.605, allocations: 3.706 MB / 2.227 GB, free: 297.1 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6.51e-07/7.605, allocations: 0 / 2.227 GB, free: 297.1 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.02941/7.634, allocations: 6.197 MB / 2.233 GB, free: 297.1 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.007379/7.642, allocations: 1.378 MB / 2.234 GB, free: 297 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.2197/7.861, allocations: 66.54 MB / 2.299 GB, free: 278.5 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-05/7.861, allocations: 7.562 kB / 2.299 GB, free: 278.5 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.07096/7.932, allocations: 22.59 MB / 2.321 GB, free: 259.5 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01866/7.951, allocations: 1.744 MB / 2.323 GB, free: 258.1 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09603/8.047, allocations: 35.43 MB / 2.357 GB, free: 224.6 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007709/8.055, allocations: 5.383 MB / 2.363 GB, free: 219.2 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0192/8.074, allocations: 1.4 MB / 2.364 GB, free: 217.8 MB / 0.9669 GB Notification: Performance of SimCode: time 1.313e-06/8.074, allocations: 0 / 2.364 GB, free: 217.8 MB / 0.9669 GB Notification: Performance of Templates: time 0.8579/8.932, allocations: 416.9 MB / 2.771 GB, free: 150.9 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