Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.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_latest_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_latest_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.001641/0.001642, allocations: 108.1 kB / 16.41 MB, free: 6.492 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.001708/0.001708, allocations: 189.5 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.375/1.375, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.515/2.515, allocations: 461.9 MB / 0.7354 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 63.91 kB / 1.055 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.005/1.006, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvection): time 0.2321/1.238, allocations: 205.1 MB / 1.409 GB, free: 15.73 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.06356/1.302, allocations: 33.15 MB / 1.441 GB, free: 14.48 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01515/1.317, allocations: 310.3 kB / 1.441 GB, free: 14.17 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.009832/1.327, allocations: 2.959 MB / 1.444 GB, free: 11.2 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.009341/1.336, allocations: 2.497 MB / 1.447 GB, free: 8.691 MB / 1.17 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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 11.0.1-master/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.008689/1.345, allocations: 2.607 MB / 1.449 GB, free: 6.09 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.01523/1.36, allocations: 10.79 MB / 1.46 GB, free: 11.28 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007321/1.368, allocations: 3.915 MB / 1.464 GB, free: 7.301 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006573/1.374, allocations: 3.323 MB / 1.467 GB, free: 3.965 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006001/1.38, allocations: 3.678 MB / 1.47 GB, free: 284 kB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.002427/1.383, allocations: 0.5937 MB / 1.471 GB, free: 15.68 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005085/1.388, allocations: 1.432 MB / 1.472 GB, free: 14.25 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.003605/1.392, allocations: 1.896 MB / 1.474 GB, free: 12.35 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.007976/1.4, allocations: 3.708 MB / 1.478 GB, free: 8.621 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.01782/1.417, allocations: 11.94 MB / 1.49 GB, free: 12.64 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/1.417, allocations: 0 / 1.49 GB, free: 12.64 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.414e-06/1.417, allocations: 0 / 1.49 GB, free: 12.64 MB / 1.217 GB Notification: Performance of Transformations before backend: time 0.0004192/1.418, allocations: 0 / 1.49 GB, free: 12.64 MB / 1.217 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.02326/1.441, allocations: 9.07 MB / 1.498 GB, free: 3.375 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/1.441, allocations: 8.031 kB / 1.498 GB, free: 3.367 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0042/1.445, allocations: 0.9041 MB / 1.499 GB, free: 2.453 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01685/1.462, allocations: 7.273 MB / 1.506 GB, free: 11.09 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002413/1.463, allocations: 187.9 kB / 1.507 GB, free: 10.9 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001125/1.464, allocations: 252 kB / 1.507 GB, free: 10.66 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007261/1.471, allocations: 2.987 MB / 1.51 GB, free: 7.473 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.077e-05/1.471, allocations: 11.84 kB / 1.51 GB, free: 7.461 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004407/1.472, allocations: 91.97 kB / 1.51 GB, free: 7.371 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001011/1.472, allocations: 85.98 kB / 1.51 GB, free: 7.285 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005581/1.477, allocations: 2.97 MB / 1.513 GB, free: 4.309 MB / 1.232 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.03003/1.507, allocations: 14.81 MB / 1.527 GB, free: 5.191 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005361/1.513, allocations: 2.326 MB / 1.53 GB, free: 2.855 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002365/1.515, allocations: 1.178 MB / 1.531 GB, free: 1.676 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001538/1.515, allocations: 49.59 kB / 1.531 GB, free: 1.621 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002976/1.518, allocations: 1.451 MB / 1.532 GB, free: 148 kB / 1.248 GB Notification: Performance of pre-optimization done (n=176): time 6.151e-06/1.518, allocations: 0 / 1.532 GB, free: 148 kB / 1.248 GB Notification: Performance of matching and sorting (n=176): time 0.013/1.531, allocations: 4.924 MB / 1.537 GB, free: 11.15 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001867/1.532, allocations: 322.6 kB / 1.537 GB, free: 10.78 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02181/1.553, allocations: 9.757 MB / 1.547 GB, free: 1.035 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0008774/1.554, allocations: 105.7 kB / 1.547 GB, free: 0.9258 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.005257/1.56, allocations: 3.106 MB / 1.55 GB, free: 13.81 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009314/1.561, allocations: 0.5626 MB / 1.551 GB, free: 13.24 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002574/1.563, allocations: 0.7256 MB / 1.551 GB, free: 12.5 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001363/1.563, allocations: 309 kB / 1.552 GB, free: 12.2 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003255/1.567, allocations: 1.684 MB / 1.553 GB, free: 10.51 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004058/1.571, allocations: 2.648 MB / 1.556 GB, free: 7.539 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005615/1.576, allocations: 3.625 MB / 1.559 GB, free: 3.598 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-05/1.576, allocations: 8 kB / 1.559 GB, free: 3.59 MB / 1.279 GB Notification: Performance of matching and sorting (n=416) (initialization): time 0.8305/2.407, allocations: 5.535 MB / 1.565 GB, free: 338.8 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 9.594e-05/2.407, allocations: 42.91 kB / 1.565 GB, free: 338.8 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.189e-05/2.407, allocations: 21.5 kB / 1.565 GB, free: 338.8 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002868/2.41, allocations: 0.6509 MB / 1.565 GB, free: 338.8 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005742/2.416, allocations: 0.8919 MB / 1.566 GB, free: 338.8 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01515/2.431, allocations: 15.35 MB / 1.581 GB, free: 327.2 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005597/2.437, allocations: 443.3 kB / 1.582 GB, free: 327.1 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009699/2.438, allocations: 143.7 kB / 1.582 GB, free: 327.1 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008248/2.446, allocations: 4.001 MB / 1.586 GB, free: 325.5 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003671/2.449, allocations: 2.611 MB / 1.588 GB, free: 323.9 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00473/2.454, allocations: 3.582 MB / 1.592 GB, free: 321.7 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.034e-05/2.454, allocations: 13.59 kB / 1.592 GB, free: 321.7 MB / 1.279 GB Notification: Performance of matching and sorting (n=416) (initialization_lambda0): time 0.01134/2.466, allocations: 5.492 MB / 1.597 GB, free: 319.8 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 5.996e-05/2.466, allocations: 41.83 kB / 1.597 GB, free: 319.8 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.541e-05/2.466, allocations: 19.84 kB / 1.597 GB, free: 319.8 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002061/2.468, allocations: 0.6533 MB / 1.598 GB, free: 319.6 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002952/2.471, allocations: 0.6521 MB / 1.598 GB, free: 319.6 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006879/2.478, allocations: 6.31 MB / 1.605 GB, free: 315.5 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005691/2.484, allocations: 358.4 kB / 1.605 GB, free: 315.2 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001008/2.485, allocations: 142.8 kB / 1.605 GB, free: 315.1 MB / 1.279 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.001981/2.487, allocations: 489.7 kB / 1.606 GB, free: 314.6 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002569/2.489, allocations: 0.6786 MB / 1.606 GB, free: 313.9 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005133/2.494, allocations: 1.711 MB / 1.608 GB, free: 312.3 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.718e-05/2.494, allocations: 16 kB / 1.608 GB, free: 312.3 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.151e-05/2.494, allocations: 4 kB / 1.608 GB, free: 312.3 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.943e-05/2.494, allocations: 11.91 kB / 1.608 GB, free: 312.3 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01956/2.514, allocations: 7.512 MB / 1.615 GB, free: 304.8 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.533e-05/2.514, allocations: 3.844 kB / 1.615 GB, free: 304.8 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002716/2.517, allocations: 495.2 kB / 1.616 GB, free: 304.3 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00195/2.519, allocations: 0.5909 MB / 1.616 GB, free: 303.7 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004376/2.519, allocations: 63.94 kB / 1.616 GB, free: 303.6 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.012/2.531, allocations: 15.16 MB / 1.631 GB, free: 287.4 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/2.531, allocations: 3.938 kB / 1.631 GB, free: 287.3 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0111/2.542, allocations: 5.342 MB / 1.636 GB, free: 282 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004263/2.547, allocations: 1.366 MB / 1.638 GB, free: 280.6 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002497/2.549, allocations: 91.89 kB / 1.638 GB, free: 280.5 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003961/2.553, allocations: 143.8 kB / 1.638 GB, free: 280.3 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005935/2.554, allocations: 133.8 kB / 1.638 GB, free: 280.2 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003357/2.554, allocations: 72.08 kB / 1.638 GB, free: 280.1 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.01432/2.569, allocations: 6.83 MB / 1.645 GB, free: 273.3 MB / 1.279 GB Notification: Performance of sort global known variables: time 7.92e-07/2.569, allocations: 0 / 1.645 GB, free: 273.3 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.01162/2.58, allocations: 2.303 MB / 1.647 GB, free: 271.1 MB / 1.279 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.002737/2.583, allocations: 0.9066 MB / 1.648 GB, free: 270.4 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01611/2.599, allocations: 7.12 MB / 1.655 GB, free: 263.3 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.195e-05/2.599, allocations: 5.625 kB / 1.655 GB, free: 263.3 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.005603/2.605, allocations: 2.178 MB / 1.657 GB, free: 261 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01379/2.619, allocations: 2.356 MB / 1.659 GB, free: 258.8 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02642/2.645, allocations: 12.65 MB / 1.672 GB, free: 246.1 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006674/2.652, allocations: 4.332 MB / 1.676 GB, free: 241.8 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00212/2.654, allocations: 403.3 kB / 1.676 GB, free: 241.4 MB / 1.279 GB Notification: Performance of SimCode: time 1.102e-06/2.654, allocations: 0 / 1.676 GB, free: 241.4 MB / 1.279 GB Notification: Performance of Templates: time 0.4216/3.076, allocations: 414.7 MB / 2.081 GB, free: 2.418 MB / 1.451 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvection.makefile make -j1 -f Buildings_latest_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 11.0.1-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 11.0.1-master/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_latest_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvectionCalcHelperMain.o OMCppBuildings_latest_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvectionCalcHelperMain.cpp In file included from OMCppBuildings_latest_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvectionCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_latest_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvectionFunctions.cpp:8: In file included from /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/Resources/C-Sources/cfdcosim.c:24: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/Resources/C-Sources/cfdCosimulation.h:35:19: error: redefinition of 'cosim' CosimulationData *cosim; ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/Resources/C-Sources/cfdSendStopCommand.c:16:10: note: '/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/Resources/C-Sources/cfdCosimulation.h' included multiple times, additional include site here #include "cfdCosimulation.h" ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/Resources/C-Sources/cfdcosim.c:24:10: note: '/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/Resources/C-Sources/cfdCosimulation.h' included multiple times, additional include site here #include "cfdCosimulation.h" ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.NaturalConvectionCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_latest_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvectionFunctions.cpp:9: In file included from /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/Resources/C-Sources/cfdStartCosimulation.c:19: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/Resources/C-Sources/cfdCosimulation.h:35:19: error: redefinition of 'cosim' CosimulationData *cosim; ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/Resources/C-Sources/cfdSendStopCommand.c:16:10: note: '/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/Resources/C-Sources/cfdCosimulation.h' included multiple times, additional include site here #include "cfdCosimulation.h" ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/Resources/C-Sources/cfdStartCosimulation.c:19:10: note: '/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/Resources/C-Sources/cfdCosimulation.h' included multiple times, additional include site here #include "cfdCosimulation.h" ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.NaturalConvectionCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_latest_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvectionFunctions.cpp:10: In file included from /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/Resources/C-Sources/cfdExchangeData.c:14: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/Resources/C-Sources/cfdCosimulation.h:35:19: error: redefinition of 'cosim' CosimulationData *cosim; ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/Resources/C-Sources/cfdSendStopCommand.c:16:10: note: '/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/Resources/C-Sources/cfdCosimulation.h' included multiple times, additional include site here #include "cfdCosimulation.h" ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/Resources/C-Sources/cfdExchangeData.c:14:10: note: '/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/Resources/C-Sources/cfdCosimulation.h' included multiple times, additional include site here #include "cfdCosimulation.h" ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.NaturalConvectionCalcHelperMain.o] Error 1