Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvection") translateModel(Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001322/0.001323, allocations: 111.6 kB / 16.37 MB, free: 6 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.001199/0.001199, allocations: 193.7 kB / 17.31 MB, free: 5.617 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.567/1.567, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.972/1.972, allocations: 292.3 MB / 0.5496 GB, free: 17.55 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.001475/0.001475, allocations: 63.91 kB / 0.6729 GB, free: 5.844 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.2787, allocations: 114.6 MB / 0.7848 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvection): time 0.8228/1.102, allocations: 209.9 MB / 0.9898 GB, free: 7.918 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.06038/1.162, allocations: 32.61 MB / 1.022 GB, free: 7.238 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01624/1.178, allocations: 286.2 kB / 1.022 GB, free: 6.957 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.01012/1.188, allocations: 3.007 MB / 1.025 GB, free: 3.938 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.01137/1.2, allocations: 2.714 MB / 1.028 GB, free: 1.219 MB / 0.8106 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/ThermalZones/Detailed/BaseClasses/CFDExchange.mo:64:3-120:21:writable] Warning: Pure function 'Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvection.roo.air.cfd.sendParameters' contains a call to impure function 'Modelica.Utilities.Streams.print'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/ThermalZones/Detailed/BaseClasses/CFDExchange.mo:125:3-152:15:writable] Warning: Pure function 'Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvection.roo.air.cfd.exchange' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.009189/1.209, allocations: 2.756 MB / 1.03 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01681/1.226, allocations: 11.84 MB / 1.042 GB, free: 2.633 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007626/1.234, allocations: 4.75 MB / 1.046 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009075/1.243, allocations: 3.479 MB / 1.05 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00825/1.251, allocations: 3.913 MB / 1.054 GB, free: 6.461 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.002686/1.254, allocations: 0.6328 MB / 1.054 GB, free: 5.828 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006636/1.26, allocations: 1.986 MB / 1.056 GB, free: 3.84 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.003824/1.264, allocations: 2.111 MB / 1.058 GB, free: 1.723 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.009884/1.274, allocations: 3.922 MB / 1.062 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.02187/1.296, allocations: 12.17 MB / 1.074 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.032e-05/1.296, allocations: 0 / 1.074 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.452e-06/1.296, allocations: 0 / 1.074 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0004891/1.297, allocations: 4 kB / 1.074 GB, free: 1.57 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.02982/1.326, allocations: 9.351 MB / 1.083 GB, free: 7.992 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.623e-05/1.327, allocations: 12.03 kB / 1.083 GB, free: 7.98 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005489/1.332, allocations: 0.9779 MB / 1.084 GB, free: 6.992 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01971/1.352, allocations: 7.506 MB / 1.091 GB, free: 15.4 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003298/1.352, allocations: 220.6 kB / 1.092 GB, free: 15.18 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001552/1.354, allocations: 300 kB / 1.092 GB, free: 14.89 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009795/1.364, allocations: 3.513 MB / 1.095 GB, free: 11.18 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001281/1.364, allocations: 15.84 kB / 1.095 GB, free: 11.16 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006823/1.364, allocations: 104 kB / 1.095 GB, free: 11.06 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001146/1.364, allocations: 86.84 kB / 1.096 GB, free: 10.98 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007453/1.372, allocations: 3.422 MB / 1.099 GB, free: 7.547 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03465/1.407, allocations: 15.35 MB / 1.114 GB, free: 7.938 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006542/1.413, allocations: 2.777 MB / 1.117 GB, free: 5.145 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003116/1.416, allocations: 1.502 MB / 1.118 GB, free: 3.633 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005626/1.417, allocations: 320.9 kB / 1.118 GB, free: 3.262 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003769/1.421, allocations: 1.698 MB / 1.12 GB, free: 1.531 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=204): time 8.827e-06/1.421, allocations: 0 / 1.12 GB, free: 1.531 MB / 0.9044 GB Notification: Performance of matching and sorting (n=204): time 0.01629/1.437, allocations: 5.674 MB / 1.126 GB, free: 11.8 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002482/1.437, allocations: 368.4 kB / 1.126 GB, free: 11.38 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02598/1.463, allocations: 10.29 MB / 1.136 GB, free: 1.117 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.001039/1.465, allocations: 129.7 kB / 1.136 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.5591/2.024, allocations: 3.253 MB / 1.139 GB, free: 296.2 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.001212/2.025, allocations: 0.6707 MB / 1.14 GB, free: 296.2 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001457/2.026, allocations: 0.8097 MB / 1.141 GB, free: 296.1 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 7.892e-05/2.026, allocations: 301.1 kB / 1.141 GB, free: 295.8 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002817/2.029, allocations: 1.864 MB / 1.143 GB, free: 295.2 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003677/2.033, allocations: 3.015 MB / 1.146 GB, free: 293.3 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005731/2.039, allocations: 4.162 MB / 1.15 GB, free: 290.9 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-05/2.039, allocations: 8.656 kB / 1.15 GB, free: 290.9 MB / 0.92 GB Notification: Performance of matching and sorting (n=478) (initialization): time 0.0163/2.055, allocations: 6.127 MB / 1.156 GB, free: 288.6 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.000108/2.055, allocations: 42.75 kB / 1.156 GB, free: 288.6 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.972e-05/2.055, allocations: 29.8 kB / 1.156 GB, free: 288.6 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002928/2.058, allocations: 0.6551 MB / 1.156 GB, free: 288.5 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003768/2.062, allocations: 0.7122 MB / 1.157 GB, free: 288.4 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01035/2.072, allocations: 6.356 MB / 1.163 GB, free: 284.4 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007893/2.08, allocations: 0.4937 MB / 1.164 GB, free: 284.1 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001691/2.082, allocations: 162.8 kB / 1.164 GB, free: 284.1 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 119 * Number of states: 0 () * Number of discrete variables: 103 (roo.air.cfd.uIntPre[15],$PRE.roo.air.cfd.uIntPre[15],roo.air.cfd.uIntPre[14],$PRE.roo.air.cfd.uIntPre[14],roo.air.cfd.uIntPre[13],$PRE.roo.air.cfd.uIntPre[13],roo.air.cfd.uIntPre[12],$PRE.roo.air.cfd.uIntPre[12],roo.air.cfd.uIntPre[11],$PRE.roo.air.cfd.uIntPre[11],roo.air.cfd.uIntPre[10],$PRE.roo.air.cfd.uIntPre[10],roo.air.cfd.uIntPre[9],$PRE.roo.air.cfd.uIntPre[9],roo.air.cfd.uIntPre[8],$PRE.roo.air.cfd.uIntPre[8],roo.air.cfd.uIntPre[7],$PRE.roo.air.cfd.uIntPre[7],roo.air.cfd.uIntPre[6],$PRE.roo.air.cfd.uIntPre[6],roo.air.cfd.uIntPre[5],$PRE.roo.air.cfd.uIntPre[5],roo.air.cfd.uIntPre[4],$PRE.roo.air.cfd.uIntPre[4],roo.air.cfd.uIntPre[3],$PRE.roo.air.cfd.uIntPre[3],roo.air.cfd.uIntPre[2],$PRE.roo.air.cfd.uIntPre[2],roo.air.cfd.uIntPre[1],$PRE.roo.air.cfd.uIntPre[1],roo.air.cfd.firstTrigger,$PRE.roo.air.cfd.firstTrigger,roo.air.cfd.retVal,$PRE.roo.air.cfd.retVal,roo.air.cfd.modTimRea,$PRE.roo.air.cfd.modTimRea,roo.air.cfd.uWri[15],$PRE.roo.air.cfd.uWri[15],roo.air.cfd.uWri[14],$PRE.roo.air.cfd.uWri[14],roo.air.cfd.uWri[13],$PRE.roo.air.cfd.uWri[13],roo.air.cfd.uWri[12],$PRE.roo.air.cfd.uWri[12],roo.air.cfd.uWri[10],$PRE.roo.air.cfd.uWri[10],roo.air.cfd.uWri[9],$PRE.roo.air.cfd.uWri[9],roo.air.cfd.uWri[6],$PRE.roo.air.cfd.uWri[6],roo.air.cfd.uWri[5],$PRE.roo.air.cfd.uWri[5],roo.air.cfd.uWri[4],$PRE.roo.air.cfd.uWri[4],roo.air.cfd.uWri[3],$PRE.roo.air.cfd.uWri[3],roo.air.cfd.uWri[2],$PRE.roo.air.cfd.uWri[2],roo.air.cfd.uWri[1],$PRE.roo.air.cfd.uWri[1],roo.air.cfd.sampleTrigger,$whenCondition3,$whenCondition4,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2,roo.air.cfd.y[13],$PRE.roo.air.cfd.y[13],roo.air.cfd.y[12],$PRE.roo.air.cfd.y[12],roo.air.cfd.y[7],$PRE.roo.air.cfd.y[7],roo.air.cfd.uWri[11],$PRE.roo.air.cfd.uWri[11],roo.air.cfd.y[11],$PRE.roo.air.cfd.y[11],roo.air.cfd.y[10],$PRE.roo.air.cfd.y[10],roo.air.cfd.y[9],$PRE.roo.air.cfd.y[9],roo.air.cfd.y[8],$PRE.roo.air.cfd.y[8],roo.air.cfd.uWri[8],$PRE.roo.air.cfd.uWri[8],roo.air.cfd.y[6],$PRE.roo.air.cfd.y[6],roo.air.cfd.y[5],$PRE.roo.air.cfd.y[5],roo.air.cfd.y[4],$PRE.roo.air.cfd.y[4],roo.air.cfd.y[3],$PRE.roo.air.cfd.y[3],roo.air.cfd.y[2],$PRE.roo.air.cfd.y[2],roo.air.cfd.y[1],$PRE.roo.air.cfd.y[1],roo.air.cfd.uWri[7],$PRE.roo.air.cfd.uWri[7]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (465): * Single equations (assignments): 462 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.01125/2.093, allocations: 2.778 MB / 1.167 GB, free: 282.9 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003782/2.097, allocations: 0.729 MB / 1.167 GB, free: 282.5 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007478/2.105, allocations: 1.595 MB / 1.169 GB, free: 281.8 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-05/2.105, allocations: 27.39 kB / 1.169 GB, free: 281.8 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-05/2.105, allocations: 4.938 kB / 1.169 GB, free: 281.8 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.605e-05/2.105, allocations: 11.2 kB / 1.169 GB, free: 281.8 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03817/2.143, allocations: 8.729 MB / 1.178 GB, free: 278.5 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-05/2.143, allocations: 2.656 kB / 1.178 GB, free: 278.5 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001697/2.145, allocations: 267.3 kB / 1.178 GB, free: 278.5 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002643/2.148, allocations: 0.6001 MB / 1.178 GB, free: 278.4 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005807/2.148, allocations: 75.62 kB / 1.178 GB, free: 278.4 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01126/2.159, allocations: 6.295 MB / 1.185 GB, free: 274.3 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.083e-05/2.16, allocations: 5.5 kB / 1.185 GB, free: 274.3 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01933/2.179, allocations: 6.385 MB / 1.191 GB, free: 271.8 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006566/2.185, allocations: 1.459 MB / 1.192 GB, free: 270.9 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004578/2.19, allocations: 126.1 kB / 1.192 GB, free: 270.9 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006748/2.197, allocations: 175.4 kB / 1.193 GB, free: 270.8 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001161/2.198, allocations: 142 kB / 1.193 GB, free: 270.8 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007174/2.199, allocations: 77.05 kB / 1.193 GB, free: 270.8 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.02604/2.225, allocations: 7.189 MB / 1.2 GB, free: 268.3 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.072e-06/2.225, allocations: 0 / 1.2 GB, free: 268.3 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.009809/2.235, allocations: 1.398 MB / 1.201 GB, free: 268.2 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 15 (roo.air.cfd.uInt[1],roo.air.cfd.uInt[2],roo.air.cfd.uInt[3],roo.air.cfd.uInt[4],roo.air.cfd.uInt[5],roo.air.cfd.uInt[6],roo.air.cfd.uInt[7],roo.air.cfd.uInt[8],roo.air.cfd.uInt[9],roo.air.cfd.uInt[10],roo.air.cfd.uInt[11],roo.air.cfd.uInt[12],roo.air.cfd.uInt[13],roo.air.cfd.uInt[14],roo.air.cfd.uInt[15]) * Number of discrete variables: 53 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,roo.air.cfd.sampleTrigger,$whenCondition4,$whenCondition3,roo.air.cfd.firstTrigger,roo.air.cfd.y[1],roo.air.cfd.y[2],roo.air.cfd.y[3],roo.air.cfd.y[4],roo.air.cfd.y[5],roo.air.cfd.y[6],roo.air.cfd.y[7],roo.air.cfd.y[8],roo.air.cfd.y[9],roo.air.cfd.y[10],roo.air.cfd.y[11],roo.air.cfd.y[12],roo.air.cfd.y[13],roo.air.cfd.uIntPre[1],roo.air.cfd.uIntPre[2],roo.air.cfd.uIntPre[3],roo.air.cfd.uIntPre[4],roo.air.cfd.uIntPre[5],roo.air.cfd.uIntPre[6],roo.air.cfd.uIntPre[7],roo.air.cfd.uIntPre[8],roo.air.cfd.uIntPre[9],roo.air.cfd.uIntPre[10],roo.air.cfd.uIntPre[11],roo.air.cfd.uIntPre[12],roo.air.cfd.uIntPre[13],roo.air.cfd.uIntPre[14],roo.air.cfd.uIntPre[15],roo.air.cfd.uWri[1],roo.air.cfd.uWri[2],roo.air.cfd.uWri[3],roo.air.cfd.uWri[4],roo.air.cfd.uWri[5],roo.air.cfd.uWri[6],roo.air.cfd.uWri[7],roo.air.cfd.uWri[8],roo.air.cfd.uWri[9],roo.air.cfd.uWri[10],roo.air.cfd.uWri[11],roo.air.cfd.uWri[12],roo.air.cfd.uWri[13],roo.air.cfd.uWri[14],roo.air.cfd.uWri[15],roo.air.cfd.modTimRea,roo.air.cfd.retVal) * Number of discrete states: 45 (roo.air.cfd.u[1],roo.air.cfd.uIntPre[1],roo.air.cfd.u[2],roo.air.cfd.uIntPre[2],roo.air.cfd.u[3],roo.air.cfd.uIntPre[3],roo.air.cfd.u[4],roo.air.cfd.uIntPre[4],roo.air.cfd.u[5],roo.air.cfd.uIntPre[5],roo.air.cfd.u[6],roo.air.cfd.uIntPre[6],roo.air.cfd.uIntPre[7],roo.air.cfd.uIntPre[8],roo.air.cfd.u[9],roo.air.cfd.uIntPre[9],roo.air.cfd.u[10],roo.air.cfd.uIntPre[10],roo.air.cfd.uIntPre[11],roo.air.cfd.u[12],roo.air.cfd.uIntPre[12],roo.air.cfd.u[13],roo.air.cfd.uIntPre[13],roo.air.cfd.u[14],roo.air.cfd.uIntPre[14],roo.air.cfd.u[15],roo.air.cfd.uIntPre[15],roo.air.cfd.retVal,roo.air.cfd.y[13],roo.air.cfd.y[12],roo.air.cfd.y[11],roo.air.cfd.y[10],roo.air.cfd.y[9],roo.air.cfd.y[8],roo.air.cfd.y[7],roo.air.cfd.y[6],roo.air.cfd.y[5],roo.air.cfd.y[4],roo.air.cfd.y[3],roo.air.cfd.y[2],roo.air.cfd.y[1],roo.air.cfd.modTimRea,$whenCondition3,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (189): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 33 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003754/2.239, allocations: 1.015 MB / 1.202 GB, free: 268 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01154/2.25, allocations: 4.447 MB / 1.207 GB, free: 266.2 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.548e-05/2.25, allocations: 3.938 kB / 1.207 GB, free: 266.2 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.00544/2.256, allocations: 2.297 MB / 1.209 GB, free: 265.2 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0195/2.275, allocations: 2.593 MB / 1.211 GB, free: 264.4 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03374/2.309, allocations: 13.64 MB / 1.225 GB, free: 255 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004835/2.314, allocations: 4.51 MB / 1.229 GB, free: 250.4 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002258/2.316, allocations: 434.7 kB / 1.229 GB, free: 250 MB / 0.92 GB Notification: Performance of SimCode: time 1.022e-06/2.316, allocations: 0 / 1.229 GB, free: 250 MB / 0.92 GB Notification: Performance of Templates: time 0.2435/2.56, allocations: 193.7 MB / 1.419 GB, free: 56.57 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvection.makefile make -j1 -f Buildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvection.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvectionCalcHelperMain.o OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvectionCalcHelperMain.cpp In file included from OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvectionCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvectionFunctions.cpp:6: In file included from /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cfdcosim.c:24: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cfdCosimulation.h:35:19: error: redefinition of 'cosim' CosimulationData *cosim; ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cfdSendStopCommand.c:16:10: note: '/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cfdCosimulation.h' included multiple times, additional include site here #include "cfdCosimulation.h" ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cfdcosim.c:24:10: note: '/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cfdCosimulation.h' included multiple times, additional include site here #include "cfdCosimulation.h" ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cfdCosimulation.h:35:19: note: unguarded header; consider using #ifdef guards or #pragma once CosimulationData *cosim; ^ In file included from OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvectionCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvectionFunctions.cpp:7: In file included from /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cfdStartCosimulation.c:19: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cfdCosimulation.h:35:19: error: redefinition of 'cosim' CosimulationData *cosim; ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cfdSendStopCommand.c:16:10: note: '/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cfdCosimulation.h' included multiple times, additional include site here #include "cfdCosimulation.h" ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cfdStartCosimulation.c:19:10: note: '/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cfdCosimulation.h' included multiple times, additional include site here #include "cfdCosimulation.h" ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cfdCosimulation.h:35:19: note: unguarded header; consider using #ifdef guards or #pragma once CosimulationData *cosim; ^ In file included from OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvectionCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvectionFunctions.cpp:7: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cfdStartCosimulation.c:85:25: error: incompatible pointer types assigning to 'int *' from 'size_t *' (aka 'unsigned long *') cosim->para->bouCon = (size_t *) malloc(nSur*sizeof(size_t)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvectionCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvectionFunctions.cpp:8: In file included from /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cfdExchangeData.c:14: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cfdCosimulation.h:35:19: error: redefinition of 'cosim' CosimulationData *cosim; ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cfdSendStopCommand.c:16:10: note: '/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cfdCosimulation.h' included multiple times, additional include site here #include "cfdCosimulation.h" ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cfdExchangeData.c:14:10: note: '/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cfdCosimulation.h' included multiple times, additional include site here #include "cfdCosimulation.h" ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cfdCosimulation.h:35:19: note: unguarded header; consider using #ifdef guards or #pragma once CosimulationData *cosim; ^ In file included from OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvectionCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvectionFunctions.cpp:9: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/getTimeSpan.c:27:9: error: cannot initialize a variable of type 'char *' with an rvalue of type 'void *' char *result = malloc(len1 + len2 + 1); ^ ~~~~~~~~~~~~~~~~~~~~~~~ In file included from OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvectionCalcHelperMain.cpp:28: ./OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvectionFunctions.cpp:465:17: error: no matching function for call to 'cfdExchangeData' retVal__ext = cfdExchangeData(t__ext, dt__ext, ConstArray(u_).getData(), nU__ext, nY__ext, &modTimRea__ext, y_.getData()); ^~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cfdExchangeData.c:33:5: note: candidate function not viable: 3rd argument ('const double *') would lose const qualifier int cfdExchangeData(double t0, double dt, double *u, size_t nU, size_t nY, ^ In file included from OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvectionCalcHelperMain.cpp:28: ./OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvectionFunctions.cpp:513:17: error: no matching function for call to 'cfdStartCosimulation' retVal__ext = cfdStartCosimulation(cfdFilNam_.c_str(), name__ext, ConstArray(A_).getData(), ConstArray(til_).getData(), ConstArray(bouCon_).getData(), nPorts__ext, portName__ext, haveSensor__ext, sensorName__ext, haveShade__ext, nSur__ext, nSen__ext, nConExtWin__ext, nXi__ext, nC__ext, rho_start__ext); ^~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cfdStartCosimulation.c:46:5: note: candidate function not viable: 1st argument ('const char *') would lose const qualifier int cfdStartCosimulation(char *cfdFilNam, char **name, double *A, double *til, ^ 7 errors generated. make: *** [: OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvectionCalcHelperMain.o] Error 1