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.001199/0.001199, allocations: 105 kB / 16.41 MB, free: 6.008 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.001211/0.001211, allocations: 185.3 kB / 17.34 MB, free: 5.629 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.374/1.374, allocations: 222.9 MB / 241 MB, free: 15.19 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.369/2.369, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 59.91 kB / 0.9515 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9339/0.9352, 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.2735/1.209, allocations: 210.4 MB / 1.294 GB, free: 11.17 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0598/1.269, allocations: 33.05 MB / 1.326 GB, free: 10.02 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01626/1.285, allocations: 318.2 kB / 1.327 GB, free: 9.707 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01021/1.295, allocations: 3.022 MB / 1.33 GB, free: 6.668 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.01193/1.307, allocations: 2.867 MB / 1.332 GB, free: 3.789 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.009267/1.316, allocations: 2.804 MB / 1.335 GB, free: 0.9922 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01735/1.334, allocations: 11.95 MB / 1.347 GB, free: 5.027 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007922/1.342, allocations: 4.802 MB / 1.352 GB, free: 140 kB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00751/1.349, allocations: 3.658 MB / 1.355 GB, free: 12.46 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00767/1.357, allocations: 3.947 MB / 1.359 GB, free: 8.504 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.002837/1.36, allocations: 0.6406 MB / 1.36 GB, free: 7.863 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00701/1.367, allocations: 2.068 MB / 1.362 GB, free: 5.793 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.004288/1.371, allocations: 2.138 MB / 1.364 GB, free: 3.648 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.009369/1.381, allocations: 3.98 MB / 1.368 GB, free: 15.64 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.02234/1.403, allocations: 12.95 MB / 1.38 GB, free: 2.656 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 1.061e-05/1.403, allocations: 8 kB / 1.38 GB, free: 2.648 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.965e-06/1.403, allocations: 0 / 1.38 GB, free: 2.648 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0004728/1.404, allocations: 0 / 1.38 GB, free: 2.648 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.02737/1.431, allocations: 9.705 MB / 1.39 GB, free: 8.703 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/1.431, allocations: 8.031 kB / 1.39 GB, free: 8.695 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005631/1.437, allocations: 1.056 MB / 1.391 GB, free: 7.629 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01702/1.454, allocations: 7.557 MB / 1.398 GB, free: 15.98 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002471/1.454, allocations: 228.7 kB / 1.398 GB, free: 15.75 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008718/1.455, allocations: 304 kB / 1.399 GB, free: 15.46 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007171/1.462, allocations: 3.658 MB / 1.402 GB, free: 11.57 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-05/1.462, allocations: 15.84 kB / 1.402 GB, free: 11.56 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002573/1.463, allocations: 108 kB / 1.402 GB, free: 11.45 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001013/1.463, allocations: 94.78 kB / 1.402 GB, free: 11.36 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006413/1.469, allocations: 3.496 MB / 1.406 GB, free: 7.852 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03517/1.504, allocations: 16.54 MB / 1.422 GB, free: 7.035 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006442/1.511, allocations: 2.879 MB / 1.425 GB, free: 4.145 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003001/1.514, allocations: 1.556 MB / 1.426 GB, free: 2.586 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005342/1.514, allocations: 320.9 kB / 1.427 GB, free: 2.215 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003595/1.518, allocations: 1.82 MB / 1.428 GB, free: 372 kB / 1.154 GB Notification: Performance of pre-optimization done (n=218): time 4.739e-06/1.518, allocations: 0 / 1.428 GB, free: 372 kB / 1.154 GB Notification: Performance of matching and sorting (n=218): time 0.01585/1.534, allocations: 5.907 MB / 1.434 GB, free: 10.39 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002477/1.534, allocations: 372.6 kB / 1.435 GB, free: 9.957 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02127/1.555, allocations: 10.3 MB / 1.445 GB, free: 15.69 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.001057/1.557, allocations: 133.6 kB / 1.445 GB, free: 15.55 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.004896/1.561, allocations: 3.249 MB / 1.448 GB, free: 12.29 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.001191/1.563, allocations: 0.7014 MB / 1.449 GB, free: 11.58 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001609/1.564, allocations: 0.8212 MB / 1.449 GB, free: 10.75 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.000109/1.564, allocations: 309.1 kB / 1.45 GB, free: 10.45 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003117/1.568, allocations: 1.921 MB / 1.452 GB, free: 8.523 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004209/1.572, allocations: 3.058 MB / 1.455 GB, free: 5.086 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006343/1.578, allocations: 4.264 MB / 1.459 GB, free: 452 kB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-05/1.578, allocations: 8 kB / 1.459 GB, free: 444 kB / 1.186 GB Notification: Performance of matching and sorting (n=489) (initialization): time 0.01423/1.592, allocations: 6.227 MB / 1.465 GB, free: 10.17 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 7.922e-05/1.593, allocations: 49.62 kB / 1.465 GB, free: 10.12 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.835e-05/1.593, allocations: 28 kB / 1.465 GB, free: 10.09 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002306/1.595, allocations: 0.6536 MB / 1.465 GB, free: 9.43 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005566/1.601, allocations: 0.9905 MB / 1.466 GB, free: 8.438 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0161/1.617, allocations: 15.34 MB / 1.481 GB, free: 7.98 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006036/1.623, allocations: 0.511 MB / 1.482 GB, free: 7.465 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001087/1.624, allocations: 168 kB / 1.482 GB, free: 7.301 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.009047/1.633, allocations: 4.36 MB / 1.486 GB, free: 2.93 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004513/1.638, allocations: 3.027 MB / 1.489 GB, free: 15.52 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006063/1.644, allocations: 4.21 MB / 1.493 GB, free: 10.94 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.494e-05/1.644, 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.0141/1.658, allocations: 6.184 MB / 1.499 GB, free: 4.711 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 8.982e-05/1.658, allocations: 53.62 kB / 1.5 GB, free: 4.652 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.907e-05/1.658, allocations: 24 kB / 1.5 GB, free: 4.629 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002313/1.66, allocations: 0.6574 MB / 1.5 GB, free: 3.965 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003695/1.664, allocations: 0.741 MB / 1.501 GB, free: 3.223 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008877/1.673, allocations: 6.344 MB / 1.507 GB, free: 12.59 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006364/1.679, allocations: 402.8 kB / 1.507 GB, free: 12.19 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001179/1.681, allocations: 172 kB / 1.508 GB, free: 12.02 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.002168/1.683, allocations: 0.5396 MB / 1.508 GB, free: 11.46 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002822/1.686, allocations: 0.7365 MB / 1.509 GB, free: 10.72 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005494/1.691, allocations: 1.764 MB / 1.511 GB, free: 8.941 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-05/1.691, allocations: 20 kB / 1.511 GB, free: 8.922 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.568e-05/1.691, allocations: 7.938 kB / 1.511 GB, free: 8.914 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.174e-05/1.691, allocations: 7.969 kB / 1.511 GB, free: 8.906 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02253/1.714, allocations: 9.023 MB / 1.519 GB, free: 15.78 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.611e-05/1.714, allocations: 4 kB / 1.519 GB, free: 15.78 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003309/1.717, allocations: 0.519 MB / 1.52 GB, free: 15.26 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002168/1.719, allocations: 0.6104 MB / 1.521 GB, free: 14.64 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005376/1.72, allocations: 71.94 kB / 1.521 GB, free: 14.57 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01521/1.735, allocations: 15.14 MB / 1.535 GB, free: 14.31 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/1.735, allocations: 4 kB / 1.535 GB, free: 14.3 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01467/1.75, allocations: 6.633 MB / 1.542 GB, free: 7.602 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004645/1.755, allocations: 1.475 MB / 1.543 GB, free: 6.098 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002621/1.757, allocations: 139.8 kB / 1.543 GB, free: 5.961 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004422/1.762, allocations: 191.7 kB / 1.544 GB, free: 5.773 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005383/1.762, allocations: 157.7 kB / 1.544 GB, free: 5.621 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002246/1.762, allocations: 84.06 kB / 1.544 GB, free: 5.539 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.01579/1.778, allocations: 7.196 MB / 1.551 GB, free: 14.38 MB / 1.295 GB Notification: Performance of sort global known variables: time 6.01e-07/1.778, allocations: 0 / 1.551 GB, free: 14.38 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.01217/1.791, allocations: 2.47 MB / 1.553 GB, free: 11.91 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.002874/1.793, allocations: 1.027 MB / 1.554 GB, free: 11.09 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01956/1.813, allocations: 8.084 MB / 1.562 GB, free: 2.934 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.514e-05/1.813, allocations: 0 / 1.562 GB, free: 2.934 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.007641/1.821, allocations: 2.656 MB / 1.565 GB, free: 252 kB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0168/1.838, allocations: 2.601 MB / 1.567 GB, free: 13.75 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7069/2.545, allocations: 13.88 MB / 1.581 GB, free: 424.2 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008923/2.553, allocations: 4.55 MB / 1.585 GB, free: 423.4 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002506/2.556, allocations: 433.2 kB / 1.586 GB, free: 423.4 MB / 1.311 GB Notification: Performance of SimCode: time 1.152e-06/2.556, allocations: 1.062 kB / 1.586 GB, free: 423.4 MB / 1.311 GB Notification: Performance of Templates: time 0.3997/2.956, allocations: 436.8 MB / 2.012 GB, free: 42.47 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