Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.RoomOnlyConstructionBoundary.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.RoomOnlyConstructionBoundary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.RoomOnlyConstructionBoundary") translateModel(Buildings.ThermalZones.Detailed.Examples.FFD.RoomOnlyConstructionBoundary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.RoomOnlyConstructionBoundary") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 112.5 kB / 16.37 MB, free: 5.996 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.001749/0.001749, allocations: 190.4 kB / 17.31 MB, free: 5.605 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.569/1.569, 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.83/1.83, allocations: 292.3 MB / 0.5496 GB, free: 17.57 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.0025/0.0025, allocations: 75.91 kB / 0.6729 GB, free: 5.871 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.2863, allocations: 114.5 MB / 0.7848 GB, free: 3.215 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.FFD.RoomOnlyConstructionBoundary): time 0.8153/1.102, allocations: 201.5 MB / 0.9816 GB, free: 476 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.06189/1.164, allocations: 32.41 MB / 1.013 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01603/1.18, allocations: 282.2 kB / 1.013 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.01107/1.191, allocations: 3.269 MB / 1.017 GB, free: 12.42 MB / 0.8106 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getAbsolutePath.mo:2:1-50:20:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getAbsolutePath' contains a call to impure function 'Modelica.Utilities.Files.exist'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3' contains a call to impure function 'Modelica.Utilities.Streams.readLine'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.01223/1.203, allocations: 2.674 MB / 1.019 GB, free: 9.742 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.RoomOnlyConstructionBoundary.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.RoomOnlyConstructionBoundary.roo.air.cfd.exchange' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.01072/1.214, allocations: 2.921 MB / 1.022 GB, free: 6.84 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.02892/1.243, allocations: 19.26 MB / 1.041 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0114/1.254, allocations: 6.648 MB / 1.047 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01486/1.269, allocations: 7.449 MB / 1.055 GB, free: 5.453 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01345/1.283, allocations: 6.053 MB / 1.061 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.004816/1.288, allocations: 0.9688 MB / 1.062 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00952/1.297, allocations: 1.764 MB / 1.063 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.008151/1.305, allocations: 3.208 MB / 1.066 GB, free: 9.43 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.01765/1.323, allocations: 6.246 MB / 1.073 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.03411/1.357, allocations: 19.19 MB / 1.091 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/1.357, allocations: 0 / 1.091 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.354e-06/1.357, allocations: 0 / 1.091 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.000729/1.358, allocations: 8 kB / 1.091 GB, free: 15.9 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.05263/1.411, allocations: 14.5 MB / 1.105 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.439e-05/1.411, allocations: 11.97 kB / 1.105 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00867/1.419, allocations: 1.355 MB / 1.107 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03892/1.458, allocations: 14 MB / 1.12 GB, free: 1.672 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004377/1.459, allocations: 261.3 kB / 1.121 GB, free: 1.414 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001456/1.46, allocations: 367.9 kB / 1.121 GB, free: 1.055 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009792/1.47, allocations: 4.206 MB / 1.125 GB, free: 12.61 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-05/1.47, allocations: 11.88 kB / 1.125 GB, free: 12.6 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000353/1.47, allocations: 116 kB / 1.125 GB, free: 12.49 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000117/1.471, allocations: 103.5 kB / 1.125 GB, free: 12.39 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007743/1.478, allocations: 3.897 MB / 1.129 GB, free: 8.484 MB / 0.92 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.9425/2.421, allocations: 24.09 MB / 1.153 GB, free: 279.8 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006116/2.427, allocations: 2.703 MB / 1.155 GB, free: 278.8 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002926/2.43, allocations: 1.438 MB / 1.157 GB, free: 278.3 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001595/2.43, allocations: 39.83 kB / 1.157 GB, free: 278.3 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003171/2.433, allocations: 1.574 MB / 1.158 GB, free: 277.7 MB / 0.92 GB Notification: Performance of pre-optimization done (n=190): time 4.889e-06/2.433, allocations: 0 / 1.158 GB, free: 277.7 MB / 0.92 GB Notification: Performance of matching and sorting (n=190): time 0.02637/2.46, allocations: 7.333 MB / 1.165 GB, free: 276 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001827/2.46, allocations: 320.8 kB / 1.166 GB, free: 275.7 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05575/2.516, allocations: 18.68 MB / 1.184 GB, free: 269.8 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.001116/2.517, allocations: 123.7 kB / 1.184 GB, free: 269.7 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.009111/2.526, allocations: 5.314 MB / 1.189 GB, free: 265.8 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.001352/2.527, allocations: 0.6336 MB / 1.19 GB, free: 265.3 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002142/2.53, allocations: 1.027 MB / 1.191 GB, free: 264.8 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 6.154e-05/2.53, allocations: 301.1 kB / 1.191 GB, free: 264.5 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003562/2.533, allocations: 2.147 MB / 1.193 GB, free: 263.8 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004925/2.538, allocations: 3.857 MB / 1.197 GB, free: 261 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007409/2.546, allocations: 5.263 MB / 1.202 GB, free: 257.3 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-05/2.546, allocations: 17.5 kB / 1.202 GB, free: 257.3 MB / 0.92 GB Notification: Performance of matching and sorting (n=549) (initialization): time 0.0193/2.565, allocations: 7.863 MB / 1.21 GB, free: 253.5 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 8.593e-05/2.565, allocations: 59.81 kB / 1.21 GB, free: 253.5 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.338e-05/2.565, allocations: 51.09 kB / 1.21 GB, free: 253.5 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003628/2.569, allocations: 1.252 MB / 1.211 GB, free: 253 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003555/2.572, allocations: 0.8263 MB / 1.212 GB, free: 252.8 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01382/2.586, allocations: 11.62 MB / 1.223 GB, free: 244.6 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009794/2.596, allocations: 0.7798 MB / 1.224 GB, free: 244.1 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001312/2.597, allocations: 201 kB / 1.224 GB, free: 244.1 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 217 * Number of states: 0 () * Number of discrete variables: 71 (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.sampleTrigger,$whenCondition3,$whenCondition4,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2,roo.air.cfd.y[9],$PRE.roo.air.cfd.y[9],roo.air.cfd.y[8],$PRE.roo.air.cfd.y[8],roo.air.cfd.y[7],$PRE.roo.air.cfd.y[7],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.uWri[2],$PRE.roo.air.cfd.uWri[2],roo.air.cfd.uWri[1],$PRE.roo.air.cfd.uWri[1],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 (506): * Single equations (assignments): 503 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(11,31,47.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.01039/2.608, allocations: 5.087 MB / 1.229 GB, free: 241 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004606/2.613, allocations: 1.122 MB / 1.23 GB, free: 240.4 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006449/2.619, allocations: 2.059 MB / 1.232 GB, free: 238.5 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/2.619, allocations: 23.94 kB / 1.232 GB, free: 238.5 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.496e-05/2.619, allocations: 8 kB / 1.232 GB, free: 238.5 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.463e-05/2.619, allocations: 11.95 kB / 1.232 GB, free: 238.5 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03009/2.649, allocations: 12.04 MB / 1.244 GB, free: 226.4 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.785e-05/2.649, allocations: 4 kB / 1.244 GB, free: 226.4 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009975/2.65, allocations: 211.7 kB / 1.244 GB, free: 226.2 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003112/2.653, allocations: 1.102 MB / 1.246 GB, free: 225.1 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003219/2.654, allocations: 67.89 kB / 1.246 GB, free: 225 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01178/2.666, allocations: 11.53 MB / 1.257 GB, free: 213.2 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/2.666, allocations: 6.312 kB / 1.257 GB, free: 213.2 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01313/2.679, allocations: 6.689 MB / 1.263 GB, free: 206.5 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007653/2.686, allocations: 2.446 MB / 1.266 GB, free: 204 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004544/2.691, allocations: 87.97 kB / 1.266 GB, free: 203.9 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007426/2.698, allocations: 363.3 kB / 1.266 GB, free: 203.5 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006824/2.699, allocations: 129.8 kB / 1.266 GB, free: 203.4 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002189/2.699, allocations: 67.95 kB / 1.266 GB, free: 203.3 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.02886/2.728, allocations: 13.19 MB / 1.279 GB, free: 190.2 MB / 0.92 GB Notification: Performance of sort global known variables: time 7.41e-07/2.728, allocations: 0 / 1.279 GB, free: 190.2 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.01166/2.74, allocations: 2.302 MB / 1.282 GB, free: 187.9 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (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) * Number of discrete variables: 37 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,roo.air.cfd.sampleTrigger,$whenCondition4,$whenCondition3,roo.air.cfd.firstTrigger,roo.air.cfd.y[1],roo.air.cfd.y[2],roo.air.cfd.y[3],roo.air.cfd.y[4],roo.air.cfd.y[5],roo.air.cfd.y[6],roo.air.cfd.y[7],roo.air.cfd.y[8],roo.air.cfd.y[9],roo.air.cfd.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) * Number of discrete states: 30 (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.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,$whenCondition3,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 21 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(11,31,47.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002735/2.743, allocations: 0.9074 MB / 1.282 GB, free: 187.4 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.009475/2.752, allocations: 5.05 MB / 1.287 GB, free: 182.4 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.017e-05/2.752, allocations: 4 kB / 1.287 GB, free: 182.3 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.004055/2.756, allocations: 2.28 MB / 1.29 GB, free: 180 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02502/2.781, allocations: 4.271 MB / 1.294 GB, free: 176.1 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04405/2.826, allocations: 22.09 MB / 1.315 GB, free: 154 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009752/2.835, allocations: 7.275 MB / 1.322 GB, free: 146.7 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00341/2.839, allocations: 0.597 MB / 1.323 GB, free: 146.1 MB / 0.92 GB Notification: Performance of SimCode: time 1.663e-06/2.839, allocations: 0 / 1.323 GB, free: 146.1 MB / 0.92 GB Notification: Performance of Templates: time 0.834/3.673, allocations: 329 MB / 1.644 GB, free: 201.9 MB / 0.9513 GB make -j1 -f Buildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.RoomOnlyConstructionBoundary.makefile make -j1 -f Buildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.RoomOnlyConstructionBoundary.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.RoomOnlyConstructionBoundaryCalcHelperMain.o OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.RoomOnlyConstructionBoundaryCalcHelperMain.cpp In file included from OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.RoomOnlyConstructionBoundaryCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.RoomOnlyConstructionBoundaryFunctions.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.RoomOnlyConstructionBoundaryCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.RoomOnlyConstructionBoundaryFunctions.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.RoomOnlyConstructionBoundaryCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.RoomOnlyConstructionBoundaryFunctions.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.RoomOnlyConstructionBoundaryCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.RoomOnlyConstructionBoundaryFunctions.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.RoomOnlyConstructionBoundaryCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.RoomOnlyConstructionBoundaryFunctions.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.RoomOnlyConstructionBoundaryCalcHelperMain.cpp:28: ./OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.RoomOnlyConstructionBoundaryFunctions.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.RoomOnlyConstructionBoundaryCalcHelperMain.cpp:28: ./OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.RoomOnlyConstructionBoundaryFunctions.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.RoomOnlyConstructionBoundaryCalcHelperMain.o] Error 1