Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001711/0.001711, allocations: 106 kB / 16.27 MB, free: 6.41 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.001799/0.001799, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.424/1.424, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.792/2.792, allocations: 482.4 MB / 0.7553 GB, free: 6.977 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 68.17 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8872/0.8891, allocations: 162.2 MB / 1.083 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.MixedConvection): time 0.2746/1.164, allocations: 213.9 MB / 1.292 GB, free: 8.34 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.06087/1.225, allocations: 33.72 MB / 1.325 GB, free: 6.52 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01526/1.24, allocations: 258.5 kB / 1.325 GB, free: 6.266 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.01016/1.25, allocations: 3.023 MB / 1.328 GB, free: 3.23 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0111/1.261, allocations: 2.842 MB / 1.331 GB, free: 384 kB / 1.045 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 12.0.0-master/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.009679/1.271, allocations: 2.794 MB / 1.333 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01814/1.289, allocations: 11.96 MB / 1.345 GB, free: 1.605 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009511/1.299, allocations: 4.769 MB / 1.35 GB, free: 12.75 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008077/1.307, allocations: 3.685 MB / 1.353 GB, free: 9.047 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007534/1.314, allocations: 3.993 MB / 1.357 GB, free: 5.043 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.002913/1.317, allocations: 0.6562 MB / 1.358 GB, free: 4.387 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006512/1.324, allocations: 2.029 MB / 1.36 GB, free: 2.355 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.004046/1.328, allocations: 2.153 MB / 1.362 GB, free: 200 kB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.01277/1.341, allocations: 4.003 MB / 1.366 GB, free: 12.17 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0239/1.365, allocations: 12.26 MB / 1.378 GB, free: 15.88 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 9.137e-06/1.365, allocations: 7.922 kB / 1.378 GB, free: 15.87 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.713e-06/1.365, allocations: 0 / 1.378 GB, free: 15.87 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0004344/1.365, allocations: 4 kB / 1.378 GB, free: 15.86 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.02561/1.391, allocations: 9.501 MB / 1.387 GB, free: 6.125 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/1.391, allocations: 12.03 kB / 1.387 GB, free: 6.113 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005233/1.396, allocations: 1.044 MB / 1.388 GB, free: 5.059 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01722/1.413, allocations: 7.199 MB / 1.395 GB, free: 13.77 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001342/1.415, allocations: 386.4 kB / 1.396 GB, free: 13.38 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001322/1.416, allocations: 300 kB / 1.396 GB, free: 13.09 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009914/1.426, allocations: 3.643 MB / 1.399 GB, free: 9.227 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001214/1.426, allocations: 19.84 kB / 1.399 GB, free: 9.207 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006244/1.427, allocations: 112 kB / 1.4 GB, free: 9.098 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001271/1.427, allocations: 94.78 kB / 1.4 GB, free: 9.004 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007844/1.435, allocations: 3.484 MB / 1.403 GB, free: 5.512 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03963/1.475, allocations: 16.97 MB / 1.42 GB, free: 4.199 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007305/1.482, allocations: 2.873 MB / 1.422 GB, free: 1.312 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003635/1.486, allocations: 1.544 MB / 1.424 GB, free: 15.77 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006532/1.486, allocations: 336.8 kB / 1.424 GB, free: 15.39 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004653/1.491, allocations: 1.808 MB / 1.426 GB, free: 13.55 MB / 1.154 GB Notification: Performance of pre-optimization done (n=218): time 9.307e-06/1.491, allocations: 0 / 1.426 GB, free: 13.55 MB / 1.154 GB Notification: Performance of matching and sorting (n=218): time 0.01778/1.509, allocations: 5.883 MB / 1.432 GB, free: 7.602 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002683/1.509, allocations: 372.6 kB / 1.432 GB, free: 7.168 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02848/1.538, allocations: 10.4 MB / 1.442 GB, free: 12.8 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0009693/1.539, allocations: 133.7 kB / 1.442 GB, free: 12.66 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.005996/1.545, allocations: 3.245 MB / 1.446 GB, free: 9.402 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.001329/1.546, allocations: 0.7091 MB / 1.446 GB, free: 8.68 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003044/1.549, allocations: 0.8213 MB / 1.447 GB, free: 7.852 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001434/1.549, allocations: 305.1 kB / 1.447 GB, free: 7.551 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004067/1.553, allocations: 1.925 MB / 1.449 GB, free: 5.621 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005354/1.559, allocations: 3.054 MB / 1.452 GB, free: 2.188 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007024/1.566, allocations: 4.248 MB / 1.456 GB, free: 13.56 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.808e-05/1.566, allocations: 8 kB / 1.456 GB, free: 13.55 MB / 1.186 GB Notification: Performance of matching and sorting (n=489) (initialization): time 0.01419/1.58, allocations: 6.248 MB / 1.462 GB, free: 7.273 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 7.259e-05/1.58, allocations: 41.7 kB / 1.462 GB, free: 7.227 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.104e-05/1.58, allocations: 28.78 kB / 1.463 GB, free: 7.199 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002399/1.583, allocations: 0.6657 MB / 1.463 GB, free: 6.527 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005602/1.588, allocations: 0.9866 MB / 1.464 GB, free: 5.539 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01784/1.606, allocations: 15.34 MB / 1.479 GB, free: 5.082 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005761/1.612, allocations: 0.5072 MB / 1.48 GB, free: 4.57 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008779/1.613, allocations: 164 kB / 1.48 GB, free: 4.41 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008348/1.621, allocations: 4.36 MB / 1.484 GB, free: 44 kB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004308/1.625, allocations: 3.027 MB / 1.487 GB, free: 12.63 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00614/1.632, allocations: 4.214 MB / 1.491 GB, free: 8.051 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.746e-05/1.632, allocations: 4 kB / 1.491 GB, free: 8.047 MB / 1.217 GB Notification: Performance of matching and sorting (n=489) (initialization_lambda0): time 0.01254/1.644, allocations: 6.184 MB / 1.497 GB, free: 1.828 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 6.7e-05/1.644, allocations: 47.52 kB / 1.497 GB, free: 1.777 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-05/1.644, allocations: 28 kB / 1.497 GB, free: 1.75 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00225/1.647, allocations: 0.6575 MB / 1.498 GB, free: 1.086 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003089/1.65, allocations: 0.7488 MB / 1.499 GB, free: 344 kB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00877/1.658, allocations: 6.329 MB / 1.505 GB, free: 9.715 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0055/1.664, allocations: 405.1 kB / 1.505 GB, free: 9.316 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007569/1.665, allocations: 164 kB / 1.505 GB, free: 9.156 MB / 1.232 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.001232/1.666, allocations: 0.5575 MB / 1.506 GB, free: 8.578 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002114/1.668, allocations: 0.7404 MB / 1.507 GB, free: 7.828 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00449/1.673, allocations: 1.764 MB / 1.508 GB, free: 6.047 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.916e-05/1.673, allocations: 20 kB / 1.508 GB, free: 6.027 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.116e-05/1.673, allocations: 8 kB / 1.508 GB, free: 6.02 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.993e-05/1.673, allocations: 7.969 kB / 1.508 GB, free: 6.012 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01993/1.693, allocations: 9.037 MB / 1.517 GB, free: 12.87 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.172e-05/1.693, allocations: 4.281 kB / 1.517 GB, free: 12.86 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00334/1.696, allocations: 0.5305 MB / 1.518 GB, free: 12.33 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002163/1.698, allocations: 0.6028 MB / 1.518 GB, free: 11.72 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003121/1.699, allocations: 71.94 kB / 1.518 GB, free: 11.65 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0168/1.715, allocations: 15.16 MB / 1.533 GB, free: 11.38 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.732e-06/1.715, allocations: 7.938 kB / 1.533 GB, free: 11.37 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01463/1.73, allocations: 6.616 MB / 1.54 GB, free: 4.691 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004346/1.734, allocations: 1.51 MB / 1.541 GB, free: 3.152 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001989/1.736, allocations: 127.9 kB / 1.541 GB, free: 3.027 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003302/1.74, allocations: 195.8 kB / 1.541 GB, free: 2.836 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004336/1.74, allocations: 157.7 kB / 1.542 GB, free: 2.68 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001773/1.74, allocations: 83.94 kB / 1.542 GB, free: 2.598 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.5198/2.26, allocations: 7.261 MB / 1.549 GB, free: 409.7 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.152e-06/2.26, allocations: 0 / 1.549 GB, free: 409.7 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.01245/2.273, allocations: 2.499 MB / 1.551 GB, free: 409.7 MB / 1.264 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.003293/2.276, allocations: 1.024 MB / 1.552 GB, free: 409.6 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.02137/2.297, allocations: 9.099 MB / 1.561 GB, free: 406.6 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.43e-05/2.297, allocations: 1.312 kB / 1.561 GB, free: 406.6 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.007345/2.305, allocations: 2.652 MB / 1.564 GB, free: 405.6 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01224/2.317, allocations: 2.608 MB / 1.566 GB, free: 404.9 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02493/2.342, allocations: 13.92 MB / 1.58 GB, free: 398.9 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006133/2.348, allocations: 4.548 MB / 1.584 GB, free: 397.3 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002353/2.351, allocations: 432.5 kB / 1.585 GB, free: 397.2 MB / 1.264 GB Notification: Performance of SimCode: time 9.82e-07/2.351, allocations: 1.406 kB / 1.585 GB, free: 397.2 MB / 1.264 GB Notification: Performance of Templates: time 0.3467/2.697, allocations: 435.8 MB / 2.01 GB, free: 11.22 MB / 1.295 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.MixedConvection.makefile make -j1 -f Buildings_latest_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 12.0.0-master/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 12.0.0-master/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_latest_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.MixedConvectionCalcHelperMain.o OMCppBuildings_latest_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.MixedConvectionCalcHelperMain.cpp In file included from OMCppBuildings_latest_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.MixedConvectionCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_latest_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.MixedConvectionFunctions.cpp:9: In file included from /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/Resources/C-Sources/cfdcosim.c:24: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/Resources/C-Sources/cfdCosimulation.h:35:19: error: redefinition of 'cosim' CosimulationData *cosim; ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/Resources/C-Sources/cfdSendStopCommand.c:16:10: note: '/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/Resources/C-Sources/cfdCosimulation.h' included multiple times, additional include site here #include "cfdCosimulation.h" ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/Resources/C-Sources/cfdcosim.c:24:10: note: '/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/Resources/C-Sources/cfdCosimulation.h' included multiple times, additional include site here #include "cfdCosimulation.h" ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/Resources/C-Sources/cfdCosimulation.h:35:19: note: unguarded header; consider using #ifdef guards or #pragma once CosimulationData *cosim; ^ In file included from OMCppBuildings_latest_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.MixedConvectionCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_latest_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.MixedConvectionFunctions.cpp:10: In file included from /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/Resources/C-Sources/cfdStartCosimulation.c:19: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/Resources/C-Sources/cfdCosimulation.h:35:19: error: redefinition of 'cosim' CosimulationData *cosim; ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/Resources/C-Sources/cfdSendStopCommand.c:16:10: note: '/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/Resources/C-Sources/cfdCosimulation.h' included multiple times, additional include site here #include "cfdCosimulation.h" ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/Resources/C-Sources/cfdStartCosimulation.c:19:10: note: '/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/Resources/C-Sources/cfdCosimulation.h' included multiple times, additional include site here #include "cfdCosimulation.h" ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/Resources/C-Sources/cfdCosimulation.h:35:19: note: unguarded header; consider using #ifdef guards or #pragma once CosimulationData *cosim; ^ In file included from OMCppBuildings_latest_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.MixedConvectionCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_latest_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.MixedConvectionFunctions.cpp:11: In file included from /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/Resources/C-Sources/cfdExchangeData.c:14: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/Resources/C-Sources/cfdCosimulation.h:35:19: error: redefinition of 'cosim' CosimulationData *cosim; ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/Resources/C-Sources/cfdSendStopCommand.c:16:10: note: '/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/Resources/C-Sources/cfdCosimulation.h' included multiple times, additional include site here #include "cfdCosimulation.h" ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/Resources/C-Sources/cfdExchangeData.c:14:10: note: '/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/Resources/C-Sources/cfdCosimulation.h' included multiple times, additional include site here #include "cfdCosimulation.h" ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/Resources/C-Sources/cfdCosimulation.h:35:19: note: unguarded header; consider using #ifdef guards or #pragma once CosimulationData *cosim; ^ 3 errors generated. make: *** [: OMCppBuildings_latest_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.MixedConvectionCalcHelperMain.o] Error 1