Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.MixedConvection.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.Tutorial.MixedConvection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.MixedConvection") translateModel(Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.MixedConvection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.MixedConvection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 100.7 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.001205/0.001205, allocations: 190.3 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.577/1.577, 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.846/1.846, allocations: 292.3 MB / 0.5495 GB, free: 17.38 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.001603/0.001603, allocations: 67.89 kB / 0.6722 GB, free: 6.562 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2741, allocations: 114.6 MB / 0.784 GB, free: 3.887 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.MixedConvection): time 0.7902/1.064, allocations: 210 MB / 0.9891 GB, free: 8.418 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.07085/1.135, allocations: 32.63 MB / 1.021 GB, free: 7.723 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01808/1.154, allocations: 266.4 kB / 1.021 GB, free: 7.461 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.011/1.165, allocations: 3.002 MB / 1.024 GB, free: 4.449 MB / 0.8106 GB [/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'. [/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'. Notification: Performance of NFTyping.typeBindings: time 0.01236/1.177, allocations: 2.719 MB / 1.027 GB, free: 1.719 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.Tutorial.MixedConvection.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.Tutorial.MixedConvection.roo.air.cfd.exchange' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.01001/1.187, allocations: 2.757 MB / 1.029 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01951/1.207, allocations: 11.76 MB / 1.041 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009874/1.217, allocations: 4.752 MB / 1.046 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007753/1.224, allocations: 3.471 MB / 1.049 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008593/1.233, allocations: 3.949 MB / 1.053 GB, free: 7.004 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.003251/1.236, allocations: 0.6484 MB / 1.054 GB, free: 6.355 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007795/1.244, allocations: 1.978 MB / 1.055 GB, free: 4.375 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.00466/1.249, allocations: 2.115 MB / 1.057 GB, free: 2.254 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0111/1.26, allocations: 3.949 MB / 1.061 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.02392/1.284, allocations: 12.09 MB / 1.073 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 9.899e-06/1.284, allocations: 0 / 1.073 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.655e-06/1.284, allocations: 0 / 1.073 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0006802/1.285, allocations: 0 / 1.073 GB, free: 2.156 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.03389/1.319, allocations: 9.383 MB / 1.082 GB, free: 8.539 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.699e-05/1.319, allocations: 8.031 kB / 1.082 GB, free: 8.531 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006224/1.325, allocations: 1.04 MB / 1.083 GB, free: 7.48 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01847/1.343, allocations: 7.163 MB / 1.09 GB, free: 232 kB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001279/1.345, allocations: 374.4 kB / 1.091 GB, free: 15.85 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00145/1.346, allocations: 299.9 kB / 1.091 GB, free: 15.56 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007731/1.354, allocations: 3.556 MB / 1.094 GB, free: 11.81 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-05/1.354, allocations: 15.84 kB / 1.094 GB, free: 11.8 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002726/1.354, allocations: 99.98 kB / 1.095 GB, free: 11.7 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001293/1.355, allocations: 90.84 kB / 1.095 GB, free: 11.61 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006948/1.362, allocations: 3.481 MB / 1.098 GB, free: 8.125 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03813/1.4, allocations: 15.97 MB / 1.114 GB, free: 7.895 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006411/1.406, allocations: 2.793 MB / 1.116 GB, free: 5.082 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00303/1.409, allocations: 1.541 MB / 1.118 GB, free: 3.535 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005418/1.41, allocations: 324.9 kB / 1.118 GB, free: 3.16 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003528/1.413, allocations: 1.749 MB / 1.12 GB, free: 1.383 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=210): time 6.513e-06/1.413, allocations: 4 kB / 1.12 GB, free: 1.379 MB / 0.9044 GB Notification: Performance of matching and sorting (n=210): time 0.01654/1.43, allocations: 5.783 MB / 1.126 GB, free: 11.54 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002458/1.43, allocations: 376.5 kB / 1.126 GB, free: 11.1 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02393/1.454, allocations: 10.35 MB / 1.136 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.001237/1.455, allocations: 129.7 kB / 1.136 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.6351/2.091, allocations: 3.217 MB / 1.139 GB, free: 297.9 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.001156/2.092, allocations: 0.6968 MB / 1.14 GB, free: 297.9 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001387/2.093, allocations: 0.8029 MB / 1.141 GB, free: 297.7 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 6.286e-05/2.093, allocations: 311.6 kB / 1.141 GB, free: 297.4 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002809/2.096, allocations: 1.906 MB / 1.143 GB, free: 296.7 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00378/2.1, allocations: 3.019 MB / 1.146 GB, free: 294.8 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006329/2.106, allocations: 4.222 MB / 1.15 GB, free: 292.4 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.722e-05/2.106, allocations: 6.844 kB / 1.15 GB, free: 292.4 MB / 0.92 GB Notification: Performance of matching and sorting (n=478) (initialization): time 0.01747/2.124, allocations: 6.167 MB / 1.156 GB, free: 290.1 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001014/2.124, allocations: 46.78 kB / 1.156 GB, free: 290 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.922e-05/2.124, allocations: 25.47 kB / 1.156 GB, free: 290 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002945/2.127, allocations: 0.6556 MB / 1.157 GB, free: 289.9 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006595/2.134, allocations: 0.9767 MB / 1.158 GB, free: 289.9 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01845/2.152, allocations: 15.35 MB / 1.173 GB, free: 277.1 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00704/2.159, allocations: 0.4952 MB / 1.173 GB, free: 276.8 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0014/2.161, allocations: 166.6 kB / 1.173 GB, free: 276.8 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01119/2.172, allocations: 4.325 MB / 1.178 GB, free: 275 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00549/2.177, allocations: 3.004 MB / 1.18 GB, free: 273.1 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00847/2.186, allocations: 4.184 MB / 1.185 GB, free: 270.6 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.024e-05/2.186, allocations: 8.031 kB / 1.185 GB, free: 270.6 MB / 0.92 GB Notification: Performance of matching and sorting (n=478) (initialization_lambda0): time 0.01914/2.205, allocations: 6.112 MB / 1.191 GB, free: 268.2 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001013/2.205, allocations: 43.02 kB / 1.191 GB, free: 268.1 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.959e-05/2.205, allocations: 30.11 kB / 1.191 GB, free: 268.1 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002659/2.208, allocations: 0.6626 MB / 1.191 GB, free: 268 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004027/2.212, allocations: 0.7347 MB / 1.192 GB, free: 267.9 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009724/2.222, allocations: 6.33 MB / 1.198 GB, free: 263.8 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006921/2.229, allocations: 395.6 kB / 1.199 GB, free: 263.6 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001286/2.23, allocations: 161 kB / 1.199 GB, free: 263.6 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,$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],weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition3,$whenCondition4,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): 456 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems 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.00245/2.232, allocations: 0.5433 MB / 1.199 GB, free: 263.2 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003162/2.236, allocations: 0.7211 MB / 1.2 GB, free: 262.8 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005119/2.241, allocations: 1.608 MB / 1.201 GB, free: 262.1 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.21e-05/2.241, allocations: 20.5 kB / 1.201 GB, free: 262.1 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.726e-05/2.241, allocations: 4.469 kB / 1.201 GB, free: 262.1 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-05/2.241, allocations: 14.31 kB / 1.202 GB, free: 262.1 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02444/2.265, allocations: 8.995 MB / 1.21 GB, free: 258.7 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-05/2.265, allocations: 5.062 kB / 1.21 GB, free: 258.7 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003403/2.269, allocations: 0.5235 MB / 1.211 GB, free: 258.7 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002257/2.271, allocations: 0.6103 MB / 1.211 GB, free: 258.6 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004317/2.272, allocations: 69.98 kB / 1.211 GB, free: 258.5 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01369/2.285, allocations: 15.16 MB / 1.226 GB, free: 245.6 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/2.285, allocations: 5.031 kB / 1.226 GB, free: 245.6 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01451/2.3, allocations: 6.507 MB / 1.233 GB, free: 242.2 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005067/2.305, allocations: 1.482 MB / 1.234 GB, free: 241.1 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002644/2.308, allocations: 132.1 kB / 1.234 GB, free: 241.1 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004027/2.312, allocations: 174 kB / 1.234 GB, free: 241 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004811/2.312, allocations: 150.8 kB / 1.235 GB, free: 240.9 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001688/2.312, allocations: 84.52 kB / 1.235 GB, free: 240.9 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.01847/2.331, allocations: 7.23 MB / 1.242 GB, free: 235.9 MB / 0.92 GB Notification: Performance of sort global known variables: time 6.41e-07/2.331, allocations: 0 / 1.242 GB, free: 235.9 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.01929/2.35, allocations: 2.426 MB / 1.244 GB, free: 233.5 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 (roo.air.cfd.sampleTrigger,$whenCondition2,$whenCondition1,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,$whenCondition4,$whenCondition3,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 45 (weaDat.conTimMin.tNext,weaDat.conTim.tNext,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,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (195): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 33 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems 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.0044/2.355, allocations: 1.023 MB / 1.245 GB, free: 232.9 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.02343/2.378, allocations: 9.001 MB / 1.254 GB, free: 223.9 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-05/2.378, allocations: 0 / 1.254 GB, free: 223.9 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.006919/2.385, allocations: 2.621 MB / 1.256 GB, free: 221.2 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01728/2.402, allocations: 2.601 MB / 1.259 GB, free: 218.8 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0271/2.43, allocations: 13.91 MB / 1.272 GB, free: 204.9 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004596/2.434, allocations: 4.51 MB / 1.277 GB, free: 200.3 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002332/2.437, allocations: 427.4 kB / 1.277 GB, free: 199.9 MB / 0.92 GB Notification: Performance of SimCode: time 1.262e-06/2.437, allocations: 0 / 1.277 GB, free: 199.9 MB / 0.92 GB Notification: Performance of Templates: time 1.054/3.491, allocations: 432 MB / 1.699 GB, free: 129.7 MB / 0.9356 GB make -j1 -f Buildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.MixedConvection.makefile make -j1 -f Buildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.MixedConvection.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.Tutorial.MixedConvectionCalcHelperMain.o OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.MixedConvectionCalcHelperMain.cpp In file included from OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.MixedConvectionCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.MixedConvectionFunctions.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.Tutorial.MixedConvectionCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.MixedConvectionFunctions.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.Tutorial.MixedConvectionCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.MixedConvectionFunctions.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.Tutorial.MixedConvectionCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.MixedConvectionFunctions.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.Tutorial.MixedConvectionCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.MixedConvectionFunctions.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.Tutorial.MixedConvectionCalcHelperMain.cpp:28: ./OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.MixedConvectionFunctions.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.Tutorial.MixedConvectionCalcHelperMain.cpp:28: ./OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.MixedConvectionFunctions.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.Tutorial.MixedConvectionCalcHelperMain.o] Error 1