Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001714/0.001715, allocations: 110.5 kB / 16.41 MB, free: 6.031 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.002328/0.002328, allocations: 187.1 kB / 17.34 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.365/2.365, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 4.006/4.006, allocations: 437.1 MB / 0.7112 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 64.11 kB / 1.019 GB, free: 9.359 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.987/1.989, allocations: 151.6 MB / 1.167 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvection): time 0.4219/2.411, allocations: 205.2 MB / 1.368 GB, free: 5.797 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.1147/2.526, allocations: 33.15 MB / 1.4 GB, free: 4.539 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03439/2.56, allocations: 310.3 kB / 1.4 GB, free: 4.234 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.02002/2.58, allocations: 2.983 MB / 1.403 GB, free: 1.238 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.01919/2.6, allocations: 2.548 MB / 1.406 GB, free: 14.68 MB / 1.139 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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 10.1.1-maint.10.0.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.01817/2.618, allocations: 2.631 MB / 1.408 GB, free: 12.05 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.03017/2.648, allocations: 10.8 MB / 1.419 GB, free: 1.242 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01449/2.663, allocations: 3.91 MB / 1.423 GB, free: 13.27 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01143/2.674, allocations: 3.319 MB / 1.426 GB, free: 9.934 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01057/2.685, allocations: 3.683 MB / 1.43 GB, free: 6.242 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.004402/2.689, allocations: 0.5898 MB / 1.43 GB, free: 5.652 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008931/2.698, allocations: 1.436 MB / 1.432 GB, free: 4.215 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.007409/2.706, allocations: 1.9 MB / 1.433 GB, free: 2.309 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.01691/2.723, allocations: 3.696 MB / 1.437 GB, free: 14.59 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.04125/2.764, allocations: 11.99 MB / 1.449 GB, free: 2.562 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 1.515e-05/2.764, allocations: 0 / 1.449 GB, free: 2.562 MB / 1.17 GB Notification: Performance of FrontEnd: time 4.369e-06/2.764, allocations: 0 / 1.449 GB, free: 2.562 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0006875/2.765, allocations: 0 / 1.449 GB, free: 2.562 MB / 1.17 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.04958/2.815, allocations: 9.34 MB / 1.458 GB, free: 9.016 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 7.859e-05/2.815, allocations: 8.922 kB / 1.458 GB, free: 9.008 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007946/2.823, allocations: 0.9398 MB / 1.459 GB, free: 8.062 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03113/2.854, allocations: 7.343 MB / 1.466 GB, free: 0.6367 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004667/2.854, allocations: 183.9 kB / 1.466 GB, free: 468 kB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001779/2.856, allocations: 259.9 kB / 1.466 GB, free: 208 kB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01012/2.866, allocations: 2.983 MB / 1.469 GB, free: 13.02 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.303e-05/2.867, allocations: 11.94 kB / 1.469 GB, free: 13.01 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003871/2.867, allocations: 87.98 kB / 1.469 GB, free: 12.93 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001614/2.867, allocations: 82.05 kB / 1.469 GB, free: 12.84 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009538/2.877, allocations: 2.97 MB / 1.472 GB, free: 9.863 MB / 1.201 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.05419/2.931, allocations: 14.84 MB / 1.487 GB, free: 10.71 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009095/2.94, allocations: 2.329 MB / 1.489 GB, free: 8.379 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004042/2.944, allocations: 1.183 MB / 1.49 GB, free: 7.195 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002164/2.945, allocations: 42.61 kB / 1.49 GB, free: 7.156 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005143/2.95, allocations: 1.457 MB / 1.492 GB, free: 5.664 MB / 1.217 GB Notification: Performance of pre-optimization done (n=176): time 1.209e-05/2.95, allocations: 3.938 kB / 1.492 GB, free: 5.66 MB / 1.217 GB Notification: Performance of matching and sorting (n=176): time 0.02423/2.974, allocations: 4.959 MB / 1.497 GB, free: 0.6406 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004636/2.975, allocations: 326.6 kB / 1.497 GB, free: 264 kB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03771/3.012, allocations: 9.761 MB / 1.506 GB, free: 6.508 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.001159/3.014, allocations: 105.7 kB / 1.506 GB, free: 6.398 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.008435/3.022, allocations: 3.128 MB / 1.51 GB, free: 3.266 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.001975/3.024, allocations: 0.6006 MB / 1.51 GB, free: 2.66 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003649/3.028, allocations: 0.722 MB / 1.511 GB, free: 1.93 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001858/3.028, allocations: 305.1 kB / 1.511 GB, free: 1.629 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003764/3.032, allocations: 1.691 MB / 1.513 GB, free: 15.93 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004923/3.037, allocations: 2.648 MB / 1.515 GB, free: 12.96 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00922/3.046, allocations: 3.617 MB / 1.519 GB, free: 9.035 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.453e-05/3.046, allocations: 8 kB / 1.519 GB, free: 9.027 MB / 1.248 GB Notification: Performance of matching and sorting (n=416) (initialization): time 0.02705/3.073, allocations: 5.576 MB / 1.524 GB, free: 3.422 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001298/3.073, allocations: 45.92 kB / 1.524 GB, free: 3.371 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.646e-05/3.073, allocations: 20 kB / 1.524 GB, free: 3.352 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004433/3.078, allocations: 0.6494 MB / 1.525 GB, free: 2.695 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01021/3.088, allocations: 0.8891 MB / 1.526 GB, free: 1.805 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02911/3.117, allocations: 15.35 MB / 1.541 GB, free: 1.348 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01001/3.127, allocations: 459.2 kB / 1.541 GB, free: 0.8984 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0015/3.129, allocations: 144 kB / 1.541 GB, free: 0.7578 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01329/3.142, allocations: 4 MB / 1.545 GB, free: 12.75 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005877/3.148, allocations: 2.613 MB / 1.548 GB, free: 9.812 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008091/3.156, allocations: 3.582 MB / 1.551 GB, free: 5.914 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.024e-05/3.157, allocations: 8 kB / 1.551 GB, free: 5.906 MB / 1.279 GB Notification: Performance of matching and sorting (n=416) (initialization_lambda0): time 0.02195/3.179, allocations: 5.528 MB / 1.557 GB, free: 364 kB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001088/3.179, allocations: 45.7 kB / 1.557 GB, free: 312 kB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.647e-05/3.179, allocations: 20 kB / 1.557 GB, free: 292 kB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167/4.346, allocations: 0.6495 MB / 1.558 GB, free: 371.2 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004307/4.35, allocations: 0.6443 MB / 1.558 GB, free: 371.2 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01045/4.36, allocations: 6.323 MB / 1.564 GB, free: 368.5 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006544/4.367, allocations: 367.7 kB / 1.565 GB, free: 368.5 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001003/4.368, allocations: 142.1 kB / 1.565 GB, free: 368.5 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.001129/4.369, allocations: 485 kB / 1.565 GB, free: 368.2 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002408/4.372, allocations: 0.719 MB / 1.566 GB, free: 368.2 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004925/4.376, allocations: 1.705 MB / 1.568 GB, free: 368.1 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.471e-05/4.376, allocations: 22.34 kB / 1.568 GB, free: 368.1 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.095e-05/4.377, allocations: 3.906 kB / 1.568 GB, free: 368.1 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.967e-05/4.377, allocations: 11.06 kB / 1.568 GB, free: 368.1 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01705/4.394, allocations: 7.519 MB / 1.575 GB, free: 365.5 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-05/4.394, allocations: 0 / 1.575 GB, free: 365.5 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003221/4.397, allocations: 488.8 kB / 1.575 GB, free: 365.5 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002213/4.399, allocations: 0.6024 MB / 1.576 GB, free: 365.3 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003206/4.399, allocations: 57.56 kB / 1.576 GB, free: 365.3 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01357/4.413, allocations: 15.17 MB / 1.591 GB, free: 352.6 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/4.413, allocations: 0 / 1.591 GB, free: 352.6 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01202/4.425, allocations: 5.374 MB / 1.596 GB, free: 347.2 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004536/4.43, allocations: 1.41 MB / 1.598 GB, free: 345.8 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002535/4.432, allocations: 87.95 kB / 1.598 GB, free: 345.8 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004091/4.436, allocations: 147.6 kB / 1.598 GB, free: 345.6 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005131/4.437, allocations: 137.3 kB / 1.598 GB, free: 345.5 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001813/4.437, allocations: 67.95 kB / 1.598 GB, free: 345.4 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.01448/4.452, allocations: 6.833 MB / 1.605 GB, free: 338.6 MB / 1.279 GB Notification: Performance of sort global known variables: time 7.41e-07/4.452, allocations: 0 / 1.605 GB, free: 338.6 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.01198/4.464, allocations: 2.314 MB / 1.607 GB, free: 336.4 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.002714/4.466, allocations: 0.9028 MB / 1.608 GB, free: 335.8 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01619/4.483, allocations: 7.135 MB / 1.615 GB, free: 328.7 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.08e-05/4.483, allocations: 1.906 kB / 1.615 GB, free: 328.7 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.006114/4.489, allocations: 2.178 MB / 1.617 GB, free: 326.5 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01236/4.501, allocations: 2.362 MB / 1.619 GB, free: 324.2 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02364/4.525, allocations: 12.86 MB / 1.632 GB, free: 311.3 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003648/4.529, allocations: 4.328 MB / 1.636 GB, free: 307 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002177/4.531, allocations: 395.4 kB / 1.636 GB, free: 306.6 MB / 1.279 GB Notification: Performance of SimCode: time 1.273e-06/4.531, allocations: 4 kB / 1.636 GB, free: 306.6 MB / 1.279 GB Notification: Performance of Templates: time 0.3927/4.924, allocations: 414.7 MB / 2.041 GB, free: 3.52 MB / 1.389 GB make -j1 -f Buildings_10_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvection.makefile make -j1 -f Buildings_10_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 10.1.1-maint.10.0.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 10.1.1-maint.10.0.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_10_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvectionCalcHelperMain.o OMCppBuildings_10_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvectionCalcHelperMain.cpp In file included from OMCppBuildings_10_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvectionCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_10_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvectionFunctions.cpp:8: In file included from /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/cfdcosim.c:24: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/cfdCosimulation.h:35:19: error: redefinition of 'cosim' CosimulationData *cosim; ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/cfdSendStopCommand.c:16:10: note: '/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/cfdCosimulation.h' included multiple times, additional include site here #include "cfdCosimulation.h" ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/cfdcosim.c:24:10: note: '/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/cfdCosimulation.h' included multiple times, additional include site here #include "cfdCosimulation.h" ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvectionCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_10_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvectionFunctions.cpp:9: In file included from /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/cfdStartCosimulation.c:19: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/cfdCosimulation.h:35:19: error: redefinition of 'cosim' CosimulationData *cosim; ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/cfdSendStopCommand.c:16:10: note: '/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/cfdCosimulation.h' included multiple times, additional include site here #include "cfdCosimulation.h" ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/cfdStartCosimulation.c:19:10: note: '/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/cfdCosimulation.h' included multiple times, additional include site here #include "cfdCosimulation.h" ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvectionCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_10_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvectionFunctions.cpp:10: In file included from /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/cfdExchangeData.c:14: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/cfdCosimulation.h:35:19: error: redefinition of 'cosim' CosimulationData *cosim; ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/cfdSendStopCommand.c:16:10: note: '/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/cfdCosimulation.h' included multiple times, additional include site here #include "cfdCosimulation.h" ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/cfdExchangeData.c:14:10: note: '/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/cfdCosimulation.h' included multiple times, additional include site here #include "cfdCosimulation.h" ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvectionCalcHelperMain.o] Error 1