Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001407/0.001407, allocations: 102.7 kB / 16.27 MB, free: 6.414 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.001469/0.001469, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.39/1.39, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.376/2.376, allocations: 390.3 MB / 0.6653 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.001371, allocations: 67.14 kB / 0.8132 GB, free: 32.95 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3314, allocations: 140.4 MB / 0.9503 GB, free: 8.883 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvection): time 0.8727/1.204, allocations: 201.7 MB / 1.147 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.06227/1.267, allocations: 32.46 MB / 1.179 GB, free: 8.312 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01981/1.286, allocations: 253.2 kB / 1.179 GB, free: 8.223 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.01072/1.297, allocations: 2.953 MB / 1.182 GB, free: 6.984 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.01182/1.309, allocations: 2.456 MB / 1.185 GB, free: 5.887 MB / 0.8731 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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 9.1.3-maint.9.1.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.009331/1.318, allocations: 2.585 MB / 1.187 GB, free: 4.656 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01877/1.337, allocations: 10.65 MB / 1.197 GB, free: 14.54 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007956/1.345, allocations: 3.939 MB / 1.201 GB, free: 12.38 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00701/1.352, allocations: 3.193 MB / 1.204 GB, free: 10.59 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007687/1.36, allocations: 3.701 MB / 1.208 GB, free: 8.293 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.002998/1.363, allocations: 0.5985 MB / 1.209 GB, free: 8.293 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006528/1.37, allocations: 1.405 MB / 1.21 GB, free: 7.91 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.004006/1.374, allocations: 1.912 MB / 1.212 GB, free: 6.523 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.009192/1.383, allocations: 3.695 MB / 1.215 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0188/1.402, allocations: 11.21 MB / 1.226 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 9.749e-06/1.402, allocations: 2.344 kB / 1.226 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.845e-06/1.402, allocations: 0 / 1.226 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0004714/1.402, allocations: 4 kB / 1.226 GB, free: 12.28 MB / 0.9044 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.02772/1.43, allocations: 8.851 MB / 1.235 GB, free: 5.434 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/1.43, allocations: 8.031 kB / 1.235 GB, free: 5.426 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004819/1.435, allocations: 0.9002 MB / 1.236 GB, free: 4.516 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0168/1.452, allocations: 6.921 MB / 1.243 GB, free: 13.68 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008567/1.453, allocations: 281.1 kB / 1.243 GB, free: 13.4 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001266/1.454, allocations: 261.9 kB / 1.243 GB, free: 13.15 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007851/1.462, allocations: 2.984 MB / 1.246 GB, free: 9.973 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.699e-05/1.462, allocations: 7.938 kB / 1.246 GB, free: 9.965 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005519/1.462, allocations: 94.09 kB / 1.246 GB, free: 9.875 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001129/1.462, allocations: 78.05 kB / 1.246 GB, free: 9.797 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006322/1.469, allocations: 2.97 MB / 1.249 GB, free: 6.816 MB / 0.92 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.03282/1.502, allocations: 14.76 MB / 1.264 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005636/1.507, allocations: 2.327 MB / 1.266 GB, free: 5.543 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0026/1.51, allocations: 1.178 MB / 1.267 GB, free: 4.355 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001702/1.51, allocations: 40.97 kB / 1.267 GB, free: 4.324 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003164/1.513, allocations: 1.447 MB / 1.268 GB, free: 2.848 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=176): time 5.561e-06/1.513, allocations: 3.938 kB / 1.268 GB, free: 2.844 MB / 0.9356 GB Notification: Performance of matching and sorting (n=176): time 0.01568/1.529, allocations: 4.921 MB / 1.273 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002163/1.529, allocations: 316.9 kB / 1.274 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0247/1.554, allocations: 9.874 MB / 1.283 GB, free: 3.637 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0009766/1.555, allocations: 105.7 kB / 1.283 GB, free: 3.527 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.006974/1.562, allocations: 3.102 MB / 1.286 GB, free: 440 kB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.001397/1.564, allocations: 0.5751 MB / 1.287 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003876/1.567, allocations: 0.7178 MB / 1.288 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001285/1.568, allocations: 313 kB / 1.288 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003934/1.572, allocations: 1.687 MB / 1.29 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004663/1.576, allocations: 2.636 MB / 1.292 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00633/1.583, allocations: 3.624 MB / 1.296 GB, free: 6.23 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.683e-05/1.583, allocations: 8 kB / 1.296 GB, free: 6.223 MB / 0.9669 GB Notification: Performance of matching and sorting (n=416) (initialization): time 0.01399/1.597, allocations: 5.54 MB / 1.301 GB, free: 0.6562 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 7.719e-05/1.597, allocations: 37.7 kB / 1.301 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.375e-05/1.597, allocations: 20 kB / 1.301 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002351/1.599, allocations: 0.6615 MB / 1.302 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005103/1.604, allocations: 0.8891 MB / 1.303 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01671/1.621, allocations: 15.34 MB / 1.318 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006185/1.627, allocations: 448.1 kB / 1.318 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001037/1.628, allocations: 144 kB / 1.318 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008911/1.637, allocations: 3.996 MB / 1.322 GB, free: 9.988 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004534/1.642, allocations: 2.621 MB / 1.325 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005863/1.648, allocations: 3.578 MB / 1.328 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.962e-05/1.648, allocations: 8 kB / 1.328 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of matching and sorting (n=416) (initialization_lambda0): time 0.01342/1.661, allocations: 5.494 MB / 1.334 GB, free: 13.63 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.969e-05/1.661, allocations: 45.73 kB / 1.334 GB, free: 13.58 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.333e-05/1.661, allocations: 20 kB / 1.334 GB, free: 13.56 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002242/1.664, allocations: 0.6417 MB / 1.334 GB, free: 12.91 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003454/1.667, allocations: 0.6513 MB / 1.335 GB, free: 12.26 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009989/1.677, allocations: 6.306 MB / 1.341 GB, free: 5.668 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006708/1.684, allocations: 372 kB / 1.341 GB, free: 5.305 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001001/1.685, allocations: 140 kB / 1.342 GB, free: 5.168 MB / 1.014 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.001826/1.687, allocations: 492.5 kB / 1.342 GB, free: 4.676 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002977/1.69, allocations: 0.6786 MB / 1.343 GB, free: 3.988 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005687/1.695, allocations: 1.712 MB / 1.344 GB, free: 2.262 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.273e-05/1.695, allocations: 23.98 kB / 1.344 GB, free: 2.238 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.574e-05/1.695, allocations: 4.109 kB / 1.344 GB, free: 2.234 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.782e-05/1.695, allocations: 15.91 kB / 1.344 GB, free: 2.219 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02167/1.717, allocations: 7.548 MB / 1.352 GB, free: 10.63 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-05/1.717, allocations: 3.984 kB / 1.352 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003062/1.72, allocations: 495.3 kB / 1.352 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002171/1.722, allocations: 0.5909 MB / 1.353 GB, free: 9.543 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003867/1.723, allocations: 55.95 kB / 1.353 GB, free: 9.488 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01583/1.739, allocations: 15.16 MB / 1.368 GB, free: 9.219 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/1.739, allocations: 3.938 kB / 1.368 GB, free: 9.215 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01345/1.752, allocations: 5.332 MB / 1.373 GB, free: 3.844 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005068/1.757, allocations: 1.386 MB / 1.374 GB, free: 2.43 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003126/1.761, allocations: 91.89 kB / 1.374 GB, free: 2.34 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004664/1.765, allocations: 147.8 kB / 1.374 GB, free: 2.195 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006091/1.766, allocations: 129.8 kB / 1.375 GB, free: 2.07 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003408/1.766, allocations: 67.95 kB / 1.375 GB, free: 2.004 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0183/1.785, allocations: 6.908 MB / 1.381 GB, free: 11.12 MB / 1.061 GB Notification: Performance of sort global known variables: time 3.31e-07/1.785, allocations: 0 / 1.381 GB, free: 11.12 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.01393/1.798, allocations: 2.286 MB / 1.384 GB, free: 8.832 MB / 1.061 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.003178/1.802, allocations: 0.9056 MB / 1.385 GB, free: 8.156 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.01972/1.821, allocations: 7.776 MB / 1.392 GB, free: 324 kB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/1.822, allocations: 0 / 1.392 GB, free: 324 kB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.006444/1.828, allocations: 2.158 MB / 1.394 GB, free: 14.12 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0151/1.843, allocations: 2.345 MB / 1.396 GB, free: 11.88 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03183/1.875, allocations: 12.91 MB / 1.409 GB, free: 14.95 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008439/1.883, allocations: 4.336 MB / 1.413 GB, free: 10.58 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002407/1.886, allocations: 399.4 kB / 1.414 GB, free: 10.19 MB / 1.092 GB Notification: Performance of SimCode: time 1.313e-06/1.886, allocations: 0 / 1.414 GB, free: 10.19 MB / 1.092 GB Notification: Performance of Templates: time 0.9518/2.838, allocations: 413.4 MB / 1.817 GB, free: 203.3 MB / 1.201 GB make -j1 -f Buildings_9_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvection.makefile make -j1 -f Buildings_9_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 9.1.3-maint.9.1.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 9.1.3-maint.9.1.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_9_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvectionCalcHelperMain.o OMCppBuildings_9_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvectionCalcHelperMain.cpp In file included from OMCppBuildings_9_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvectionCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_9_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvectionFunctions.cpp:8: In file included from /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/Resources/C-Sources/cfdcosim.c:24: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/Resources/C-Sources/cfdCosimulation.h:35:19: error: redefinition of 'cosim' CosimulationData *cosim; ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/Resources/C-Sources/cfdSendStopCommand.c:16:10: note: '/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/Resources/C-Sources/cfdCosimulation.h' included multiple times, additional include site here #include "cfdCosimulation.h" ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/Resources/C-Sources/cfdcosim.c:24:10: note: '/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/Resources/C-Sources/cfdCosimulation.h' included multiple times, additional include site here #include "cfdCosimulation.h" ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvectionCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_9_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvectionFunctions.cpp:9: In file included from /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/Resources/C-Sources/cfdStartCosimulation.c:19: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/Resources/C-Sources/cfdCosimulation.h:35:19: error: redefinition of 'cosim' CosimulationData *cosim; ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/Resources/C-Sources/cfdSendStopCommand.c:16:10: note: '/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/Resources/C-Sources/cfdCosimulation.h' included multiple times, additional include site here #include "cfdCosimulation.h" ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/Resources/C-Sources/cfdStartCosimulation.c:19:10: note: '/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/Resources/C-Sources/cfdCosimulation.h' included multiple times, additional include site here #include "cfdCosimulation.h" ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvectionCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_9_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvectionFunctions.cpp:10: In file included from /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/Resources/C-Sources/cfdExchangeData.c:14: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/Resources/C-Sources/cfdCosimulation.h:35:19: error: redefinition of 'cosim' CosimulationData *cosim; ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/Resources/C-Sources/cfdSendStopCommand.c:16:10: note: '/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/Resources/C-Sources/cfdCosimulation.h' included multiple times, additional include site here #include "cfdCosimulation.h" ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/Resources/C-Sources/cfdExchangeData.c:14:10: note: '/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/Resources/C-Sources/cfdCosimulation.h' included multiple times, additional include site here #include "cfdCosimulation.h" ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvectionCalcHelperMain.o] Error 1