Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.NaturalConvectionWithControl.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.NaturalConvectionWithControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.NaturalConvectionWithControl") translateModel(Buildings.ThermalZones.Detailed.Examples.FFD.NaturalConvectionWithControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.NaturalConvectionWithControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 116.8 kB / 16.38 MB, free: 6.012 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.00151/0.00151, allocations: 189.8 kB / 17.31 MB, free: 5.613 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.521/1.521, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.828/1.828, 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.00147/0.00147, allocations: 67.89 kB / 0.6729 GB, free: 5.867 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2762, allocations: 114.5 MB / 0.7848 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.FFD.NaturalConvectionWithControl): time 0.8002/1.076, allocations: 202.1 MB / 0.9822 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.06048/1.137, allocations: 32.31 MB / 1.014 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01629/1.153, allocations: 290.2 kB / 1.014 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.01032/1.164, allocations: 2.98 MB / 1.017 GB, free: 12.13 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.01093/1.175, allocations: 2.421 MB / 1.019 GB, free: 9.699 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.NaturalConvectionWithControl.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.NaturalConvectionWithControl.roo.air.cfd.exchange' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.009362/1.184, allocations: 2.694 MB / 1.022 GB, free: 7.023 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0171/1.201, allocations: 10.85 MB / 1.032 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007279/1.208, allocations: 4.041 MB / 1.036 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007391/1.216, allocations: 3.237 MB / 1.04 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00795/1.224, allocations: 3.714 MB / 1.043 GB, free: 1.156 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.00322/1.227, allocations: 0.5996 MB / 1.044 GB, free: 0.5586 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006502/1.234, allocations: 1.389 MB / 1.045 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.00452/1.238, allocations: 1.912 MB / 1.047 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.01062/1.249, allocations: 3.731 MB / 1.051 GB, free: 9.5 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.02205/1.271, allocations: 11.36 MB / 1.062 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 9.888e-06/1.271, allocations: 0 / 1.062 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.807e-06/1.271, allocations: 4 kB / 1.062 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0005397/1.272, allocations: 0 / 1.062 GB, free: 14.1 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: 539 * Number of variables: 539 Notification: Performance of Generate backend data structure: time 0.03101/1.303, allocations: 8.927 MB / 1.07 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.733e-05/1.303, allocations: 15.97 kB / 1.071 GB, free: 4.969 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005016/1.308, allocations: 0.9195 MB / 1.071 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01957/1.327, allocations: 7.337 MB / 1.079 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003195/1.328, allocations: 192 kB / 1.079 GB, free: 12.42 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001319/1.329, allocations: 268 kB / 1.079 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008428/1.338, allocations: 3.041 MB / 1.082 GB, free: 8.91 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001093/1.338, allocations: 11.84 kB / 1.082 GB, free: 8.898 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006158/1.338, allocations: 88 kB / 1.082 GB, free: 8.812 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001262/1.338, allocations: 90.3 kB / 1.082 GB, free: 8.723 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006796/1.345, allocations: 3.049 MB / 1.085 GB, free: 5.668 MB / 0.8731 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03787/1.383, allocations: 14.46 MB / 1.099 GB, free: 6.965 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006756/1.39, allocations: 2.384 MB / 1.102 GB, free: 4.566 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00293/1.393, allocations: 1.243 MB / 1.103 GB, free: 3.324 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001975/1.393, allocations: 41.5 kB / 1.103 GB, free: 3.281 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0036/1.397, allocations: 1.456 MB / 1.104 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=179): time 9.898e-06/1.397, allocations: 3.984 kB / 1.104 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of matching and sorting (n=179): time 0.01531/1.412, allocations: 4.929 MB / 1.109 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004036/1.413, allocations: 322.5 kB / 1.109 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02827/1.441, allocations: 9.826 MB / 1.119 GB, free: 2.621 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.001043/1.442, allocations: 105.7 kB / 1.119 GB, free: 2.512 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.006996/1.449, allocations: 3.169 MB / 1.122 GB, free: 15.33 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.001452/1.45, allocations: 0.5895 MB / 1.123 GB, free: 14.73 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003696/1.454, allocations: 0.7218 MB / 1.123 GB, free: 14 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001646/1.454, allocations: 305.1 kB / 1.124 GB, free: 13.7 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004215/1.459, allocations: 1.703 MB / 1.125 GB, free: 11.99 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00542/1.464, allocations: 2.664 MB / 1.128 GB, free: 9.004 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00731/1.471, allocations: 3.666 MB / 1.132 GB, free: 5.02 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-05/1.471, allocations: 11.94 kB / 1.132 GB, free: 5.008 MB / 0.92 GB Notification: Performance of matching and sorting (n=418) (initialization): time 0.5682/2.04, allocations: 5.573 MB / 1.137 GB, free: 292.9 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 6.285e-05/2.04, allocations: 43.23 kB / 1.137 GB, free: 292.8 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.21e-05/2.04, allocations: 23.91 kB / 1.137 GB, free: 292.8 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002334/2.042, allocations: 0.6492 MB / 1.138 GB, free: 292.8 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005225/2.047, allocations: 0.8988 MB / 1.139 GB, free: 292.8 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01413/2.062, allocations: 15.33 MB / 1.154 GB, free: 281.7 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005825/2.067, allocations: 443.1 kB / 1.154 GB, free: 281.7 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001024/2.069, allocations: 141.2 kB / 1.154 GB, free: 281.7 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008703/2.077, allocations: 4.019 MB / 1.158 GB, free: 281.6 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004424/2.082, allocations: 2.636 MB / 1.161 GB, free: 280 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005902/2.088, allocations: 3.628 MB / 1.164 GB, free: 277.9 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.362e-05/2.088, allocations: 7.812 kB / 1.164 GB, free: 277.9 MB / 0.92 GB Notification: Performance of matching and sorting (n=418) (initialization_lambda0): time 0.01343/2.101, allocations: 5.553 MB / 1.17 GB, free: 276.2 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.735e-05/2.101, allocations: 41.28 kB / 1.17 GB, free: 276.2 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.66e-05/2.101, allocations: 21.69 kB / 1.17 GB, free: 276.2 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002511/2.104, allocations: 0.6537 MB / 1.17 GB, free: 276 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003962/2.108, allocations: 0.6548 MB / 1.171 GB, free: 276 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01048/2.118, allocations: 6.297 MB / 1.177 GB, free: 272 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006211/2.125, allocations: 360.2 kB / 1.177 GB, free: 271.9 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001084/2.126, allocations: 139.4 kB / 1.178 GB, free: 271.9 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 72 (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[9],$PRE.roo.air.cfd.uWri[9],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[9],$PRE.roo.air.cfd.y[9],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[7],$PRE.roo.air.cfd.uWri[7],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.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.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],conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (405): * Single equations (assignments): 396 * 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.001246/2.127, allocations: 492.4 kB / 1.178 GB, free: 271.5 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00258/2.13, allocations: 0.7007 MB / 1.179 GB, free: 271.1 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005403/2.135, allocations: 1.556 MB / 1.18 GB, free: 270.5 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.999e-05/2.135, allocations: 19.33 kB / 1.18 GB, free: 270.5 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.947e-05/2.135, allocations: 5.062 kB / 1.18 GB, free: 270.5 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.935e-05/2.135, allocations: 8.438 kB / 1.18 GB, free: 270.5 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02473/2.16, allocations: 7.706 MB / 1.188 GB, free: 267.5 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.289e-05/2.16, allocations: 0.7031 kB / 1.188 GB, free: 267.5 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003341/2.163, allocations: 0.4905 MB / 1.188 GB, free: 267.5 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002426/2.166, allocations: 0.6011 MB / 1.189 GB, free: 267.4 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004726/2.166, allocations: 57.58 kB / 1.189 GB, free: 267.4 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0155/2.182, allocations: 15.16 MB / 1.204 GB, free: 254.5 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/2.182, allocations: 0 / 1.204 GB, free: 254.5 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01411/2.196, allocations: 5.409 MB / 1.209 GB, free: 252.3 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004986/2.201, allocations: 1.377 MB / 1.21 GB, free: 251.5 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003066/2.204, allocations: 87.02 kB / 1.21 GB, free: 251.5 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004499/2.209, allocations: 144 kB / 1.211 GB, free: 251.4 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006321/2.209, allocations: 122.5 kB / 1.211 GB, free: 251.4 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000354/2.21, allocations: 71.17 kB / 1.211 GB, free: 251.4 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.01998/2.23, allocations: 6.876 MB / 1.217 GB, free: 249 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.192e-06/2.23, allocations: 0 / 1.217 GB, free: 249 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.01414/2.244, allocations: 2.288 MB / 1.22 GB, free: 248.7 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (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.fluInt.p,conPID.I.y) * Number of discrete variables: 37 (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.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.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.modTimRea,roo.air.cfd.retVal,$whenCondition4,$whenCondition3,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 31 (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.u[7],roo.air.cfd.uIntPre[7],roo.air.cfd.uIntPre[8],roo.air.cfd.u[9],roo.air.cfd.uIntPre[9],roo.air.cfd.retVal,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 (168): * Single equations (assignments): 138 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 21 * 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.003055/2.247, allocations: 0.91 MB / 1.221 GB, free: 248.6 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01802/2.265, allocations: 7.177 MB / 1.228 GB, free: 244.9 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.465e-05/2.265, allocations: 0 / 1.228 GB, free: 244.9 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.006992/2.272, allocations: 2.198 MB / 1.23 GB, free: 243.7 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01794/2.29, allocations: 2.396 MB / 1.232 GB, free: 242.6 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03358/2.324, allocations: 12.95 MB / 1.245 GB, free: 231.2 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006692/2.33, allocations: 4.366 MB / 1.249 GB, free: 226.8 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002145/2.332, allocations: 399.4 kB / 1.249 GB, free: 226.4 MB / 0.92 GB Notification: Performance of SimCode: time 1.483e-06/2.333, allocations: 0 / 1.249 GB, free: 226.4 MB / 0.92 GB Notification: Performance of Templates: time 0.8903/3.223, allocations: 417.8 MB / 1.657 GB, free: 171.2 MB / 0.9356 GB make -j1 -f Buildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.NaturalConvectionWithControl.makefile make -j1 -f Buildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.NaturalConvectionWithControl.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.NaturalConvectionWithControlCalcHelperMain.o OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.NaturalConvectionWithControlCalcHelperMain.cpp In file included from OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.NaturalConvectionWithControlCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.NaturalConvectionWithControlFunctions.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.NaturalConvectionWithControlCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.NaturalConvectionWithControlFunctions.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.NaturalConvectionWithControlCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.NaturalConvectionWithControlFunctions.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.NaturalConvectionWithControlCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.NaturalConvectionWithControlFunctions.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.NaturalConvectionWithControlCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.NaturalConvectionWithControlFunctions.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.NaturalConvectionWithControlCalcHelperMain.cpp:28: ./OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.NaturalConvectionWithControlFunctions.cpp:448: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.NaturalConvectionWithControlCalcHelperMain.cpp:28: ./OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.NaturalConvectionWithControlFunctions.cpp:496: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.NaturalConvectionWithControlCalcHelperMain.o] Error 1