Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvection.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.ThermalZones.Detailed.Examples.FFD.ForcedConvection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvection") translateModel(Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 101.3 kB / 16.27 MB, free: 6.418 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.001341/0.001341, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.74/1.74, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.899/1.899, allocations: 292.3 MB / 0.5495 GB, free: 17.54 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.001791/0.001791, allocations: 75.89 kB / 0.6722 GB, free: 6.512 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.2824, allocations: 114.6 MB / 0.784 GB, free: 3.844 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvection): time 0.8462/1.129, allocations: 209.9 MB / 0.989 GB, free: 8.41 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0637/1.192, allocations: 32.6 MB / 1.021 GB, free: 7.734 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01631/1.209, allocations: 262.4 kB / 1.021 GB, free: 7.477 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.01059/1.22, allocations: 2.997 MB / 1.024 GB, free: 4.469 MB / 0.8106 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getAbsolutePath.mo:2:1-50:20:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getAbsolutePath' contains a call to impure function 'Modelica.Utilities.Files.exist'. [/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'. [/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'. Notification: Performance of NFTyping.typeBindings: time 0.0126/1.232, allocations: 2.724 MB / 1.027 GB, free: 1.734 MB / 0.8106 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/ThermalZones/Detailed/BaseClasses/CFDExchange.mo:64:3-120:21:writable] Warning: Pure function 'Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvection.roo.air.cfd.sendParameters' contains a call to impure function 'Modelica.Utilities.Streams.print'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/ThermalZones/Detailed/BaseClasses/CFDExchange.mo:125:3-152:15:writable] Warning: Pure function 'Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvection.roo.air.cfd.exchange' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.009947/1.242, allocations: 2.747 MB / 1.029 GB, free: 15 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01762/1.26, allocations: 11.77 MB / 1.041 GB, free: 3.223 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008699/1.269, allocations: 4.75 MB / 1.046 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009786/1.278, allocations: 3.471 MB / 1.049 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01033/1.289, allocations: 3.944 MB / 1.053 GB, free: 7.02 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.003816/1.293, allocations: 0.6445 MB / 1.053 GB, free: 6.375 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007646/1.3, allocations: 1.954 MB / 1.055 GB, free: 4.418 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.004655/1.305, allocations: 2.122 MB / 1.057 GB, free: 2.289 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.01/1.315, allocations: 3.941 MB / 1.061 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.02714/1.342, allocations: 12.1 MB / 1.073 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.123e-05/1.342, allocations: 0 / 1.073 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of FrontEnd: time 6.603e-06/1.342, allocations: 0 / 1.073 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0006297/1.343, allocations: 3.938 kB / 1.073 GB, free: 2.191 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 604 * Number of variables: 604 Notification: Performance of Generate backend data structure: time 0.03319/1.376, allocations: 9.359 MB / 1.082 GB, free: 8.605 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 7.062e-05/1.376, allocations: 12.03 kB / 1.082 GB, free: 8.594 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006515/1.383, allocations: 0.9857 MB / 1.083 GB, free: 7.598 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02161/1.404, allocations: 7.163 MB / 1.09 GB, free: 352 kB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001306/1.406, allocations: 370.5 kB / 1.091 GB, free: 15.97 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001756/1.408, allocations: 299.9 kB / 1.091 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01146/1.419, allocations: 3.51 MB / 1.094 GB, free: 11.98 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001592/1.419, allocations: 11.84 kB / 1.094 GB, free: 11.96 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008486/1.42, allocations: 104 kB / 1.094 GB, free: 11.86 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001627/1.42, allocations: 90.78 kB / 1.094 GB, free: 11.77 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008335/1.429, allocations: 3.426 MB / 1.098 GB, free: 8.344 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03999/1.469, allocations: 15.5 MB / 1.113 GB, free: 8.582 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007254/1.476, allocations: 2.765 MB / 1.116 GB, free: 5.801 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003421/1.479, allocations: 1.494 MB / 1.117 GB, free: 4.297 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006466/1.48, allocations: 324.9 kB / 1.117 GB, free: 3.922 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004121/1.484, allocations: 1.695 MB / 1.119 GB, free: 2.195 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=204): time 8.175e-06/1.484, allocations: 0 / 1.119 GB, free: 2.195 MB / 0.9044 GB Notification: Performance of matching and sorting (n=204): time 0.01771/1.502, allocations: 5.658 MB / 1.125 GB, free: 12.48 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002966/1.502, allocations: 368.5 kB / 1.125 GB, free: 12.05 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03374/1.536, allocations: 10.39 MB / 1.135 GB, free: 1.699 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.001218/1.537, allocations: 125.7 kB / 1.135 GB, free: 1.57 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.638/2.176, allocations: 3.266 MB / 1.138 GB, free: 297.2 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.001506/2.177, allocations: 0.6641 MB / 1.139 GB, free: 297.1 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001641/2.179, allocations: 0.8111 MB / 1.14 GB, free: 297.1 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001215/2.179, allocations: 305.6 kB / 1.14 GB, free: 296.8 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00326/2.182, allocations: 1.86 MB / 1.142 GB, free: 296.8 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003801/2.186, allocations: 3.007 MB / 1.145 GB, free: 295.2 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006375/2.192, allocations: 4.154 MB / 1.149 GB, free: 292.8 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.614e-05/2.192, allocations: 7.281 kB / 1.149 GB, free: 292.8 MB / 0.92 GB Notification: Performance of matching and sorting (n=478) (initialization): time 0.01748/2.21, allocations: 6.134 MB / 1.155 GB, free: 290.5 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001327/2.21, allocations: 42.91 kB / 1.155 GB, free: 290.5 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001074/2.21, allocations: 26.94 kB / 1.155 GB, free: 290.5 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003101/2.213, allocations: 0.6667 MB / 1.156 GB, free: 290.4 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004361/2.218, allocations: 0.7117 MB / 1.156 GB, free: 290.3 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0111/2.229, allocations: 6.362 MB / 1.163 GB, free: 286.3 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007707/2.237, allocations: 0.4945 MB / 1.163 GB, free: 286 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001605/2.238, allocations: 161.6 kB / 1.163 GB, free: 285.9 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 119 * Number of states: 0 () * Number of discrete variables: 103 (roo.air.cfd.uIntPre[15],$PRE.roo.air.cfd.uIntPre[15],roo.air.cfd.uIntPre[14],$PRE.roo.air.cfd.uIntPre[14],roo.air.cfd.uIntPre[13],$PRE.roo.air.cfd.uIntPre[13],roo.air.cfd.uIntPre[12],$PRE.roo.air.cfd.uIntPre[12],roo.air.cfd.uIntPre[11],$PRE.roo.air.cfd.uIntPre[11],roo.air.cfd.uIntPre[10],$PRE.roo.air.cfd.uIntPre[10],roo.air.cfd.uIntPre[9],$PRE.roo.air.cfd.uIntPre[9],roo.air.cfd.uIntPre[8],$PRE.roo.air.cfd.uIntPre[8],roo.air.cfd.uIntPre[7],$PRE.roo.air.cfd.uIntPre[7],roo.air.cfd.uIntPre[6],$PRE.roo.air.cfd.uIntPre[6],roo.air.cfd.uIntPre[5],$PRE.roo.air.cfd.uIntPre[5],roo.air.cfd.uIntPre[4],$PRE.roo.air.cfd.uIntPre[4],roo.air.cfd.uIntPre[3],$PRE.roo.air.cfd.uIntPre[3],roo.air.cfd.uIntPre[2],$PRE.roo.air.cfd.uIntPre[2],roo.air.cfd.uIntPre[1],$PRE.roo.air.cfd.uIntPre[1],roo.air.cfd.firstTrigger,$PRE.roo.air.cfd.firstTrigger,roo.air.cfd.retVal,$PRE.roo.air.cfd.retVal,roo.air.cfd.modTimRea,$PRE.roo.air.cfd.modTimRea,roo.air.cfd.uWri[15],$PRE.roo.air.cfd.uWri[15],roo.air.cfd.uWri[14],$PRE.roo.air.cfd.uWri[14],roo.air.cfd.uWri[13],$PRE.roo.air.cfd.uWri[13],roo.air.cfd.uWri[12],$PRE.roo.air.cfd.uWri[12],roo.air.cfd.uWri[10],$PRE.roo.air.cfd.uWri[10],roo.air.cfd.uWri[9],$PRE.roo.air.cfd.uWri[9],roo.air.cfd.uWri[6],$PRE.roo.air.cfd.uWri[6],roo.air.cfd.uWri[5],$PRE.roo.air.cfd.uWri[5],roo.air.cfd.uWri[4],$PRE.roo.air.cfd.uWri[4],roo.air.cfd.uWri[3],$PRE.roo.air.cfd.uWri[3],roo.air.cfd.uWri[2],$PRE.roo.air.cfd.uWri[2],roo.air.cfd.uWri[1],$PRE.roo.air.cfd.uWri[1],roo.air.cfd.sampleTrigger,$whenCondition3,$whenCondition4,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2,roo.air.cfd.y[13],$PRE.roo.air.cfd.y[13],roo.air.cfd.y[12],$PRE.roo.air.cfd.y[12],roo.air.cfd.y[7],$PRE.roo.air.cfd.y[7],roo.air.cfd.uWri[11],$PRE.roo.air.cfd.uWri[11],roo.air.cfd.y[11],$PRE.roo.air.cfd.y[11],roo.air.cfd.y[10],$PRE.roo.air.cfd.y[10],roo.air.cfd.y[9],$PRE.roo.air.cfd.y[9],roo.air.cfd.y[8],$PRE.roo.air.cfd.y[8],roo.air.cfd.uWri[8],$PRE.roo.air.cfd.uWri[8],roo.air.cfd.y[6],$PRE.roo.air.cfd.y[6],roo.air.cfd.y[5],$PRE.roo.air.cfd.y[5],roo.air.cfd.y[4],$PRE.roo.air.cfd.y[4],roo.air.cfd.y[3],$PRE.roo.air.cfd.y[3],roo.air.cfd.y[2],$PRE.roo.air.cfd.y[2],roo.air.cfd.y[1],$PRE.roo.air.cfd.y[1],roo.air.cfd.uWri[7],$PRE.roo.air.cfd.uWri[7]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (465): * Single equations (assignments): 462 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.01075/2.249, allocations: 2.775 MB / 1.166 GB, free: 284.8 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004463/2.254, allocations: 0.7345 MB / 1.167 GB, free: 284.4 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00828/2.262, allocations: 1.59 MB / 1.168 GB, free: 283.7 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.04e-05/2.262, allocations: 20.47 kB / 1.168 GB, free: 283.7 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.965e-05/2.262, allocations: 6.688 kB / 1.168 GB, free: 283.7 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.299e-05/2.262, allocations: 9.281 kB / 1.168 GB, free: 283.7 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03914/2.301, allocations: 8.765 MB / 1.177 GB, free: 280.4 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.075e-05/2.301, allocations: 3.094 kB / 1.177 GB, free: 280.4 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002025/2.303, allocations: 269.3 kB / 1.177 GB, free: 280.4 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003045/2.307, allocations: 0.6052 MB / 1.178 GB, free: 280.3 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008644/2.307, allocations: 67.56 kB / 1.178 GB, free: 280.3 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0116/2.319, allocations: 6.304 MB / 1.184 GB, free: 276.2 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.908e-06/2.319, allocations: 5.703 kB / 1.184 GB, free: 276.2 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02023/2.339, allocations: 6.366 MB / 1.19 GB, free: 273.7 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006366/2.346, allocations: 1.478 MB / 1.191 GB, free: 272.8 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003959/2.35, allocations: 129.4 kB / 1.192 GB, free: 272.7 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006192/2.356, allocations: 172.2 kB / 1.192 GB, free: 272.7 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009663/2.357, allocations: 135.9 kB / 1.192 GB, free: 272.7 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006203/2.358, allocations: 79.45 kB / 1.192 GB, free: 272.6 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.02623/2.384, allocations: 7.26 MB / 1.199 GB, free: 270.2 MB / 0.92 GB Notification: Performance of sort global known variables: time 7.91e-07/2.384, allocations: 0 / 1.199 GB, free: 270.2 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.01129/2.395, allocations: 1.402 MB / 1.2 GB, free: 270 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 15 (roo.air.cfd.uInt[1],roo.air.cfd.uInt[2],roo.air.cfd.uInt[3],roo.air.cfd.uInt[4],roo.air.cfd.uInt[5],roo.air.cfd.uInt[6],roo.air.cfd.uInt[7],roo.air.cfd.uInt[8],roo.air.cfd.uInt[9],roo.air.cfd.uInt[10],roo.air.cfd.uInt[11],roo.air.cfd.uInt[12],roo.air.cfd.uInt[13],roo.air.cfd.uInt[14],roo.air.cfd.uInt[15]) * Number of discrete variables: 53 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,roo.air.cfd.sampleTrigger,$whenCondition4,$whenCondition3,roo.air.cfd.firstTrigger,roo.air.cfd.y[1],roo.air.cfd.y[2],roo.air.cfd.y[3],roo.air.cfd.y[4],roo.air.cfd.y[5],roo.air.cfd.y[6],roo.air.cfd.y[7],roo.air.cfd.y[8],roo.air.cfd.y[9],roo.air.cfd.y[10],roo.air.cfd.y[11],roo.air.cfd.y[12],roo.air.cfd.y[13],roo.air.cfd.uIntPre[1],roo.air.cfd.uIntPre[2],roo.air.cfd.uIntPre[3],roo.air.cfd.uIntPre[4],roo.air.cfd.uIntPre[5],roo.air.cfd.uIntPre[6],roo.air.cfd.uIntPre[7],roo.air.cfd.uIntPre[8],roo.air.cfd.uIntPre[9],roo.air.cfd.uIntPre[10],roo.air.cfd.uIntPre[11],roo.air.cfd.uIntPre[12],roo.air.cfd.uIntPre[13],roo.air.cfd.uIntPre[14],roo.air.cfd.uIntPre[15],roo.air.cfd.uWri[1],roo.air.cfd.uWri[2],roo.air.cfd.uWri[3],roo.air.cfd.uWri[4],roo.air.cfd.uWri[5],roo.air.cfd.uWri[6],roo.air.cfd.uWri[7],roo.air.cfd.uWri[8],roo.air.cfd.uWri[9],roo.air.cfd.uWri[10],roo.air.cfd.uWri[11],roo.air.cfd.uWri[12],roo.air.cfd.uWri[13],roo.air.cfd.uWri[14],roo.air.cfd.uWri[15],roo.air.cfd.modTimRea,roo.air.cfd.retVal) * Number of discrete states: 45 (roo.air.cfd.u[1],roo.air.cfd.uIntPre[1],roo.air.cfd.u[2],roo.air.cfd.uIntPre[2],roo.air.cfd.u[3],roo.air.cfd.uIntPre[3],roo.air.cfd.u[4],roo.air.cfd.uIntPre[4],roo.air.cfd.u[5],roo.air.cfd.uIntPre[5],roo.air.cfd.u[6],roo.air.cfd.uIntPre[6],roo.air.cfd.uIntPre[7],roo.air.cfd.uIntPre[8],roo.air.cfd.u[9],roo.air.cfd.uIntPre[9],roo.air.cfd.u[10],roo.air.cfd.uIntPre[10],roo.air.cfd.uIntPre[11],roo.air.cfd.u[12],roo.air.cfd.uIntPre[12],roo.air.cfd.u[13],roo.air.cfd.uIntPre[13],roo.air.cfd.u[14],roo.air.cfd.uIntPre[14],roo.air.cfd.u[15],roo.air.cfd.uIntPre[15],roo.air.cfd.retVal,roo.air.cfd.y[13],roo.air.cfd.y[12],roo.air.cfd.y[11],roo.air.cfd.y[10],roo.air.cfd.y[9],roo.air.cfd.y[8],roo.air.cfd.y[7],roo.air.cfd.y[6],roo.air.cfd.y[5],roo.air.cfd.y[4],roo.air.cfd.y[3],roo.air.cfd.y[2],roo.air.cfd.y[1],roo.air.cfd.modTimRea,$whenCondition3,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (189): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 33 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003986/2.399, allocations: 1.013 MB / 1.201 GB, free: 269.8 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0149/2.414, allocations: 5.381 MB / 1.207 GB, free: 268 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.637e-05/2.414, allocations: 0 / 1.207 GB, free: 268 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.00568/2.42, allocations: 2.299 MB / 1.209 GB, free: 267 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0208/2.441, allocations: 2.583 MB / 1.211 GB, free: 266.2 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03753/2.478, allocations: 13.8 MB / 1.225 GB, free: 256.2 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006003/2.485, allocations: 4.532 MB / 1.229 GB, free: 251.6 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002472/2.487, allocations: 419.4 kB / 1.23 GB, free: 251.2 MB / 0.92 GB Notification: Performance of SimCode: time 2.114e-06/2.487, allocations: 0 / 1.23 GB, free: 251.2 MB / 0.92 GB Notification: Performance of Templates: time 0.2641/2.751, allocations: 193.7 MB / 1.419 GB, free: 57.79 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvection.makefile make -j1 -f Buildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvection.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.ThermalZones.Detailed.Examples.FFD.ForcedConvectionCalcHelperMain.o OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvectionCalcHelperMain.cpp In file included from OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvectionCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvectionFunctions.cpp:6: In file included from /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cfdcosim.c:24: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cfdCosimulation.h:35:19: error: redefinition of 'cosim' CosimulationData *cosim; ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cfdSendStopCommand.c:16:10: note: '/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cfdCosimulation.h' included multiple times, additional include site here #include "cfdCosimulation.h" ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cfdcosim.c:24:10: note: '/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cfdCosimulation.h' included multiple times, additional include site here #include "cfdCosimulation.h" ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cfdCosimulation.h:35:19: note: unguarded header; consider using #ifdef guards or #pragma once CosimulationData *cosim; ^ In file included from OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvectionCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvectionFunctions.cpp:7: In file included from /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cfdStartCosimulation.c:19: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cfdCosimulation.h:35:19: error: redefinition of 'cosim' CosimulationData *cosim; ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cfdSendStopCommand.c:16:10: note: '/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cfdCosimulation.h' included multiple times, additional include site here #include "cfdCosimulation.h" ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cfdStartCosimulation.c:19:10: note: '/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cfdCosimulation.h' included multiple times, additional include site here #include "cfdCosimulation.h" ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cfdCosimulation.h:35:19: note: unguarded header; consider using #ifdef guards or #pragma once CosimulationData *cosim; ^ In file included from OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvectionCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvectionFunctions.cpp:7: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cfdStartCosimulation.c:85:25: error: incompatible pointer types assigning to 'int *' from 'size_t *' (aka 'unsigned long *') cosim->para->bouCon = (size_t *) malloc(nSur*sizeof(size_t)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvectionCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvectionFunctions.cpp:8: In file included from /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cfdExchangeData.c:14: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cfdCosimulation.h:35:19: error: redefinition of 'cosim' CosimulationData *cosim; ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cfdSendStopCommand.c:16:10: note: '/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cfdCosimulation.h' included multiple times, additional include site here #include "cfdCosimulation.h" ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cfdExchangeData.c:14:10: note: '/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cfdCosimulation.h' included multiple times, additional include site here #include "cfdCosimulation.h" ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cfdCosimulation.h:35:19: note: unguarded header; consider using #ifdef guards or #pragma once CosimulationData *cosim; ^ In file included from OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvectionCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvectionFunctions.cpp:9: /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.ThermalZones.Detailed.Examples.FFD.ForcedConvectionCalcHelperMain.cpp:28: ./OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvectionFunctions.cpp:465:17: error: no matching function for call to 'cfdExchangeData' retVal__ext = cfdExchangeData(t__ext, dt__ext, ConstArray(u_).getData(), nU__ext, nY__ext, &modTimRea__ext, y_.getData()); ^~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cfdExchangeData.c:33:5: note: candidate function not viable: 3rd argument ('const double *') would lose const qualifier int cfdExchangeData(double t0, double dt, double *u, size_t nU, size_t nY, ^ In file included from OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvectionCalcHelperMain.cpp:28: ./OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvectionFunctions.cpp:513:17: error: no matching function for call to 'cfdStartCosimulation' retVal__ext = cfdStartCosimulation(cfdFilNam_.c_str(), name__ext, ConstArray(A_).getData(), ConstArray(til_).getData(), ConstArray(bouCon_).getData(), nPorts__ext, portName__ext, haveSensor__ext, sensorName__ext, haveShade__ext, nSur__ext, nSen__ext, nConExtWin__ext, nXi__ext, nC__ext, rho_start__ext); ^~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cfdStartCosimulation.c:46:5: note: candidate function not viable: 1st argument ('const char *') would lose const qualifier int cfdStartCosimulation(char *cfdFilNam, char **name, double *A, double *til, ^ 7 errors generated. make: *** [: OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvectionCalcHelperMain.o] Error 1