Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.Detailed.Examples.FFD.NaturalConvectionWithControl.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.NaturalConvectionWithControl,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.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|conPID.u_s|conPID.u_m|conPID.y",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.Examples.FFD.NaturalConvectionWithControl") translateModel(Buildings.ThermalZones.Detailed.Examples.FFD.NaturalConvectionWithControl,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.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|conPID.u_s|conPID.u_m|conPID.y",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.Examples.FFD.NaturalConvectionWithControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001784/0.001784, allocations: 107.2 kB / 16.27 MB, free: 5.988 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.002015/0.002016, allocations: 192.3 kB / 17.2 MB, free: 5.613 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.373/1.373, 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 11.0.1-master/package.mo): time 2.6/2.6, allocations: 469.4 MB / 0.7427 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 60.47 kB / 0.9088 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3721/0.3737, allocations: 159.1 MB / 1.064 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.FFD.NaturalConvectionWithControl): time 0.9684/1.342, allocations: 205.9 MB / 1.265 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.06551/1.408, allocations: 33.38 MB / 1.298 GB, free: 9.68 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01743/1.425, allocations: 262.5 kB / 1.298 GB, free: 9.422 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.01031/1.436, allocations: 3.002 MB / 1.301 GB, free: 6.406 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01142/1.447, allocations: 2.546 MB / 1.304 GB, free: 3.852 MB / 1.014 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.NaturalConvectionWithControl.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.NaturalConvectionWithControl.roo.air.cfd.exchange' contains a call to impure function 'Buildings.ThermalZones.Detailed.BaseClasses.cfdExchangeData'. Notification: Performance of NFTyping.typeClassSections: time 0.009957/1.457, allocations: 2.742 MB / 1.306 GB, free: 1.125 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.02082/1.478, allocations: 10.99 MB / 1.317 GB, free: 6.125 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01269/1.491, allocations: 4.056 MB / 1.321 GB, free: 2 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01102/1.502, allocations: 3.295 MB / 1.324 GB, free: 14.69 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01052/1.512, allocations: 3.787 MB / 1.328 GB, free: 10.89 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.004225/1.517, allocations: 0.6172 MB / 1.328 GB, free: 10.27 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006747/1.523, allocations: 1.428 MB / 1.33 GB, free: 8.844 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.004525/1.528, allocations: 1.951 MB / 1.332 GB, free: 6.887 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.01029/1.538, allocations: 3.816 MB / 1.335 GB, free: 3.051 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.02099/1.559, allocations: 11.45 MB / 1.347 GB, free: 7.562 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 1.066e-05/1.559, allocations: 3.938 kB / 1.347 GB, free: 7.559 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.595e-06/1.559, allocations: 0 / 1.347 GB, free: 7.559 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.000518/1.56, allocations: 0 / 1.347 GB, free: 7.559 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 555 * Number of variables: 555 Notification: Performance of Generate backend data structure: time 0.03028/1.59, allocations: 9.081 MB / 1.356 GB, free: 14.28 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.639e-05/1.59, allocations: 12.62 kB / 1.356 GB, free: 14.27 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005165/1.595, allocations: 0.9157 MB / 1.356 GB, free: 13.34 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01881/1.614, allocations: 7.053 MB / 1.363 GB, free: 6.195 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009117/1.615, allocations: 289.4 kB / 1.364 GB, free: 5.906 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001314/1.617, allocations: 272 kB / 1.364 GB, free: 5.641 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00863/1.625, allocations: 3.128 MB / 1.367 GB, free: 2.281 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.727e-05/1.625, allocations: 15.78 kB / 1.367 GB, free: 2.266 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000548/1.626, allocations: 95.98 kB / 1.367 GB, free: 2.172 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001197/1.626, allocations: 86.3 kB / 1.367 GB, free: 2.086 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006567/1.633, allocations: 3.065 MB / 1.37 GB, free: 15.02 MB / 1.092 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.0348/1.667, allocations: 15.57 MB / 1.385 GB, free: 15.12 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005997/1.674, allocations: 2.462 MB / 1.388 GB, free: 12.65 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002683/1.676, allocations: 1.24 MB / 1.389 GB, free: 11.4 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001526/1.676, allocations: 41.61 kB / 1.389 GB, free: 11.36 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003277/1.68, allocations: 1.514 MB / 1.39 GB, free: 9.82 MB / 1.107 GB Notification: Performance of pre-optimization done (n=187): time 7.815e-06/1.68, allocations: 3.938 kB / 1.39 GB, free: 9.816 MB / 1.107 GB Notification: Performance of matching and sorting (n=187): time 0.01441/1.694, allocations: 5.041 MB / 1.395 GB, free: 4.715 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002186/1.694, allocations: 326.5 kB / 1.396 GB, free: 4.336 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02661/1.721, allocations: 9.993 MB / 1.405 GB, free: 10.36 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.000992/1.722, allocations: 109.7 kB / 1.406 GB, free: 10.25 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.006198/1.728, allocations: 3.216 MB / 1.409 GB, free: 7.023 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.001266/1.73, allocations: 0.6088 MB / 1.409 GB, free: 6.406 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00321/1.733, allocations: 0.7377 MB / 1.41 GB, free: 5.66 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001027/1.733, allocations: 301.1 kB / 1.41 GB, free: 5.363 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003564/1.737, allocations: 1.719 MB / 1.412 GB, free: 3.637 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004549/1.741, allocations: 2.687 MB / 1.415 GB, free: 0.6289 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006405/1.748, allocations: 3.71 MB / 1.418 GB, free: 12.61 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.28e-05/1.748, allocations: 4 kB / 1.418 GB, free: 12.6 MB / 1.139 GB Notification: Performance of matching and sorting (n=429) (initialization): time 0.01488/1.762, allocations: 5.643 MB / 1.424 GB, free: 6.93 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 8.65e-05/1.763, allocations: 43.58 kB / 1.424 GB, free: 6.883 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.482e-05/1.763, allocations: 20 kB / 1.424 GB, free: 6.863 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002478/1.765, allocations: 0.6583 MB / 1.424 GB, free: 6.199 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005555/1.771, allocations: 0.9086 MB / 1.425 GB, free: 5.289 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01756/1.788, allocations: 15.34 MB / 1.44 GB, free: 4.824 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0063/1.795, allocations: 464 kB / 1.441 GB, free: 4.367 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001026/1.796, allocations: 144 kB / 1.441 GB, free: 4.227 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008975/1.805, allocations: 4.045 MB / 1.445 GB, free: 180 kB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004519/1.809, allocations: 2.662 MB / 1.447 GB, free: 13.2 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005683/1.815, allocations: 3.67 MB / 1.451 GB, free: 9.215 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.072e-05/1.815, allocations: 8 kB / 1.451 GB, free: 9.207 MB / 1.17 GB Notification: Performance of matching and sorting (n=429) (initialization_lambda0): time 0.01201/1.827, allocations: 5.597 MB / 1.457 GB, free: 3.578 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 7.802e-05/1.827, allocations: 45.69 kB / 1.457 GB, free: 3.527 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.844e-05/1.827, allocations: 24.16 kB / 1.457 GB, free: 3.504 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002277/1.83, allocations: 0.6575 MB / 1.457 GB, free: 2.84 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002977/1.832, allocations: 0.6669 MB / 1.458 GB, free: 2.172 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008444/1.841, allocations: 6.31 MB / 1.464 GB, free: 11.57 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005567/1.847, allocations: 377.3 kB / 1.464 GB, free: 11.2 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009199/1.848, allocations: 140 kB / 1.465 GB, free: 11.06 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 81 (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[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[7],$PRE.roo.air.cfd.uWri[7],roo.air.cfd.y[8],$PRE.roo.air.cfd.y[8],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],conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (416): * Single equations (assignments): 407 * 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.001603/1.849, allocations: 489.1 kB / 1.465 GB, free: 10.57 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002716/1.852, allocations: 0.6941 MB / 1.466 GB, free: 9.867 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005481/1.857, allocations: 1.733 MB / 1.467 GB, free: 8.117 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.019e-05/1.857, allocations: 20 kB / 1.467 GB, free: 8.098 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.799e-05/1.857, allocations: 11.98 kB / 1.467 GB, free: 8.086 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.678e-05/1.857, allocations: 7.969 kB / 1.467 GB, free: 8.078 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02195/1.879, allocations: 7.777 MB / 1.475 GB, free: 228 kB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.078e-05/1.879, allocations: 4 kB / 1.475 GB, free: 224 kB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003271/1.883, allocations: 0.4992 MB / 1.475 GB, free: 15.72 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002181/1.885, allocations: 0.599 MB / 1.476 GB, free: 15.11 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000431/1.885, allocations: 67.89 kB / 1.476 GB, free: 15.05 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01566/1.901, allocations: 15.17 MB / 1.491 GB, free: 14.76 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/1.901, allocations: 4 kB / 1.491 GB, free: 14.76 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01345/1.915, allocations: 5.49 MB / 1.496 GB, free: 9.227 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004289/1.919, allocations: 1.413 MB / 1.498 GB, free: 7.785 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002515/1.921, allocations: 91.95 kB / 1.498 GB, free: 7.695 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004403/1.926, allocations: 150 kB / 1.498 GB, free: 7.551 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005335/1.926, allocations: 133.8 kB / 1.498 GB, free: 7.422 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002654/1.927, allocations: 67.95 kB / 1.498 GB, free: 7.355 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.01705/1.944, allocations: 6.99 MB / 1.505 GB, free: 404 kB / 1.217 GB Notification: Performance of sort global known variables: time 7.32e-07/1.944, allocations: 4 kB / 1.505 GB, free: 400 kB / 1.217 GB Notification: Performance of remove unused functions: time 0.0128/1.957, allocations: 2.36 MB / 1.507 GB, free: 14.03 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (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,conPID.I.y) * 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: 34 (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.u[7],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 (176): * Single equations (assignments): 143 * 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.002996/1.96, allocations: 0.9126 MB / 1.508 GB, free: 13.31 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.02053/1.98, allocations: 7.962 MB / 1.516 GB, free: 5.281 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.171e-05/1.98, allocations: 4 kB / 1.516 GB, free: 5.277 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.006699/1.987, allocations: 2.231 MB / 1.518 GB, free: 3.008 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01463/2.002, allocations: 2.413 MB / 1.52 GB, free: 0.6914 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03438/2.036, allocations: 13.13 MB / 1.533 GB, free: 3.543 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007634/2.044, allocations: 4.389 MB / 1.538 GB, free: 15.13 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002213/2.046, allocations: 415.4 kB / 1.538 GB, free: 14.72 MB / 1.264 GB Notification: Performance of SimCode: time 1.382e-06/2.046, allocations: 0 / 1.538 GB, free: 14.72 MB / 1.264 GB Notification: Performance of Templates: time 1.013/3.059, allocations: 421.6 MB / 1.95 GB, free: 59.63 MB / 1.264 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.Examples.FFD.NaturalConvectionWithControl.makefile make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.Examples.FFD.NaturalConvectionWithControl.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.NaturalConvectionWithControlCalcHelperMain.o OMCppBuildings_latest_Buildings.ThermalZones.Detailed.Examples.FFD.NaturalConvectionWithControlCalcHelperMain.cpp In file included from OMCppBuildings_latest_Buildings.ThermalZones.Detailed.Examples.FFD.NaturalConvectionWithControlCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_latest_Buildings.ThermalZones.Detailed.Examples.FFD.NaturalConvectionWithControlFunctions.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.NaturalConvectionWithControlCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_latest_Buildings.ThermalZones.Detailed.Examples.FFD.NaturalConvectionWithControlFunctions.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.NaturalConvectionWithControlCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_latest_Buildings.ThermalZones.Detailed.Examples.FFD.NaturalConvectionWithControlFunctions.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.NaturalConvectionWithControlCalcHelperMain.o] Error 1