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.001426/0.001426, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001422/0.001422, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.331/1.331, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.552/2.552, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001588/0.001588, allocations: 59.91 kB / 1.055 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9802/0.9818, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.FFD.NaturalConvectionWithControl): time 0.2446/1.226, allocations: 205.9 MB / 1.41 GB, free: 14.88 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.06236/1.289, allocations: 33.4 MB / 1.442 GB, free: 13.37 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01642/1.305, allocations: 318.2 kB / 1.442 GB, free: 13.05 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.01038/1.316, allocations: 3 MB / 1.445 GB, free: 10.04 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.01286/1.329, allocations: 2.55 MB / 1.448 GB, free: 7.477 MB / 1.17 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/ThermalZones/Detailed/BaseClasses/CFDExchange.mo:64:3-114:21:writable] Warning: Pure function 'Buildings.ThermalZones.Detailed.Examples.FFD.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.01183/1.341, allocations: 2.73 MB / 1.451 GB, free: 4.754 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.01528/1.356, allocations: 11.04 MB / 1.461 GB, free: 9.695 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007772/1.364, allocations: 4.056 MB / 1.465 GB, free: 5.574 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006523/1.37, allocations: 3.412 MB / 1.469 GB, free: 2.148 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006563/1.377, allocations: 3.776 MB / 1.472 GB, free: 14.36 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.002488/1.379, allocations: 0.6055 MB / 1.473 GB, free: 13.75 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004944/1.384, allocations: 1.456 MB / 1.474 GB, free: 12.3 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.003342/1.388, allocations: 1.943 MB / 1.476 GB, free: 10.35 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.007459/1.395, allocations: 3.793 MB / 1.48 GB, free: 6.539 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.01792/1.413, allocations: 12.17 MB / 1.492 GB, free: 10.34 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/1.413, allocations: 3.938 kB / 1.492 GB, free: 10.33 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.876e-06/1.413, allocations: 4 kB / 1.492 GB, free: 10.33 MB / 1.217 GB Notification: Performance of Transformations before backend: time 0.0004243/1.414, allocations: 0 / 1.492 GB, free: 10.33 MB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 555 * Number of variables: 555 Notification: Performance of Generate backend data structure: time 0.02314/1.437, allocations: 9.305 MB / 1.501 GB, free: 0.8281 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/1.437, allocations: 8.031 kB / 1.501 GB, free: 0.8203 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004171/1.441, allocations: 0.9233 MB / 1.502 GB, free: 15.89 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02052/1.462, allocations: 7.4 MB / 1.509 GB, free: 8.395 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003209/1.462, allocations: 196.2 kB / 1.509 GB, free: 8.199 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001385/1.463, allocations: 271.9 kB / 1.509 GB, free: 7.934 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01042/1.474, allocations: 3.14 MB / 1.513 GB, free: 4.562 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001487/1.474, allocations: 7.938 kB / 1.513 GB, free: 4.555 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008415/1.475, allocations: 95.92 kB / 1.513 GB, free: 4.461 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001564/1.475, allocations: 86.3 kB / 1.513 GB, free: 4.375 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007406/1.482, allocations: 3.072 MB / 1.516 GB, free: 1.297 MB / 1.232 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03253/1.515, allocations: 15.4 MB / 1.531 GB, free: 1.574 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005471/1.52, allocations: 2.472 MB / 1.533 GB, free: 15.08 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002442/1.523, allocations: 1.24 MB / 1.534 GB, free: 13.84 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001553/1.523, allocations: 41.61 kB / 1.534 GB, free: 13.79 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003075/1.526, allocations: 1.51 MB / 1.536 GB, free: 12.26 MB / 1.264 GB Notification: Performance of pre-optimization done (n=187): time 6.031e-06/1.526, allocations: 0 / 1.536 GB, free: 12.26 MB / 1.264 GB Notification: Performance of matching and sorting (n=187): time 0.01411/1.54, allocations: 5.056 MB / 1.541 GB, free: 7.137 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002431/1.541, allocations: 326.6 kB / 1.541 GB, free: 6.758 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02464/1.565, allocations: 9.887 MB / 1.551 GB, free: 12.89 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.000907/1.566, allocations: 105.7 kB / 1.551 GB, free: 12.79 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.005381/1.572, allocations: 3.2 MB / 1.554 GB, free: 9.57 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.001088/1.573, allocations: 0.6166 MB / 1.555 GB, free: 8.945 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002846/1.576, allocations: 0.7299 MB / 1.555 GB, free: 8.207 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001121/1.576, allocations: 305.1 kB / 1.556 GB, free: 7.906 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003405/1.579, allocations: 1.723 MB / 1.557 GB, free: 6.176 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00429/1.583, allocations: 2.685 MB / 1.56 GB, free: 3.168 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.9623/2.546, allocations: 3.701 MB / 1.564 GB, free: 336.6 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.317e-05/2.546, allocations: 10.25 kB / 1.564 GB, free: 336.6 MB / 1.279 GB Notification: Performance of matching and sorting (n=429) (initialization): time 0.01598/2.562, allocations: 5.644 MB / 1.569 GB, free: 336.2 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 7.744e-05/2.562, allocations: 42.14 kB / 1.569 GB, free: 336.2 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6e-05/2.562, allocations: 22.31 kB / 1.569 GB, free: 336.2 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002498/2.565, allocations: 0.6477 MB / 1.57 GB, free: 336.1 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00551/2.57, allocations: 0.9126 MB / 1.571 GB, free: 336 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0165/2.587, allocations: 15.34 MB / 1.586 GB, free: 323.2 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006223/2.593, allocations: 457.5 kB / 1.586 GB, free: 323.2 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001044/2.594, allocations: 146.3 kB / 1.586 GB, free: 323.1 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008874/2.603, allocations: 4.051 MB / 1.59 GB, free: 321.5 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005146/2.608, allocations: 2.659 MB / 1.593 GB, free: 319.8 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006819/2.615, allocations: 3.664 MB / 1.596 GB, free: 317.6 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.076e-05/2.615, allocations: 5.812 kB / 1.596 GB, free: 317.6 MB / 1.279 GB Notification: Performance of matching and sorting (n=429) (initialization_lambda0): time 0.01283/2.628, allocations: 5.602 MB / 1.602 GB, free: 315.4 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 7.558e-05/2.628, allocations: 43.23 kB / 1.602 GB, free: 315.3 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.825e-05/2.628, allocations: 21.41 kB / 1.602 GB, free: 315.3 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002161/2.63, allocations: 0.6561 MB / 1.603 GB, free: 315.2 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002687/2.633, allocations: 0.6681 MB / 1.603 GB, free: 314.7 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006973/2.64, allocations: 6.308 MB / 1.609 GB, free: 308.6 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005269/2.645, allocations: 372.7 kB / 1.61 GB, free: 308.3 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006443/2.646, allocations: 143.9 kB / 1.61 GB, free: 308.1 MB / 1.279 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.001521/2.647, allocations: 494.2 kB / 1.61 GB, free: 307.6 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002534/2.65, allocations: 0.6946 MB / 1.611 GB, free: 306.9 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004773/2.655, allocations: 1.73 MB / 1.613 GB, free: 305.2 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-05/2.655, allocations: 19.94 kB / 1.613 GB, free: 305.2 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-05/2.655, allocations: 4 kB / 1.613 GB, free: 305.2 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.771e-05/2.655, allocations: 11.95 kB / 1.613 GB, free: 305.1 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01846/2.673, allocations: 7.743 MB / 1.62 GB, free: 297.4 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-05/2.673, allocations: 4 kB / 1.62 GB, free: 297.4 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002822/2.676, allocations: 0.4992 MB / 1.621 GB, free: 296.9 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001892/2.678, allocations: 0.5989 MB / 1.621 GB, free: 296.3 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002587/2.678, allocations: 55.95 kB / 1.621 GB, free: 296.2 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01211/2.69, allocations: 15.16 MB / 1.636 GB, free: 279.9 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/2.69, allocations: 0 / 1.636 GB, free: 279.9 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01169/2.702, allocations: 5.503 MB / 1.642 GB, free: 274.4 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004511/2.707, allocations: 1.389 MB / 1.643 GB, free: 273 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002548/2.709, allocations: 91.95 kB / 1.643 GB, free: 272.9 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004289/2.714, allocations: 155.8 kB / 1.643 GB, free: 272.7 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004959/2.714, allocations: 133.8 kB / 1.643 GB, free: 272.6 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002258/2.714, allocations: 72.08 kB / 1.643 GB, free: 272.5 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.01523/2.73, allocations: 6.92 MB / 1.65 GB, free: 265.7 MB / 1.279 GB Notification: Performance of sort global known variables: time 8.42e-07/2.73, allocations: 4 kB / 1.65 GB, free: 265.7 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.01239/2.742, allocations: 2.361 MB / 1.652 GB, free: 263.3 MB / 1.279 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.00277/2.745, allocations: 0.91 MB / 1.653 GB, free: 262.7 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01644/2.761, allocations: 7.255 MB / 1.66 GB, free: 255.4 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.059e-05/2.761, allocations: 4 kB / 1.66 GB, free: 255.4 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.005605/2.767, allocations: 2.227 MB / 1.663 GB, free: 253.1 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01465/2.782, allocations: 2.406 MB / 1.665 GB, free: 250.8 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02708/2.809, allocations: 12.98 MB / 1.678 GB, free: 237.8 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003258/2.812, allocations: 4.389 MB / 1.682 GB, free: 233.4 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002089/2.814, allocations: 415.4 kB / 1.682 GB, free: 233 MB / 1.279 GB Notification: Performance of SimCode: time 1.223e-06/2.814, allocations: 0 / 1.682 GB, free: 233 MB / 1.279 GB Notification: Performance of Templates: time 0.4986/3.313, allocations: 422.7 MB / 2.095 GB, free: 2 MB / 1.467 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