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.001427/0.001427, allocations: 106.9 kB / 16.36 MB, free: 6.305 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.001305/0.001305, allocations: 189.2 kB / 17.29 MB, free: 5.875 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.555/1.555, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.862/1.862, allocations: 292.3 MB / 0.5496 GB, free: 17.47 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.001421/0.001421, allocations: 71.89 kB / 0.6729 GB, free: 5.875 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2975, allocations: 114.6 MB / 0.7848 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.MixedConvection): time 0.8097/1.107, allocations: 210 MB / 0.9899 GB, free: 7.91 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0651/1.172, allocations: 32.63 MB / 1.022 GB, free: 7.211 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01613/1.189, allocations: 286.2 kB / 1.022 GB, free: 6.93 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.01104/1.2, allocations: 2.999 MB / 1.025 GB, free: 3.914 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.01262/1.212, allocations: 2.721 MB / 1.028 GB, free: 1.184 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.01063/1.223, allocations: 2.768 MB / 1.03 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01923/1.242, allocations: 11.83 MB / 1.042 GB, free: 2.594 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0101/1.253, allocations: 4.753 MB / 1.046 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008972/1.262, allocations: 3.482 MB / 1.05 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008406/1.27, allocations: 3.924 MB / 1.054 GB, free: 6.395 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.003355/1.273, allocations: 0.6328 MB / 1.054 GB, free: 5.762 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007462/1.281, allocations: 1.993 MB / 1.056 GB, free: 3.766 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.004509/1.285, allocations: 2.107 MB / 1.058 GB, free: 1.652 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.01068/1.296, allocations: 3.929 MB / 1.062 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.02307/1.319, allocations: 12.18 MB / 1.074 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.037e-05/1.319, allocations: 0 / 1.074 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.757e-06/1.319, allocations: 0 / 1.074 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0006636/1.32, allocations: 0 / 1.074 GB, free: 1.488 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.0318/1.352, allocations: 9.356 MB / 1.083 GB, free: 7.898 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/1.352, allocations: 12.03 kB / 1.083 GB, free: 7.887 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006416/1.358, allocations: 1.036 MB / 1.084 GB, free: 6.84 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01891/1.377, allocations: 7.502 MB / 1.092 GB, free: 15.24 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002475/1.378, allocations: 220.5 kB / 1.092 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000869/1.378, allocations: 299.9 kB / 1.092 GB, free: 14.73 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007026/1.385, allocations: 3.564 MB / 1.096 GB, free: 10.97 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.711e-05/1.386, allocations: 15.78 kB / 1.096 GB, free: 10.96 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002432/1.386, allocations: 104 kB / 1.096 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001083/1.386, allocations: 94.84 kB / 1.096 GB, free: 10.76 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006547/1.392, allocations: 3.473 MB / 1.099 GB, free: 7.281 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03485/1.427, allocations: 15.83 MB / 1.115 GB, free: 7.199 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006076/1.433, allocations: 2.786 MB / 1.117 GB, free: 4.395 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002866/1.436, allocations: 1.548 MB / 1.119 GB, free: 2.84 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005155/1.437, allocations: 328.7 kB / 1.119 GB, free: 2.461 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003304/1.44, allocations: 1.749 MB / 1.121 GB, free: 0.6797 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=210): time 3.898e-06/1.44, allocations: 0 / 1.121 GB, free: 0.6797 MB / 0.9044 GB Notification: Performance of matching and sorting (n=210): time 0.01586/1.456, allocations: 5.807 MB / 1.127 GB, free: 10.81 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000251/1.456, allocations: 376.5 kB / 1.127 GB, free: 10.38 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02194/1.478, allocations: 10.24 MB / 1.137 GB, free: 168 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.001104/1.479, allocations: 129.7 kB / 1.137 GB, free: 32 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.5401/2.02, allocations: 3.227 MB / 1.14 GB, free: 298.4 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.001089/2.021, allocations: 0.6883 MB / 1.141 GB, free: 298.2 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001316/2.022, allocations: 0.8109 MB / 1.142 GB, free: 297.9 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 6.531e-05/2.022, allocations: 306.3 kB / 1.142 GB, free: 297.6 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002743/2.025, allocations: 1.91 MB / 1.144 GB, free: 296.9 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003784/2.029, allocations: 3.018 MB / 1.147 GB, free: 295 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006457/2.035, allocations: 4.217 MB / 1.151 GB, free: 292.6 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.072e-05/2.035, allocations: 7.344 kB / 1.151 GB, free: 292.6 MB / 0.92 GB Notification: Performance of matching and sorting (n=478) (initialization): time 0.01573/2.051, allocations: 6.178 MB / 1.157 GB, free: 290.3 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 9.529e-05/2.051, allocations: 43.03 kB / 1.157 GB, free: 290.3 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.615e-05/2.051, allocations: 25.88 kB / 1.157 GB, free: 290.3 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002673/2.054, allocations: 0.6618 MB / 1.158 GB, free: 290.1 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005916/2.06, allocations: 0.9756 MB / 1.159 GB, free: 290.1 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01574/2.076, allocations: 15.33 MB / 1.174 GB, free: 277.3 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006525/2.082, allocations: 0.4954 MB / 1.174 GB, free: 277 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001255/2.083, allocations: 161.9 kB / 1.174 GB, free: 277 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0104/2.094, allocations: 4.326 MB / 1.178 GB, free: 275.2 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00525/2.099, allocations: 3.006 MB / 1.181 GB, free: 273.3 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006684/2.106, allocations: 4.175 MB / 1.185 GB, free: 270.9 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.389e-05/2.106, allocations: 7.562 kB / 1.185 GB, free: 270.9 MB / 0.92 GB Notification: Performance of matching and sorting (n=478) (initialization_lambda0): time 0.01604/2.122, allocations: 6.133 MB / 1.191 GB, free: 268.4 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 9.156e-05/2.122, allocations: 42.25 kB / 1.191 GB, free: 268.3 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.994e-05/2.122, allocations: 26.66 kB / 1.191 GB, free: 268.3 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002678/2.125, allocations: 0.6548 MB / 1.192 GB, free: 268.2 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004023/2.129, allocations: 0.7386 MB / 1.193 GB, free: 268.1 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008777/2.138, allocations: 6.322 MB / 1.199 GB, free: 264 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006458/2.144, allocations: 392.2 kB / 1.199 GB, free: 263.8 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001184/2.145, allocations: 165.9 kB / 1.2 GB, free: 263.8 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.001492/2.147, allocations: 0.5396 MB / 1.2 GB, free: 263.4 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002622/2.15, allocations: 0.7218 MB / 1.201 GB, free: 263 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004782/2.154, allocations: 1.607 MB / 1.202 GB, free: 262.3 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.17e-05/2.154, allocations: 22.58 kB / 1.202 GB, free: 262.3 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.713e-05/2.154, allocations: 3.203 kB / 1.202 GB, free: 262.3 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-05/2.155, allocations: 10.62 kB / 1.202 GB, free: 262.3 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02312/2.178, allocations: 8.963 MB / 1.211 GB, free: 259 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.529e-05/2.178, allocations: 3.25 kB / 1.211 GB, free: 259 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003135/2.181, allocations: 0.5307 MB / 1.212 GB, free: 258.9 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002047/2.183, allocations: 0.5985 MB / 1.212 GB, free: 258.8 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003765/2.183, allocations: 72.92 kB / 1.212 GB, free: 258.8 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0128/2.196, allocations: 15.15 MB / 1.227 GB, free: 245.6 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/2.196, allocations: 3.969 kB / 1.227 GB, free: 245.6 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01428/2.21, allocations: 6.533 MB / 1.233 GB, free: 242.2 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004265/2.215, allocations: 1.462 MB / 1.235 GB, free: 241.1 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002016/2.217, allocations: 132.4 kB / 1.235 GB, free: 241.1 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003186/2.22, allocations: 176.3 kB / 1.235 GB, free: 241 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003968/2.22, allocations: 154.9 kB / 1.235 GB, free: 240.9 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001646/2.221, allocations: 75.52 kB / 1.235 GB, free: 240.9 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.01345/2.234, allocations: 7.158 MB / 1.242 GB, free: 235.7 MB / 0.92 GB Notification: Performance of sort global known variables: time 8.21e-07/2.234, allocations: 4 kB / 1.242 GB, free: 235.7 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.01198/2.246, allocations: 2.424 MB / 1.245 GB, free: 233.3 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.00272/2.249, allocations: 1.025 MB / 1.246 GB, free: 232.7 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01605/2.265, allocations: 7.993 MB / 1.254 GB, free: 224.6 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.189e-05/2.265, allocations: 0.75 kB / 1.254 GB, free: 224.6 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.006133/2.271, allocations: 2.627 MB / 1.256 GB, free: 222 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01259/2.284, allocations: 2.595 MB / 1.259 GB, free: 219.6 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02328/2.307, allocations: 13.76 MB / 1.272 GB, free: 205.8 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003425/2.31, allocations: 4.518 MB / 1.277 GB, free: 201.2 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00207/2.313, allocations: 427.4 kB / 1.277 GB, free: 200.8 MB / 0.92 GB Notification: Performance of SimCode: time 9.52e-07/2.313, allocations: 0 / 1.277 GB, free: 200.8 MB / 0.92 GB Notification: Performance of Templates: time 0.968/3.281, allocations: 432 MB / 1.699 GB, free: 130.2 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