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.00172/0.00172, allocations: 110.7 kB / 16.41 MB, free: 6.488 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.002073/0.002073, allocations: 187 kB / 17.34 MB, free: 5.762 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.428/1.428, allocations: 222.9 MB / 241 MB, free: 15.14 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.323/2.323, allocations: 390.3 MB / 0.6655 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 59.91 kB / 0.9515 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.001/1.002, allocations: 140.4 MB / 1.089 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.MixedConvection): time 0.2705/1.273, allocations: 210.4 MB / 1.294 GB, free: 11.15 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.05878/1.332, allocations: 33.04 MB / 1.326 GB, free: 10.02 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01587/1.348, allocations: 322.2 kB / 1.327 GB, free: 9.699 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.009552/1.357, allocations: 3.031 MB / 1.33 GB, free: 6.656 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.01119/1.369, allocations: 2.874 MB / 1.332 GB, free: 3.77 MB / 1.061 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.009212/1.378, allocations: 2.786 MB / 1.335 GB, free: 0.9922 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0169/1.395, allocations: 11.95 MB / 1.347 GB, free: 5.02 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008256/1.403, allocations: 4.808 MB / 1.352 GB, free: 124 kB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007924/1.411, allocations: 3.638 MB / 1.355 GB, free: 12.47 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007591/1.419, allocations: 3.953 MB / 1.359 GB, free: 8.504 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.002864/1.421, allocations: 0.6406 MB / 1.36 GB, free: 7.863 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00699/1.428, allocations: 2.071 MB / 1.362 GB, free: 5.789 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.004253/1.433, allocations: 2.142 MB / 1.364 GB, free: 3.641 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.01011/1.443, allocations: 3.972 MB / 1.368 GB, free: 15.64 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.02305/1.466, allocations: 12.96 MB / 1.38 GB, free: 2.652 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 1.057e-05/1.466, allocations: 0 / 1.38 GB, free: 2.652 MB / 1.107 GB Notification: Performance of FrontEnd: time 3.416e-06/1.466, allocations: 3.938 kB / 1.38 GB, free: 2.648 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.000462/1.467, allocations: 4 kB / 1.38 GB, free: 2.645 MB / 1.107 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.02936/1.496, allocations: 9.712 MB / 1.39 GB, free: 8.691 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.613e-05/1.496, allocations: 8.031 kB / 1.39 GB, free: 8.684 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00597/1.502, allocations: 1.04 MB / 1.391 GB, free: 7.633 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01958/1.522, allocations: 7.569 MB / 1.398 GB, free: 15.97 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003462/1.522, allocations: 224.7 kB / 1.398 GB, free: 15.75 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001515/1.524, allocations: 304 kB / 1.399 GB, free: 15.45 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01028/1.534, allocations: 3.651 MB / 1.402 GB, free: 11.58 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001362/1.534, allocations: 19.84 kB / 1.402 GB, free: 11.56 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007152/1.535, allocations: 108 kB / 1.402 GB, free: 11.45 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000136/1.535, allocations: 98.77 kB / 1.402 GB, free: 11.36 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007902/1.543, allocations: 3.492 MB / 1.406 GB, free: 7.852 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03929/1.582, allocations: 16.54 MB / 1.422 GB, free: 7.031 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00717/1.589, allocations: 2.877 MB / 1.425 GB, free: 4.141 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003427/1.593, allocations: 1.556 MB / 1.426 GB, free: 2.582 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005939/1.594, allocations: 328.9 kB / 1.427 GB, free: 2.203 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004229/1.598, allocations: 1.816 MB / 1.428 GB, free: 364 kB / 1.154 GB Notification: Performance of pre-optimization done (n=218): time 8.196e-06/1.598, allocations: 0 / 1.428 GB, free: 364 kB / 1.154 GB Notification: Performance of matching and sorting (n=218): time 0.01767/1.615, allocations: 5.907 MB / 1.434 GB, free: 10.38 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002835/1.616, allocations: 368.6 kB / 1.435 GB, free: 9.953 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02484/1.641, allocations: 10.3 MB / 1.445 GB, free: 15.69 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.001011/1.642, allocations: 129.7 kB / 1.445 GB, free: 15.55 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.006042/1.648, allocations: 3.253 MB / 1.448 GB, free: 12.29 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.001303/1.649, allocations: 0.6975 MB / 1.449 GB, free: 11.58 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003357/1.653, allocations: 0.8252 MB / 1.449 GB, free: 10.75 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001136/1.653, allocations: 301.1 kB / 1.45 GB, free: 10.45 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003998/1.657, allocations: 1.925 MB / 1.452 GB, free: 8.523 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005099/1.662, allocations: 3.058 MB / 1.455 GB, free: 5.086 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00711/1.669, allocations: 4.26 MB / 1.459 GB, free: 452 kB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.648e-05/1.669, allocations: 8 kB / 1.459 GB, free: 444 kB / 1.186 GB Notification: Performance of matching and sorting (n=489) (initialization): time 0.01564/1.685, allocations: 6.231 MB / 1.465 GB, free: 10.18 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001009/1.685, allocations: 49.67 kB / 1.465 GB, free: 10.12 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.348e-05/1.685, allocations: 28 kB / 1.465 GB, free: 10.09 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002468/1.687, allocations: 0.6572 MB / 1.465 GB, free: 9.43 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005886/1.693, allocations: 0.9983 MB / 1.466 GB, free: 8.43 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01763/1.711, allocations: 15.32 MB / 1.481 GB, free: 7.984 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006497/1.717, allocations: 0.5249 MB / 1.482 GB, free: 7.457 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001081/1.719, allocations: 164 kB / 1.482 GB, free: 7.297 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.009734/1.728, allocations: 4.356 MB / 1.486 GB, free: 2.93 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005278/1.734, allocations: 3.027 MB / 1.489 GB, free: 15.52 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006885/1.741, allocations: 4.214 MB / 1.493 GB, free: 10.93 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.486e-05/1.741, allocations: 8 kB / 1.493 GB, free: 10.93 MB / 1.232 GB Notification: Performance of matching and sorting (n=489) (initialization_lambda0): time 0.01474/1.755, allocations: 6.18 MB / 1.499 GB, free: 4.711 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 7.797e-05/1.756, allocations: 49.86 kB / 1.5 GB, free: 4.656 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-05/1.756, allocations: 28 kB / 1.5 GB, free: 4.629 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002342/1.758, allocations: 0.6615 MB / 1.5 GB, free: 3.961 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003477/1.761, allocations: 0.7449 MB / 1.501 GB, free: 3.215 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008773/1.77, allocations: 6.328 MB / 1.507 GB, free: 12.59 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006228/1.777, allocations: 405.1 kB / 1.507 GB, free: 12.19 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001077/1.778, allocations: 164 kB / 1.508 GB, free: 12.03 MB / 1.248 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.002121/1.78, allocations: 0.5554 MB / 1.508 GB, free: 11.46 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00294/1.783, allocations: 0.7404 MB / 1.509 GB, free: 10.71 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00569/1.788, allocations: 1.752 MB / 1.511 GB, free: 8.941 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.433e-05/1.788, allocations: 23.98 kB / 1.511 GB, free: 8.918 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.27e-05/1.788, allocations: 4 kB / 1.511 GB, free: 8.914 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-05/1.789, allocations: 7.969 kB / 1.511 GB, free: 8.906 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02506/1.814, allocations: 9.019 MB / 1.519 GB, free: 15.78 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.913e-05/1.814, allocations: 7.984 kB / 1.519 GB, free: 15.77 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003375/1.817, allocations: 0.5188 MB / 1.52 GB, free: 15.25 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002221/1.819, allocations: 0.6064 MB / 1.521 GB, free: 14.64 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004554/1.82, allocations: 71.94 kB / 1.521 GB, free: 14.57 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01624/1.836, allocations: 15.14 MB / 1.535 GB, free: 14.31 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/1.836, allocations: 4 kB / 1.535 GB, free: 14.31 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01612/1.852, allocations: 6.637 MB / 1.542 GB, free: 7.602 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00505/1.857, allocations: 1.479 MB / 1.543 GB, free: 6.094 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002833/1.86, allocations: 135.8 kB / 1.543 GB, free: 5.961 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004628/1.865, allocations: 187.7 kB / 1.544 GB, free: 5.777 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006272/1.865, allocations: 161.7 kB / 1.544 GB, free: 5.621 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003505/1.866, allocations: 79.95 kB / 1.544 GB, free: 5.543 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.01847/1.884, allocations: 7.201 MB / 1.551 GB, free: 14.38 MB / 1.295 GB Notification: Performance of sort global known variables: time 5.21e-07/1.884, allocations: 3.938 kB / 1.551 GB, free: 14.38 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.01388/1.898, allocations: 2.47 MB / 1.553 GB, free: 11.9 MB / 1.295 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.003532/1.902, allocations: 1.026 MB / 1.554 GB, free: 11.09 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.02002/1.922, allocations: 8.085 MB / 1.562 GB, free: 2.934 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-05/1.922, allocations: 4.125 kB / 1.562 GB, free: 2.93 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.007424/1.929, allocations: 2.648 MB / 1.565 GB, free: 256 kB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01571/1.945, allocations: 2.615 MB / 1.567 GB, free: 13.73 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6343/2.579, allocations: 13.86 MB / 1.581 GB, free: 425.6 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008842/2.588, allocations: 4.544 MB / 1.585 GB, free: 424.7 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002554/2.591, allocations: 434.8 kB / 1.586 GB, free: 424.7 MB / 1.311 GB Notification: Performance of SimCode: time 1.403e-06/2.591, allocations: 0.875 kB / 1.586 GB, free: 424.7 MB / 1.311 GB Notification: Performance of Templates: time 0.4915/3.082, allocations: 436.8 MB / 2.012 GB, free: 44.36 MB / 1.311 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