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.001683/0.001683, allocations: 109.8 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.001937/0.001937, allocations: 189.4 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.387/1.387, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.508/2.508, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 67.89 kB / 1.055 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8827/0.8841, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvection): time 0.2128/1.097, allocations: 205.1 MB / 1.409 GB, free: 15.68 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.05664/1.154, allocations: 33.14 MB / 1.441 GB, free: 14.44 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01399/1.168, allocations: 306.3 kB / 1.441 GB, free: 14.14 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.009789/1.177, allocations: 2.956 MB / 1.444 GB, free: 11.16 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.01091/1.188, allocations: 2.508 MB / 1.447 GB, free: 8.645 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.008775/1.197, allocations: 2.597 MB / 1.449 GB, free: 6.055 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.01537/1.213, allocations: 10.79 MB / 1.46 GB, free: 11.25 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006632/1.219, allocations: 3.914 MB / 1.464 GB, free: 7.27 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006713/1.226, allocations: 3.319 MB / 1.467 GB, free: 3.938 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007212/1.233, allocations: 3.684 MB / 1.47 GB, free: 248 kB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.002591/1.236, allocations: 0.586 MB / 1.471 GB, free: 15.65 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005337/1.241, allocations: 1.432 MB / 1.472 GB, free: 14.22 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.003103/1.244, allocations: 1.904 MB / 1.474 GB, free: 12.31 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.007459/1.252, allocations: 3.704 MB / 1.478 GB, free: 8.59 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.01787/1.27, allocations: 11.95 MB / 1.49 GB, free: 12.6 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/1.27, allocations: 0 / 1.49 GB, free: 12.6 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.124e-06/1.27, allocations: 0 / 1.49 GB, free: 12.6 MB / 1.217 GB Notification: Performance of Transformations before backend: time 0.0004119/1.27, allocations: 0 / 1.49 GB, free: 12.6 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.02208/1.292, allocations: 9.06 MB / 1.498 GB, free: 3.344 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/1.292, allocations: 12.03 kB / 1.498 GB, free: 3.332 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003355/1.296, allocations: 0.9079 MB / 1.499 GB, free: 2.414 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01402/1.31, allocations: 7.262 MB / 1.506 GB, free: 11.06 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001773/1.31, allocations: 191.8 kB / 1.507 GB, free: 10.88 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005103/1.311, allocations: 252 kB / 1.507 GB, free: 10.63 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005422/1.316, allocations: 2.991 MB / 1.51 GB, free: 7.441 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.329e-05/1.316, allocations: 23.81 kB / 1.51 GB, free: 7.418 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002022/1.316, allocations: 84 kB / 1.51 GB, free: 7.336 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.393e-05/1.316, allocations: 82.03 kB / 1.51 GB, free: 7.254 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004883/1.321, allocations: 2.966 MB / 1.513 GB, free: 4.281 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.02828/1.35, allocations: 14.82 MB / 1.527 GB, free: 5.16 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005333/1.355, allocations: 2.329 MB / 1.53 GB, free: 2.82 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002379/1.357, allocations: 1.182 MB / 1.531 GB, free: 1.637 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001288/1.357, allocations: 50.61 kB / 1.531 GB, free: 1.582 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002829/1.36, allocations: 1.447 MB / 1.532 GB, free: 112 kB / 1.248 GB Notification: Performance of pre-optimization done (n=176): time 3.567e-06/1.36, allocations: 0 / 1.532 GB, free: 112 kB / 1.248 GB Notification: Performance of matching and sorting (n=176): time 0.0146/1.375, allocations: 4.928 MB / 1.537 GB, free: 11.11 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002418/1.375, allocations: 314.7 kB / 1.537 GB, free: 10.75 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01902/1.394, allocations: 9.761 MB / 1.547 GB, free: 1 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0008517/1.395, allocations: 105.7 kB / 1.547 GB, free: 0.8906 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.004491/1.4, allocations: 3.106 MB / 1.55 GB, free: 13.77 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009315/1.401, allocations: 0.5742 MB / 1.551 GB, free: 13.19 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00142/1.402, allocations: 0.7178 MB / 1.551 GB, free: 12.46 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001107/1.402, allocations: 309.1 kB / 1.552 GB, free: 12.16 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002721/1.405, allocations: 1.684 MB / 1.553 GB, free: 10.47 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003624/1.409, allocations: 2.648 MB / 1.556 GB, free: 7.5 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005186/1.414, allocations: 3.621 MB / 1.559 GB, free: 3.562 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.689e-05/1.414, allocations: 4 kB / 1.559 GB, free: 3.559 MB / 1.279 GB Notification: Performance of matching and sorting (n=416) (initialization): time 0.7866/2.2, allocations: 5.537 MB / 1.565 GB, free: 337.6 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 8.981e-05/2.201, allocations: 40.66 kB / 1.565 GB, free: 337.5 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-05/2.201, allocations: 21.75 kB / 1.565 GB, free: 337.5 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00288/2.204, allocations: 0.6489 MB / 1.565 GB, free: 337.5 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005852/2.209, allocations: 0.8949 MB / 1.566 GB, free: 337.5 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01528/2.225, allocations: 15.35 MB / 1.581 GB, free: 325.9 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005526/2.23, allocations: 443.6 kB / 1.582 GB, free: 325.9 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008327/2.231, allocations: 140.5 kB / 1.582 GB, free: 325.8 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00797/2.239, allocations: 4.007 MB / 1.586 GB, free: 324.2 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003234/2.242, allocations: 2.616 MB / 1.588 GB, free: 322.6 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00428/2.247, allocations: 3.575 MB / 1.592 GB, free: 320.4 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.173e-05/2.247, allocations: 10.38 kB / 1.592 GB, free: 320.4 MB / 1.279 GB Notification: Performance of matching and sorting (n=416) (initialization_lambda0): time 0.01102/2.258, allocations: 5.497 MB / 1.597 GB, free: 318.5 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 6.594e-05/2.258, allocations: 39.3 kB / 1.597 GB, free: 318.5 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.085e-05/2.258, allocations: 25.75 kB / 1.597 GB, free: 318.5 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002162/2.26, allocations: 0.6539 MB / 1.598 GB, free: 318.4 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002591/2.263, allocations: 0.645 MB / 1.598 GB, free: 318.3 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007184/2.27, allocations: 6.314 MB / 1.605 GB, free: 313.7 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005275/2.275, allocations: 361.5 kB / 1.605 GB, free: 313.5 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006698/2.276, allocations: 136.6 kB / 1.605 GB, free: 313.3 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.001113/2.277, allocations: 496.5 kB / 1.606 GB, free: 312.9 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002045/2.279, allocations: 0.6844 MB / 1.606 GB, free: 312.2 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003928/2.283, allocations: 1.694 MB / 1.608 GB, free: 310.5 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/2.283, allocations: 16 kB / 1.608 GB, free: 310.5 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.258e-05/2.283, allocations: 8 kB / 1.608 GB, free: 310.4 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.661e-05/2.283, allocations: 15.84 kB / 1.608 GB, free: 310.4 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01327/2.296, allocations: 7.518 MB / 1.615 GB, free: 302.9 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.015e-05/2.296, allocations: 0 / 1.615 GB, free: 302.9 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002892/2.299, allocations: 491.3 kB / 1.616 GB, free: 302.4 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0019/2.301, allocations: 0.5947 MB / 1.616 GB, free: 301.8 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002975/2.302, allocations: 60.17 kB / 1.616 GB, free: 301.7 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0119/2.314, allocations: 15.16 MB / 1.631 GB, free: 285.5 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/2.314, allocations: 3.938 kB / 1.631 GB, free: 285.5 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01092/2.324, allocations: 5.342 MB / 1.636 GB, free: 280.1 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003613/2.328, allocations: 1.362 MB / 1.638 GB, free: 278.7 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002016/2.33, allocations: 87.95 kB / 1.638 GB, free: 278.6 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003093/2.333, allocations: 147.8 kB / 1.638 GB, free: 278.5 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003604/2.334, allocations: 141.8 kB / 1.638 GB, free: 278.3 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001307/2.334, allocations: 67.95 kB / 1.638 GB, free: 278.3 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.01118/2.345, allocations: 6.833 MB / 1.645 GB, free: 271.5 MB / 1.279 GB Notification: Performance of sort global known variables: time 5.61e-07/2.345, allocations: 0 / 1.645 GB, free: 271.5 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.009516/2.355, allocations: 2.298 MB / 1.647 GB, free: 269.2 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.002322/2.357, allocations: 0.8969 MB / 1.648 GB, free: 268.6 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.0143/2.371, allocations: 7.126 MB / 1.655 GB, free: 261.4 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.094e-05/2.371, allocations: 448 / 1.655 GB, free: 261.4 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.005249/2.377, allocations: 2.181 MB / 1.657 GB, free: 259.2 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0103/2.387, allocations: 2.366 MB / 1.659 GB, free: 256.9 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0196/2.407, allocations: 12.65 MB / 1.672 GB, free: 244.3 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002958/2.41, allocations: 4.325 MB / 1.676 GB, free: 239.9 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001785/2.411, allocations: 395.4 kB / 1.676 GB, free: 239.5 MB / 1.279 GB Notification: Performance of SimCode: time 7.02e-07/2.411, allocations: 0 / 1.676 GB, free: 239.5 MB / 1.279 GB Notification: Performance of Templates: time 0.3754/2.787, allocations: 414.7 MB / 2.081 GB, free: 0.5586 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