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 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.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.001329/0.001329, allocations: 109.8 kB / 16.27 MB, free: 6.406 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.001271/0.001271, allocations: 192.5 kB / 17.2 MB, free: 5.973 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.443/1.443, 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.874/2.874, allocations: 482.4 MB / 0.7553 GB, free: 6.988 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 64.52 kB / 0.9245 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8776/0.8795, allocations: 162.2 MB / 1.083 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvection): time 0.2569/1.136, allocations: 205.2 MB / 1.283 GB, free: 1.074 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.05641/1.193, allocations: 33.15 MB / 1.316 GB, free: 15.83 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01399/1.207, allocations: 250.6 kB / 1.316 GB, free: 15.58 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.009769/1.217, allocations: 2.963 MB / 1.319 GB, free: 12.61 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.01008/1.227, allocations: 2.504 MB / 1.321 GB, free: 10.09 MB / 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.NaturalConvection.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.NaturalConvection.roo.air.cfd.exchange' contains a call to impure function 'Buildings.ThermalZones.Detailed.BaseClasses.cfdExchangeData'. Notification: Performance of NFTyping.typeClassSections: time 0.008685/1.236, allocations: 2.599 MB / 1.324 GB, free: 7.496 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0163/1.252, allocations: 10.73 MB / 1.334 GB, free: 12.75 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006844/1.259, allocations: 3.902 MB / 1.338 GB, free: 8.781 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00636/1.265, allocations: 3.206 MB / 1.341 GB, free: 5.562 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007268/1.273, allocations: 3.707 MB / 1.345 GB, free: 1.84 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001919/1.274, allocations: 0.5977 MB / 1.345 GB, free: 1.242 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004141/1.279, allocations: 1.409 MB / 1.347 GB, free: 15.83 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.00217/1.281, allocations: 1.904 MB / 1.349 GB, free: 13.92 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.006601/1.287, allocations: 3.719 MB / 1.352 GB, free: 10.18 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01778/1.305, allocations: 11.24 MB / 1.363 GB, free: 14.91 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/1.305, allocations: 4 kB / 1.363 GB, free: 14.9 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.543e-06/1.305, allocations: 4 kB / 1.363 GB, free: 14.9 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0003662/1.306, allocations: 0 / 1.363 GB, free: 14.9 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.01965/1.325, allocations: 8.852 MB / 1.372 GB, free: 5.848 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.377e-05/1.325, allocations: 12.03 kB / 1.372 GB, free: 5.836 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003001/1.328, allocations: 0.9002 MB / 1.373 GB, free: 4.926 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01251/1.341, allocations: 6.922 MB / 1.38 GB, free: 13.91 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007649/1.342, allocations: 277.1 kB / 1.38 GB, free: 13.64 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005377/1.342, allocations: 260 kB / 1.38 GB, free: 13.39 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005352/1.348, allocations: 2.979 MB / 1.383 GB, free: 10.21 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.227e-05/1.348, allocations: 19.84 kB / 1.383 GB, free: 10.2 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002026/1.348, allocations: 83.98 kB / 1.383 GB, free: 10.11 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.506e-05/1.348, allocations: 85.98 kB / 1.383 GB, free: 10.03 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005271/1.353, allocations: 2.962 MB / 1.386 GB, free: 7.055 MB / 1.107 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.02819/1.381, allocations: 15.03 MB / 1.401 GB, free: 7.711 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005037/1.387, allocations: 2.323 MB / 1.403 GB, free: 5.375 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002299/1.389, allocations: 1.183 MB / 1.404 GB, free: 4.184 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001127/1.389, allocations: 46.56 kB / 1.404 GB, free: 4.141 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002789/1.392, allocations: 1.451 MB / 1.406 GB, free: 2.66 MB / 1.123 GB Notification: Performance of pre-optimization done (n=176): time 3.286e-06/1.392, allocations: 0 / 1.406 GB, free: 2.66 MB / 1.123 GB Notification: Performance of matching and sorting (n=176): time 0.01344/1.405, allocations: 4.92 MB / 1.41 GB, free: 13.68 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002212/1.405, allocations: 322.6 kB / 1.411 GB, free: 13.31 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01671/1.422, allocations: 9.866 MB / 1.42 GB, free: 3.457 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0007276/1.423, allocations: 109.7 kB / 1.42 GB, free: 3.344 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.003968/1.427, allocations: 3.098 MB / 1.423 GB, free: 240 kB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008839/1.428, allocations: 0.5781 MB / 1.424 GB, free: 15.65 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001151/1.429, allocations: 0.7178 MB / 1.425 GB, free: 14.92 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001202/1.429, allocations: 309 kB / 1.425 GB, free: 14.62 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002921/1.432, allocations: 1.684 MB / 1.427 GB, free: 12.93 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003745/1.436, allocations: 2.644 MB / 1.429 GB, free: 9.961 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005451/1.441, allocations: 3.621 MB / 1.433 GB, free: 6.02 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.604e-05/1.441, allocations: 4 kB / 1.433 GB, free: 6.016 MB / 1.154 GB Notification: Performance of matching and sorting (n=416) (initialization): time 0.01157/1.453, allocations: 5.536 MB / 1.438 GB, free: 464 kB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 6.563e-05/1.453, allocations: 41.7 kB / 1.438 GB, free: 416 kB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.879e-05/1.453, allocations: 20 kB / 1.438 GB, free: 396 kB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002412/1.455, allocations: 0.6618 MB / 1.439 GB, free: 15.72 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005009/1.46, allocations: 0.8814 MB / 1.44 GB, free: 14.84 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01823/1.479, allocations: 15.36 MB / 1.455 GB, free: 14.36 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005189/1.484, allocations: 456 kB / 1.455 GB, free: 13.91 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006044/1.485, allocations: 140 kB / 1.455 GB, free: 13.77 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007452/1.492, allocations: 4 MB / 1.459 GB, free: 9.762 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003726/1.496, allocations: 2.609 MB / 1.462 GB, free: 6.836 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005282/1.501, allocations: 3.59 MB / 1.465 GB, free: 2.938 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.539e-05/1.501, allocations: 8 kB / 1.465 GB, free: 2.93 MB / 1.186 GB Notification: Performance of matching and sorting (n=416) (initialization_lambda0): time 0.01122/1.512, allocations: 5.49 MB / 1.471 GB, free: 13.41 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 5.48e-05/1.512, allocations: 37.7 kB / 1.471 GB, free: 13.36 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.254e-05/1.512, allocations: 24 kB / 1.471 GB, free: 13.34 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002335/1.515, allocations: 0.6497 MB / 1.471 GB, free: 12.68 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002676/1.518, allocations: 0.6513 MB / 1.472 GB, free: 12.03 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009331/1.527, allocations: 6.314 MB / 1.478 GB, free: 5.434 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005908/1.533, allocations: 361.6 kB / 1.478 GB, free: 5.078 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005632/1.533, allocations: 140 kB / 1.479 GB, free: 4.941 MB / 1.201 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.001302/1.535, allocations: 496.9 kB / 1.479 GB, free: 4.445 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001898/1.537, allocations: 0.6786 MB / 1.48 GB, free: 3.758 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00436/1.541, allocations: 1.712 MB / 1.481 GB, free: 2.023 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.005e-05/1.541, allocations: 23.98 kB / 1.481 GB, free: 2 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.71e-05/1.541, allocations: 0 / 1.481 GB, free: 2 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.927e-05/1.541, allocations: 15.95 kB / 1.481 GB, free: 1.984 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01472/1.556, allocations: 7.568 MB / 1.489 GB, free: 10.34 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.288e-05/1.556, allocations: 0 / 1.489 GB, free: 10.34 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003086/1.559, allocations: 487.3 kB / 1.489 GB, free: 9.859 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00215/1.561, allocations: 0.5947 MB / 1.49 GB, free: 9.258 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001995/1.561, allocations: 55.95 kB / 1.49 GB, free: 9.203 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01711/1.578, allocations: 15.15 MB / 1.505 GB, free: 8.938 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.578, allocations: 4 kB / 1.505 GB, free: 8.934 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01195/1.59, allocations: 5.321 MB / 1.51 GB, free: 3.57 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00408/1.594, allocations: 1.39 MB / 1.511 GB, free: 2.152 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001115/1.596, allocations: 95.89 kB / 1.511 GB, free: 2.059 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00214/1.598, allocations: 149.9 kB / 1.512 GB, free: 1.914 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003559/1.598, allocations: 133.8 kB / 1.512 GB, free: 1.785 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001379/1.598, allocations: 67.95 kB / 1.512 GB, free: 1.719 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.01125/1.61, allocations: 6.908 MB / 1.518 GB, free: 10.84 MB / 1.248 GB Notification: Performance of sort global known variables: time 3e-07/1.61, allocations: 0 / 1.518 GB, free: 10.84 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.006697/1.616, allocations: 2.302 MB / 1.521 GB, free: 8.531 MB / 1.248 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.002681/1.619, allocations: 0.9044 MB / 1.522 GB, free: 7.828 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.017/1.636, allocations: 7.76 MB / 1.529 GB, free: 4 kB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 2.66e-05/1.636, allocations: 4.078 kB / 1.529 GB, free: 16 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.006255/1.642, allocations: 2.172 MB / 1.531 GB, free: 13.79 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01006/1.652, allocations: 2.349 MB / 1.534 GB, free: 11.52 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5641/2.217, allocations: 12.81 MB / 1.546 GB, free: 408.7 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00759/2.224, allocations: 4.321 MB / 1.55 GB, free: 407.8 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00225/2.226, allocations: 404.4 kB / 1.551 GB, free: 407.8 MB / 1.264 GB Notification: Performance of SimCode: time 1.192e-06/2.226, allocations: 1.219 kB / 1.551 GB, free: 407.8 MB / 1.264 GB Notification: Performance of Templates: time 0.3412/2.568, allocations: 413.6 MB / 1.955 GB, free: 36.77 MB / 1.264 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 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.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 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.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 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.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 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.NaturalConvectionCalcHelperMain.o] Error 1