Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvection.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.NaturalConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|roo.yCFD.1.|roo.yCFD.2.|roo.surf_surBou.1..Q_flow|roo.surf_surBou.2..Q_flow|roo.surf_surBou.3..Q_flow|roo.surf_surBou.4..Q_flow|roo.surf_surBou.5..Q_flow|roo.surf_surBou.6..Q_flow|roo.surf_surBou.1..T|roo.surf_surBou.2..T|roo.surf_surBou.3..T|roo.surf_surBou.4..T|roo.surf_surBou.5..T|roo.surf_surBou.6..T",fileNamePrefix="Buildings_9_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvection") translateModel(Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|roo.yCFD.1.|roo.yCFD.2.|roo.surf_surBou.1..Q_flow|roo.surf_surBou.2..Q_flow|roo.surf_surBou.3..Q_flow|roo.surf_surBou.4..Q_flow|roo.surf_surBou.5..Q_flow|roo.surf_surBou.6..Q_flow|roo.surf_surBou.1..T|roo.surf_surBou.2..T|roo.surf_surBou.3..T|roo.surf_surBou.4..T|roo.surf_surBou.5..T|roo.surf_surBou.6..T",fileNamePrefix="Buildings_9_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001356/0.001356, 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.001216/0.001216, 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.377/1.377, allocations: 222.9 MB / 241 MB, free: 15.15 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.378/2.378, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 71.89 kB / 0.9515 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.02/1.022, allocations: 140.4 MB / 1.089 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvection): time 0.2638/1.286, allocations: 201.8 MB / 1.286 GB, free: 3.828 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.06104/1.347, allocations: 32.46 MB / 1.317 GB, free: 3.27 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01666/1.364, allocations: 306.3 kB / 1.318 GB, free: 2.969 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.01034/1.374, allocations: 2.973 MB / 1.321 GB, free: 15.98 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.01061/1.385, allocations: 2.528 MB / 1.323 GB, free: 13.45 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.NaturalConvection.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.NaturalConvection.roo.air.cfd.exchange' contains a call to impure function 'Buildings.ThermalZones.Detailed.BaseClasses.cfdExchangeData'. Notification: Performance of NFTyping.typeClassSections: time 0.009859/1.395, allocations: 2.589 MB / 1.326 GB, free: 10.86 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01864/1.413, allocations: 10.71 MB / 1.336 GB, free: 140 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006629/1.42, allocations: 3.941 MB / 1.34 GB, free: 12.12 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006635/1.427, allocations: 3.307 MB / 1.343 GB, free: 8.805 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007287/1.434, allocations: 3.676 MB / 1.347 GB, free: 5.109 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.002997/1.437, allocations: 0.5898 MB / 1.347 GB, free: 4.52 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005653/1.443, allocations: 1.436 MB / 1.349 GB, free: 3.082 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.003823/1.447, allocations: 1.892 MB / 1.35 GB, free: 1.184 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.008876/1.456, allocations: 3.688 MB / 1.354 GB, free: 13.47 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.02022/1.476, allocations: 11.92 MB / 1.366 GB, free: 1.523 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 9.318e-06/1.476, allocations: 0 / 1.366 GB, free: 1.523 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.314e-06/1.476, allocations: 4 kB / 1.366 GB, free: 1.52 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0004503/1.476, allocations: 0 / 1.366 GB, free: 1.52 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 519 * Number of variables: 519 Notification: Performance of Generate backend data structure: time 0.02582/1.502, allocations: 9.059 MB / 1.375 GB, free: 8.262 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/1.502, allocations: 8.031 kB / 1.375 GB, free: 8.254 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004215/1.506, allocations: 0.9041 MB / 1.375 GB, free: 7.34 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.016/1.523, allocations: 7.269 MB / 1.383 GB, free: 15.98 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001697/1.523, allocations: 183.9 kB / 1.383 GB, free: 15.8 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005943/1.523, allocations: 260 kB / 1.383 GB, free: 15.55 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005279/1.529, allocations: 2.983 MB / 1.386 GB, free: 12.37 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.992e-05/1.529, allocations: 19.78 kB / 1.386 GB, free: 12.35 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002021/1.529, allocations: 87.98 kB / 1.386 GB, free: 12.27 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-05/1.529, allocations: 82.05 kB / 1.386 GB, free: 12.18 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005022/1.534, allocations: 2.974 MB / 1.389 GB, free: 9.199 MB / 1.123 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02851/1.563, allocations: 14.59 MB / 1.403 GB, free: 10.36 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004825/1.567, allocations: 2.334 MB / 1.406 GB, free: 8.008 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002147/1.57, allocations: 1.189 MB / 1.407 GB, free: 6.809 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001251/1.57, allocations: 42.61 kB / 1.407 GB, free: 6.77 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002635/1.572, allocations: 1.451 MB / 1.408 GB, free: 5.289 MB / 1.139 GB Notification: Performance of pre-optimization done (n=176): time 4.218e-06/1.572, allocations: 0 / 1.408 GB, free: 5.289 MB / 1.139 GB Notification: Performance of matching and sorting (n=176): time 0.0127/1.585, allocations: 4.928 MB / 1.413 GB, free: 312 kB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002209/1.585, allocations: 314.7 kB / 1.413 GB, free: 15.93 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01797/1.603, allocations: 9.757 MB / 1.423 GB, free: 6.191 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0008274/1.604, allocations: 105.7 kB / 1.423 GB, free: 6.082 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.003819/1.608, allocations: 3.113 MB / 1.426 GB, free: 2.957 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009968/1.609, allocations: 0.5742 MB / 1.426 GB, free: 2.375 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001167/1.61, allocations: 0.7178 MB / 1.427 GB, free: 1.648 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 9.649e-05/1.61, allocations: 305.1 kB / 1.427 GB, free: 1.348 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00262/1.613, allocations: 1.68 MB / 1.429 GB, free: 15.66 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003413/1.616, allocations: 2.652 MB / 1.432 GB, free: 12.68 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004946/1.621, allocations: 3.621 MB / 1.435 GB, free: 8.746 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.74e-05/1.621, allocations: 4 kB / 1.435 GB, free: 8.742 MB / 1.17 GB Notification: Performance of matching and sorting (n=416) (initialization): time 0.01125/1.633, allocations: 5.544 MB / 1.441 GB, free: 3.172 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 6.792e-05/1.633, allocations: 45.69 kB / 1.441 GB, free: 3.121 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.999e-05/1.633, allocations: 20 kB / 1.441 GB, free: 3.102 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0022/1.635, allocations: 0.6467 MB / 1.441 GB, free: 2.449 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004775/1.64, allocations: 0.893 MB / 1.442 GB, free: 1.555 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01548/1.655, allocations: 15.33 MB / 1.457 GB, free: 1.105 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005489/1.661, allocations: 456.1 kB / 1.458 GB, free: 0.6562 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008498/1.662, allocations: 140 kB / 1.458 GB, free: 0.5195 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007126/1.669, allocations: 4 MB / 1.462 GB, free: 12.51 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003504/1.672, allocations: 2.615 MB / 1.464 GB, free: 9.582 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004877/1.677, allocations: 3.586 MB / 1.468 GB, free: 5.684 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.268e-05/1.677, allocations: 8 kB / 1.468 GB, free: 5.676 MB / 1.201 GB Notification: Performance of matching and sorting (n=416) (initialization_lambda0): time 0.01129/1.689, allocations: 5.494 MB / 1.473 GB, free: 156 kB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 5.296e-05/1.689, allocations: 37.7 kB / 1.473 GB, free: 112 kB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.623e-05/1.689, allocations: 27.94 kB / 1.473 GB, free: 84 kB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002196/1.691, allocations: 0.6457 MB / 1.474 GB, free: 15.43 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002752/1.694, allocations: 0.6474 MB / 1.474 GB, free: 14.78 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007809/1.702, allocations: 6.318 MB / 1.481 GB, free: 8.18 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005411/1.707, allocations: 357.4 kB / 1.481 GB, free: 7.828 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007921/1.708, allocations: 144 kB / 1.481 GB, free: 7.688 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 80 (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[9],$PRE.roo.air.cfd.uWri[9],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[9],$PRE.roo.air.cfd.y[9],roo.air.cfd.y[8],$PRE.roo.air.cfd.y[8],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[8],$PRE.roo.air.cfd.uWri[8],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.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 (403): * Single equations (assignments): 394 * 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.001006/1.709, allocations: 482.5 kB / 1.482 GB, free: 7.203 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002351/1.711, allocations: 0.6864 MB / 1.482 GB, free: 6.508 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004336/1.716, allocations: 1.708 MB / 1.484 GB, free: 4.781 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.469e-05/1.716, allocations: 16 kB / 1.484 GB, free: 4.766 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.179e-05/1.716, allocations: 4 kB / 1.484 GB, free: 4.762 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.671e-05/1.716, allocations: 7.969 kB / 1.484 GB, free: 4.754 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01493/1.731, allocations: 7.522 MB / 1.491 GB, free: 13.14 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-05/1.731, allocations: 0 / 1.491 GB, free: 13.14 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002877/1.734, allocations: 491.2 kB / 1.492 GB, free: 12.66 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002009/1.736, allocations: 0.5948 MB / 1.492 GB, free: 12.06 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002779/1.736, allocations: 55.95 kB / 1.492 GB, free: 12.01 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01442/1.75, allocations: 15.15 MB / 1.507 GB, free: 11.73 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/1.75, allocations: 0 / 1.507 GB, free: 11.73 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01114/1.761, allocations: 5.35 MB / 1.512 GB, free: 6.348 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004098/1.766, allocations: 1.366 MB / 1.514 GB, free: 4.953 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002015/1.768, allocations: 91.89 kB / 1.514 GB, free: 4.863 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002903/1.771, allocations: 148 kB / 1.514 GB, free: 4.719 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004031/1.771, allocations: 129.8 kB / 1.514 GB, free: 4.594 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000156/1.771, allocations: 75.89 kB / 1.514 GB, free: 4.52 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0147/1.786, allocations: 6.833 MB / 1.521 GB, free: 13.71 MB / 1.264 GB Notification: Performance of sort global known variables: time 7.11e-07/1.786, allocations: 0 / 1.521 GB, free: 13.71 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.01023/1.796, allocations: 2.282 MB / 1.523 GB, free: 11.43 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (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.fluInt.p) * Number of discrete variables: 43 (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.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.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.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: 33 (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.retVal,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 (165): * Single equations (assignments): 132 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 24 * 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.002318/1.799, allocations: 0.9119 MB / 1.524 GB, free: 10.71 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01571/1.814, allocations: 7.128 MB / 1.531 GB, free: 3.512 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 9.016e-06/1.814, allocations: 4 kB / 1.531 GB, free: 3.508 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.005837/1.82, allocations: 2.171 MB / 1.533 GB, free: 1.301 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01044/1.831, allocations: 2.348 MB / 1.535 GB, free: 15.05 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02269/1.853, allocations: 12.75 MB / 1.548 GB, free: 2.273 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004274/1.858, allocations: 4.317 MB / 1.552 GB, free: 13.93 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002006/1.86, allocations: 407.3 kB / 1.552 GB, free: 13.53 MB / 1.295 GB Notification: Performance of SimCode: time 6.62e-07/1.86, allocations: 4 kB / 1.552 GB, free: 13.53 MB / 1.295 GB Notification: Performance of Templates: time 1.02/2.88, allocations: 414.5 MB / 1.957 GB, free: 97.76 MB / 1.311 GB make -j1 -f Buildings_9_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvection.makefile make -j1 -f Buildings_9_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvection.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.NaturalConvectionCalcHelperMain.o OMCppBuildings_9_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvectionCalcHelperMain.cpp In file included from OMCppBuildings_9_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvectionCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_9_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvectionFunctions.cpp:8: 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.NaturalConvectionCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_9_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvectionFunctions.cpp:9: 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.NaturalConvectionCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_9_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvectionFunctions.cpp:10: 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.NaturalConvectionCalcHelperMain.o] Error 1