Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.MixedConvection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.MixedConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|roo.yCFD.1.|roo.yCFD.2.|TFlo.port.Q_flow|TOthWal.1..port.Q_flow|TOthWal.2..port.Q_flow",fileNamePrefix="Buildings_9_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.MixedConvection") translateModel(Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.MixedConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|roo.yCFD.1.|roo.yCFD.2.|TFlo.port.Q_flow|TOthWal.1..port.Q_flow|TOthWal.2..port.Q_flow",fileNamePrefix="Buildings_9_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.MixedConvection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 104.3 kB / 16.27 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001546/0.001546, allocations: 190.1 kB / 17.2 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.342/2.342, allocations: 390.3 MB / 0.6653 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 68.25 kB / 0.8132 GB, free: 33.13 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3383, allocations: 140.4 MB / 0.9503 GB, free: 8.867 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.MixedConvection): time 0.8955/1.234, allocations: 210.4 MB / 1.156 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.06355/1.297, allocations: 33.05 MB / 1.188 GB, free: 6.004 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02127/1.319, allocations: 263.5 kB / 1.188 GB, free: 5.906 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.01096/1.33, allocations: 3.003 MB / 1.191 GB, free: 4.633 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.01336/1.343, allocations: 2.809 MB / 1.194 GB, free: 3.129 MB / 0.8731 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/ThermalZones/Detailed/BaseClasses/CFDExchange.mo:64:3-114:21:writable] Warning: Pure function 'Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.MixedConvection.roo.air.cfd.sendParameters' contains a call to impure function 'Buildings.ThermalZones.Detailed.BaseClasses.cfdStartCosimulation'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/ThermalZones/Detailed/BaseClasses/CFDExchange.mo:119:3-142:15:writable] Warning: Pure function 'Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.MixedConvection.roo.air.cfd.exchange' contains a call to impure function 'Buildings.ThermalZones.Detailed.BaseClasses.cfdExchangeData'. Notification: Performance of NFTyping.typeClassSections: time 0.01011/1.353, allocations: 2.754 MB / 1.197 GB, free: 1.195 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01727/1.371, allocations: 11.88 MB / 1.208 GB, free: 10.33 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007942/1.379, allocations: 4.816 MB / 1.213 GB, free: 7.711 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00752/1.386, allocations: 3.524 MB / 1.216 GB, free: 5.766 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007923/1.394, allocations: 3.979 MB / 1.22 GB, free: 3.324 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.002775/1.397, allocations: 0.6576 MB / 1.221 GB, free: 3.32 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007285/1.404, allocations: 2.028 MB / 1.223 GB, free: 2.68 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.00377/1.408, allocations: 2.146 MB / 1.225 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.009512/1.418, allocations: 3.988 MB / 1.229 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0198/1.437, allocations: 12.24 MB / 1.241 GB, free: 4.18 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/1.438, allocations: 0 / 1.241 GB, free: 4.18 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.345e-06/1.438, allocations: 0 / 1.241 GB, free: 4.18 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0004593/1.438, allocations: 0 / 1.241 GB, free: 4.18 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 620 * Number of variables: 620 Notification: Performance of Generate backend data structure: time 0.03066/1.469, allocations: 9.502 MB / 1.25 GB, free: 10.54 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/1.469, allocations: 11.97 kB / 1.25 GB, free: 10.53 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005982/1.475, allocations: 1.046 MB / 1.251 GB, free: 9.473 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01784/1.493, allocations: 7.201 MB / 1.258 GB, free: 2.363 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001291/1.494, allocations: 376.8 kB / 1.259 GB, free: 1.992 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001491/1.495, allocations: 307.9 kB / 1.259 GB, free: 1.691 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009846/1.505, allocations: 3.648 MB / 1.262 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001397/1.505, allocations: 15.92 kB / 1.262 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006696/1.506, allocations: 102.8 kB / 1.263 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001196/1.506, allocations: 94.77 kB / 1.263 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007509/1.514, allocations: 3.488 MB / 1.266 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03756/1.551, allocations: 16.71 MB / 1.282 GB, free: 9.234 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006891/1.558, allocations: 2.866 MB / 1.285 GB, free: 6.355 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003283/1.562, allocations: 1.536 MB / 1.287 GB, free: 4.809 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005639/1.562, allocations: 330.3 kB / 1.287 GB, free: 4.441 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004007/1.566, allocations: 1.812 MB / 1.289 GB, free: 2.598 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=218): time 8.586e-06/1.566, allocations: 4 kB / 1.289 GB, free: 2.594 MB / 0.9512 GB Notification: Performance of matching and sorting (n=218): time 0.01672/1.583, allocations: 5.883 MB / 1.294 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002393/1.583, allocations: 367 kB / 1.295 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02484/1.608, allocations: 10.4 MB / 1.305 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0009794/1.609, allocations: 133.7 kB / 1.305 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.005906/1.615, allocations: 3.254 MB / 1.308 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.001248/1.616, allocations: 0.7131 MB / 1.309 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003317/1.62, allocations: 0.8174 MB / 1.31 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000102/1.62, allocations: 301.1 kB / 1.31 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003968/1.624, allocations: 1.925 MB / 1.312 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00509/1.629, allocations: 3.052 MB / 1.315 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006837/1.636, allocations: 4.257 MB / 1.319 GB, free: 2.668 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.732e-05/1.636, allocations: 8 kB / 1.319 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of matching and sorting (n=489) (initialization): time 0.01666/1.653, allocations: 6.23 MB / 1.325 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001156/1.653, allocations: 49.62 kB / 1.325 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.518e-05/1.653, allocations: 28.12 kB / 1.325 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002369/1.655, allocations: 0.6579 MB / 1.326 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005615/1.661, allocations: 0.9905 MB / 1.327 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01619/1.677, allocations: 15.35 MB / 1.342 GB, free: 10.21 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00806/1.685, allocations: 0.511 MB / 1.342 GB, free: 9.691 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001258/1.686, allocations: 175.9 kB / 1.343 GB, free: 9.52 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.009622/1.696, allocations: 4.349 MB / 1.347 GB, free: 5.164 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004089/1.7, allocations: 3.023 MB / 1.35 GB, free: 1.762 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005801/1.706, allocations: 4.224 MB / 1.354 GB, free: 13.17 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.112e-05/1.706, allocations: 8 kB / 1.354 GB, free: 13.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=489) (initialization_lambda0): time 0.01257/1.719, allocations: 6.187 MB / 1.36 GB, free: 6.941 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.877e-05/1.719, allocations: 53.84 kB / 1.36 GB, free: 6.883 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-05/1.719, allocations: 28 kB / 1.36 GB, free: 6.855 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002116/1.721, allocations: 0.6498 MB / 1.361 GB, free: 6.199 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003131/1.724, allocations: 0.7488 MB / 1.361 GB, free: 5.449 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007937/1.732, allocations: 6.329 MB / 1.368 GB, free: 14.83 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006151/1.738, allocations: 407.6 kB / 1.368 GB, free: 14.43 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001001/1.739, allocations: 168 kB / 1.368 GB, free: 14.27 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 119 * Number of states: 0 () * Number of discrete variables: 112 (roo.air.cfd.uIntPre[15],$PRE.roo.air.cfd.uIntPre[15],roo.air.cfd.uIntPre[14],$PRE.roo.air.cfd.uIntPre[14],roo.air.cfd.uIntPre[13],$PRE.roo.air.cfd.uIntPre[13],roo.air.cfd.uIntPre[12],$PRE.roo.air.cfd.uIntPre[12],roo.air.cfd.uIntPre[11],$PRE.roo.air.cfd.uIntPre[11],roo.air.cfd.uIntPre[10],$PRE.roo.air.cfd.uIntPre[10],roo.air.cfd.uIntPre[9],$PRE.roo.air.cfd.uIntPre[9],roo.air.cfd.uIntPre[8],$PRE.roo.air.cfd.uIntPre[8],roo.air.cfd.uIntPre[7],$PRE.roo.air.cfd.uIntPre[7],roo.air.cfd.uIntPre[6],$PRE.roo.air.cfd.uIntPre[6],roo.air.cfd.uIntPre[5],$PRE.roo.air.cfd.uIntPre[5],roo.air.cfd.uIntPre[4],$PRE.roo.air.cfd.uIntPre[4],roo.air.cfd.uIntPre[3],$PRE.roo.air.cfd.uIntPre[3],roo.air.cfd.uIntPre[2],$PRE.roo.air.cfd.uIntPre[2],roo.air.cfd.uIntPre[1],$PRE.roo.air.cfd.uIntPre[1],roo.air.cfd.firstTrigger,$PRE.roo.air.cfd.firstTrigger,roo.air.cfd.retVal,$PRE.roo.air.cfd.retVal,roo.air.cfd.modTimRea,$PRE.roo.air.cfd.modTimRea,roo.air.cfd.uWri[15],$PRE.roo.air.cfd.uWri[15],roo.air.cfd.uWri[14],$PRE.roo.air.cfd.uWri[14],roo.air.cfd.uWri[13],$PRE.roo.air.cfd.uWri[13],roo.air.cfd.uWri[12],$PRE.roo.air.cfd.uWri[12],roo.air.cfd.uWri[10],$PRE.roo.air.cfd.uWri[10],roo.air.cfd.uWri[9],$PRE.roo.air.cfd.uWri[9],roo.air.cfd.uWri[6],$PRE.roo.air.cfd.uWri[6],roo.air.cfd.uWri[5],$PRE.roo.air.cfd.uWri[5],roo.air.cfd.uWri[4],$PRE.roo.air.cfd.uWri[4],roo.air.cfd.uWri[3],$PRE.roo.air.cfd.uWri[3],roo.air.cfd.uWri[2],$PRE.roo.air.cfd.uWri[2],roo.air.cfd.uWri[1],$PRE.roo.air.cfd.uWri[1],roo.air.cfd.sampleTrigger,$whenCondition1,$whenCondition2,roo.air.cfd.y[13],$PRE.roo.air.cfd.y[13],roo.air.cfd.y[12],$PRE.roo.air.cfd.y[12],roo.air.cfd.y[7],$PRE.roo.air.cfd.y[7],weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,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 (476): * Single equations (assignments): 467 * 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.001225/1.74, allocations: 0.5459 MB / 1.369 GB, free: 13.7 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002552/1.743, allocations: 0.7366 MB / 1.369 GB, free: 12.96 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004825/1.748, allocations: 1.768 MB / 1.371 GB, free: 11.17 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.691e-05/1.748, allocations: 24 kB / 1.371 GB, free: 11.15 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-05/1.748, allocations: 4 kB / 1.371 GB, free: 11.14 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-05/1.748, allocations: 7.969 kB / 1.371 GB, free: 11.14 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02384/1.772, allocations: 9.041 MB / 1.38 GB, free: 2.047 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.478e-05/1.772, allocations: 8.281 kB / 1.38 GB, free: 2.039 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00335/1.775, allocations: 0.5187 MB / 1.38 GB, free: 1.52 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002192/1.777, allocations: 0.6026 MB / 1.381 GB, free: 0.9102 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004771/1.778, allocations: 75.94 kB / 1.381 GB, free: 0.8359 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01626/1.794, allocations: 15.17 MB / 1.396 GB, free: 0.5625 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/1.794, allocations: 4 kB / 1.396 GB, free: 0.5586 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01566/1.81, allocations: 6.614 MB / 1.402 GB, free: 9.875 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004738/1.815, allocations: 1.495 MB / 1.404 GB, free: 8.352 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00253/1.817, allocations: 135.9 kB / 1.404 GB, free: 8.219 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003933/1.821, allocations: 195.6 kB / 1.404 GB, free: 8.027 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004497/1.821, allocations: 157.7 kB / 1.404 GB, free: 7.871 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002038/1.822, allocations: 83.94 kB / 1.404 GB, free: 7.789 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.01551/1.837, allocations: 7.266 MB / 1.411 GB, free: 0.5586 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.132e-06/1.837, allocations: 0 / 1.411 GB, free: 0.5586 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.01391/1.851, allocations: 2.482 MB / 1.414 GB, free: 14.07 MB / 1.092 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: 59 (roo.air.cfd.sampleTrigger,$whenCondition2,$whenCondition1,roo.air.cfd.firstTrigger,roo.air.cfd.y[1],roo.air.cfd.y[2],roo.air.cfd.y[3],roo.air.cfd.y[4],roo.air.cfd.y[5],roo.air.cfd.y[6],roo.air.cfd.y[7],roo.air.cfd.y[8],roo.air.cfd.y[9],roo.air.cfd.y[10],roo.air.cfd.y[11],roo.air.cfd.y[12],roo.air.cfd.y[13],roo.air.cfd.uIntPre[1],roo.air.cfd.uIntPre[2],roo.air.cfd.uIntPre[3],roo.air.cfd.uIntPre[4],roo.air.cfd.uIntPre[5],roo.air.cfd.uIntPre[6],roo.air.cfd.uIntPre[7],roo.air.cfd.uIntPre[8],roo.air.cfd.uIntPre[9],roo.air.cfd.uIntPre[10],roo.air.cfd.uIntPre[11],roo.air.cfd.uIntPre[12],roo.air.cfd.uIntPre[13],roo.air.cfd.uIntPre[14],roo.air.cfd.uIntPre[15],roo.air.cfd.uWri[1],roo.air.cfd.uWri[2],roo.air.cfd.uWri[3],roo.air.cfd.uWri[4],roo.air.cfd.uWri[5],roo.air.cfd.uWri[6],roo.air.cfd.uWri[7],roo.air.cfd.uWri[8],roo.air.cfd.uWri[9],roo.air.cfd.uWri[10],roo.air.cfd.uWri[11],roo.air.cfd.uWri[12],roo.air.cfd.uWri[13],roo.air.cfd.uWri[14],roo.air.cfd.uWri[15],roo.air.cfd.modTimRea,roo.air.cfd.retVal,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 48 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,roo.air.cfd.u[1],roo.air.cfd.uIntPre[1],roo.air.cfd.u[2],roo.air.cfd.uIntPre[2],roo.air.cfd.u[3],roo.air.cfd.uIntPre[3],roo.air.cfd.u[4],roo.air.cfd.uIntPre[4],roo.air.cfd.u[5],roo.air.cfd.uIntPre[5],roo.air.cfd.u[6],roo.air.cfd.uIntPre[6],roo.air.cfd.uIntPre[7],roo.air.cfd.uIntPre[8],roo.air.cfd.u[9],roo.air.cfd.uIntPre[9],roo.air.cfd.u[10],roo.air.cfd.uIntPre[10],roo.air.cfd.uIntPre[11],roo.air.cfd.u[12],roo.air.cfd.uIntPre[12],roo.air.cfd.u[13],roo.air.cfd.uIntPre[13],roo.air.cfd.u[14],roo.air.cfd.uIntPre[14],roo.air.cfd.u[15],roo.air.cfd.uIntPre[15],roo.air.cfd.retVal,roo.air.cfd.y[13],roo.air.cfd.y[12],roo.air.cfd.y[11],roo.air.cfd.y[10],roo.air.cfd.y[9],roo.air.cfd.y[8],roo.air.cfd.y[7],roo.air.cfd.y[6],roo.air.cfd.y[5],roo.air.cfd.y[4],roo.air.cfd.y[3],roo.air.cfd.y[2],roo.air.cfd.y[1],roo.air.cfd.modTimRea,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (203): * Single equations (assignments): 158 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 36 * 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.004009/1.855, allocations: 1.023 MB / 1.415 GB, free: 13.3 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.02296/1.878, allocations: 9.09 MB / 1.424 GB, free: 4.145 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-05/1.878, allocations: 4.062 kB / 1.424 GB, free: 4.141 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.007698/1.886, allocations: 2.658 MB / 1.426 GB, free: 1.449 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01713/1.903, allocations: 2.603 MB / 1.429 GB, free: 14.95 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03465/1.938, allocations: 14.03 MB / 1.443 GB, free: 0.8477 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00808/1.946, allocations: 4.551 MB / 1.447 GB, free: 12.26 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002391/1.948, allocations: 427.4 kB / 1.447 GB, free: 11.84 MB / 1.123 GB Notification: Performance of SimCode: time 1.322e-06/1.948, allocations: 0 / 1.447 GB, free: 11.84 MB / 1.123 GB Notification: Performance of Templates: time 0.9557/2.904, allocations: 435.6 MB / 1.873 GB, free: 148.4 MB / 1.201 GB make -j1 -f Buildings_9_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.MixedConvection.makefile make -j1 -f Buildings_9_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.MixedConvection.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources""-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.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/Modelica 4.0.0+maint.om/Resources/C-Sources" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_9_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.MixedConvectionCalcHelperMain.o OMCppBuildings_9_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.MixedConvectionCalcHelperMain.cpp In file included from OMCppBuildings_9_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.MixedConvectionCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_9_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.MixedConvectionFunctions.cpp:9: In file included from /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/Resources/C-Sources/cfdcosim.c:24: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/Resources/C-Sources/cfdCosimulation.h:35:19: error: redefinition of 'cosim' CosimulationData *cosim; ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/Resources/C-Sources/cfdSendStopCommand.c:16:10: note: '/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.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 9.1.3-maint.9.1.x/Resources/C-Sources/cfdcosim.c:24:10: note: '/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.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 9.1.3-maint.9.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_9_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.MixedConvectionCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_9_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.MixedConvectionFunctions.cpp:10: In file included from /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/Resources/C-Sources/cfdStartCosimulation.c:19: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/Resources/C-Sources/cfdCosimulation.h:35:19: error: redefinition of 'cosim' CosimulationData *cosim; ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/Resources/C-Sources/cfdSendStopCommand.c:16:10: note: '/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.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 9.1.3-maint.9.1.x/Resources/C-Sources/cfdStartCosimulation.c:19:10: note: '/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.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 9.1.3-maint.9.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_9_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.MixedConvectionCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_9_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.MixedConvectionFunctions.cpp:11: In file included from /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/Resources/C-Sources/cfdExchangeData.c:14: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/Resources/C-Sources/cfdCosimulation.h:35:19: error: redefinition of 'cosim' CosimulationData *cosim; ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/Resources/C-Sources/cfdSendStopCommand.c:16:10: note: '/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.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 9.1.3-maint.9.1.x/Resources/C-Sources/cfdExchangeData.c:14:10: note: '/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.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 9.1.3-maint.9.1.x/Resources/C-Sources/cfdCosimulation.h:35:19: note: unguarded header; consider using #ifdef guards or #pragma once CosimulationData *cosim; ^ 3 errors generated. make: *** [: OMCppBuildings_9_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.MixedConvectionCalcHelperMain.o] Error 1