Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001676/0.001676, allocations: 105.4 kB / 16.27 MB, free: 5.957 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.001918/0.001918, allocations: 190.3 kB / 17.2 MB, free: 5.59 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.356/1.356, allocations: 222.9 MB / 240.9 MB, free: 15.2 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.219/2.219, allocations: 390.3 MB / 0.6653 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 65.33 kB / 0.8132 GB, free: 33.02 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.298/0.2993, allocations: 140.4 MB / 0.9503 GB, free: 8.863 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.FFD.NaturalConvectionWithControl): time 0.8405/1.14, allocations: 202.5 MB / 1.148 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0678/1.208, allocations: 32.72 MB / 1.18 GB, free: 7.832 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02028/1.228, allocations: 263.1 kB / 1.18 GB, free: 7.738 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.01089/1.239, allocations: 2.99 MB / 1.183 GB, free: 6.473 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.01209/1.251, allocations: 2.501 MB / 1.186 GB, free: 5.336 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.NaturalConvectionWithControl.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.NaturalConvectionWithControl.roo.air.cfd.exchange' contains a call to impure function 'Buildings.ThermalZones.Detailed.BaseClasses.cfdExchangeData'. Notification: Performance of NFTyping.typeClassSections: time 0.00988/1.261, allocations: 2.712 MB / 1.188 GB, free: 3.914 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01697/1.278, allocations: 10.91 MB / 1.199 GB, free: 13.61 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007174/1.285, allocations: 4.082 MB / 1.203 GB, free: 11.36 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006914/1.292, allocations: 3.271 MB / 1.206 GB, free: 9.527 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007275/1.299, allocations: 3.787 MB / 1.21 GB, free: 7.156 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.002884/1.302, allocations: 0.6178 MB / 1.21 GB, free: 7.156 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006276/1.309, allocations: 1.421 MB / 1.212 GB, free: 6.777 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.003618/1.312, allocations: 1.96 MB / 1.214 GB, free: 5.348 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.008449/1.321, allocations: 3.792 MB / 1.217 GB, free: 2.551 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01857/1.339, allocations: 11.43 MB / 1.229 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/1.339, allocations: 2.5 kB / 1.229 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.794e-06/1.339, allocations: 0 / 1.229 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0005067/1.34, allocations: 4 kB / 1.229 GB, free: 10.86 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: 555 * Number of variables: 555 Notification: Performance of Generate backend data structure: time 0.02589/1.366, allocations: 9.072 MB / 1.237 GB, free: 3.191 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/1.366, allocations: 12.03 kB / 1.237 GB, free: 3.18 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003794/1.37, allocations: 0.9195 MB / 1.238 GB, free: 2.25 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01467/1.384, allocations: 7.043 MB / 1.245 GB, free: 11.29 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000778/1.385, allocations: 292.1 kB / 1.246 GB, free: 11 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008787/1.386, allocations: 268 kB / 1.246 GB, free: 10.74 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005806/1.392, allocations: 3.133 MB / 1.249 GB, free: 7.387 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.357e-05/1.392, allocations: 7.938 kB / 1.249 GB, free: 7.379 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002202/1.392, allocations: 98.02 kB / 1.249 GB, free: 7.285 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001007/1.392, allocations: 86.3 kB / 1.249 GB, free: 7.199 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005572/1.398, allocations: 3.065 MB / 1.252 GB, free: 4.125 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.03042/1.428, allocations: 15.36 MB / 1.267 GB, free: 4.578 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005336/1.434, allocations: 2.467 MB / 1.269 GB, free: 2.094 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00241/1.436, allocations: 1.238 MB / 1.271 GB, free: 0.8477 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000107/1.436, allocations: 40.83 kB / 1.271 GB, free: 0.8125 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002863/1.439, allocations: 1.506 MB / 1.272 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=187): time 3.878e-06/1.439, allocations: 0 / 1.272 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of matching and sorting (n=187): time 0.01371/1.453, allocations: 5.04 MB / 1.277 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002102/1.453, allocations: 328.8 kB / 1.277 GB, free: 9.805 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01864/1.472, allocations: 9.997 MB / 1.287 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.000888/1.473, allocations: 113.7 kB / 1.287 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.004188/1.477, allocations: 3.209 MB / 1.29 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.000916/1.478, allocations: 0.6152 MB / 1.291 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001203/1.479, allocations: 0.7338 MB / 1.292 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001031/1.479, allocations: 301.1 kB / 1.292 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00281/1.482, allocations: 1.727 MB / 1.294 GB, free: 9.125 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003615/1.486, allocations: 2.693 MB / 1.296 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005397/1.491, allocations: 3.698 MB / 1.3 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-05/1.491, allocations: 4 kB / 1.3 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of matching and sorting (n=429) (initialization): time 0.01205/1.503, allocations: 5.651 MB / 1.305 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.944e-05/1.503, allocations: 41.7 kB / 1.305 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.121e-05/1.503, allocations: 20 kB / 1.305 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002235/1.506, allocations: 0.6459 MB / 1.306 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004884/1.51, allocations: 0.9128 MB / 1.307 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01676/1.527, allocations: 15.35 MB / 1.322 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005358/1.533, allocations: 448 kB / 1.322 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007752/1.533, allocations: 148 kB / 1.323 GB, free: 9.727 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007865/1.541, allocations: 4.047 MB / 1.327 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004204/1.546, allocations: 2.662 MB / 1.329 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005714/1.551, allocations: 3.667 MB / 1.333 GB, free: 14.71 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.288e-05/1.551, allocations: 8 kB / 1.333 GB, free: 14.71 MB / 1.014 GB Notification: Performance of matching and sorting (n=429) (initialization_lambda0): time 0.01223/1.564, allocations: 5.601 MB / 1.338 GB, free: 9.078 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.208e-05/1.564, allocations: 45.69 kB / 1.338 GB, free: 9.027 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.589e-05/1.564, allocations: 20 kB / 1.338 GB, free: 9.008 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002234/1.566, allocations: 0.6465 MB / 1.339 GB, free: 8.355 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002772/1.569, allocations: 0.6669 MB / 1.34 GB, free: 7.688 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008391/1.577, allocations: 6.322 MB / 1.346 GB, free: 1.082 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004888/1.582, allocations: 369.6 kB / 1.346 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007037/1.583, allocations: 144 kB / 1.346 GB, free: 0.5781 MB / 1.014 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.001274/1.584, allocations: 488.9 kB / 1.347 GB, free: 88 kB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002273/1.586, allocations: 0.7057 MB / 1.347 GB, free: 15.37 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004846/1.591, allocations: 1.729 MB / 1.349 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.949e-05/1.591, allocations: 20 kB / 1.349 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.876e-05/1.591, allocations: 4 kB / 1.349 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.637e-05/1.591, allocations: 11.95 kB / 1.349 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02042/1.612, allocations: 7.789 MB / 1.357 GB, free: 5.762 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.527e-05/1.612, allocations: 0 / 1.357 GB, free: 5.762 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003148/1.615, allocations: 0.4915 MB / 1.357 GB, free: 5.27 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002127/1.617, allocations: 0.6026 MB / 1.358 GB, free: 4.66 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000343/1.617, allocations: 63.89 kB / 1.358 GB, free: 4.598 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0161/1.634, allocations: 15.17 MB / 1.373 GB, free: 4.32 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/1.634, allocations: 3.938 kB / 1.373 GB, free: 4.316 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01303/1.647, allocations: 5.497 MB / 1.378 GB, free: 14.79 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004594/1.651, allocations: 1.409 MB / 1.379 GB, free: 13.35 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002553/1.654, allocations: 91.95 kB / 1.379 GB, free: 13.26 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003954/1.658, allocations: 150.2 kB / 1.38 GB, free: 13.11 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005144/1.658, allocations: 141.8 kB / 1.38 GB, free: 12.98 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002671/1.659, allocations: 67.95 kB / 1.38 GB, free: 12.91 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.01694/1.676, allocations: 6.99 MB / 1.387 GB, free: 5.949 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.292e-06/1.676, allocations: 0 / 1.387 GB, free: 5.949 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.01269/1.688, allocations: 2.333 MB / 1.389 GB, free: 3.613 MB / 1.061 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.002796/1.691, allocations: 0.9045 MB / 1.39 GB, free: 2.938 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.02017/1.711, allocations: 7.977 MB / 1.398 GB, free: 10.89 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.405e-05/1.711, allocations: 8.125 kB / 1.398 GB, free: 10.89 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.006781/1.718, allocations: 2.211 MB / 1.4 GB, free: 8.645 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01471/1.733, allocations: 2.396 MB / 1.402 GB, free: 6.344 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03166/1.765, allocations: 13.24 MB / 1.415 GB, free: 9.09 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006863/1.772, allocations: 4.393 MB / 1.419 GB, free: 4.668 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002393/1.774, allocations: 411.4 kB / 1.42 GB, free: 4.266 MB / 1.092 GB Notification: Performance of SimCode: time 1.392e-06/1.774, allocations: 0 / 1.42 GB, free: 4.266 MB / 1.092 GB Notification: Performance of Templates: time 0.9122/2.686, allocations: 421.4 MB / 1.831 GB, free: 186.3 MB / 1.201 GB make -j1 -f Buildings_9_Buildings.ThermalZones.Detailed.Examples.FFD.NaturalConvectionWithControl.makefile make -j1 -f Buildings_9_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 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.NaturalConvectionWithControlCalcHelperMain.o OMCppBuildings_9_Buildings.ThermalZones.Detailed.Examples.FFD.NaturalConvectionWithControlCalcHelperMain.cpp In file included from OMCppBuildings_9_Buildings.ThermalZones.Detailed.Examples.FFD.NaturalConvectionWithControlCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_9_Buildings.ThermalZones.Detailed.Examples.FFD.NaturalConvectionWithControlFunctions.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.NaturalConvectionWithControlCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_9_Buildings.ThermalZones.Detailed.Examples.FFD.NaturalConvectionWithControlFunctions.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.NaturalConvectionWithControlCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_9_Buildings.ThermalZones.Detailed.Examples.FFD.NaturalConvectionWithControlFunctions.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.NaturalConvectionWithControlCalcHelperMain.o] Error 1