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: 109.7 kB / 16.41 MB, free: 6.477 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.001677/0.001677, allocations: 183 kB / 17.34 MB, free: 5.75 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.403/1.403, allocations: 222.9 MB / 241 MB, free: 15.15 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.317/2.317, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 64.08 kB / 0.9515 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9624/0.9639, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.FFD.NaturalConvectionWithControl): time 0.2511/1.215, allocations: 202.6 MB / 1.286 GB, free: 3.016 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.06462/1.28, allocations: 32.72 MB / 1.318 GB, free: 2.195 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01438/1.294, allocations: 322.2 kB / 1.319 GB, free: 1.879 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.01218/1.306, allocations: 3.005 MB / 1.322 GB, free: 14.86 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.01325/1.32, allocations: 2.561 MB / 1.324 GB, free: 12.29 MB / 1.061 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.009141/1.329, allocations: 2.728 MB / 1.327 GB, free: 9.57 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01535/1.344, allocations: 10.97 MB / 1.338 GB, free: 14.58 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009353/1.354, allocations: 4.087 MB / 1.342 GB, free: 10.42 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00913/1.363, allocations: 3.405 MB / 1.345 GB, free: 7.004 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007727/1.371, allocations: 3.744 MB / 1.348 GB, free: 3.246 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.002513/1.373, allocations: 0.6055 MB / 1.349 GB, free: 2.641 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004977/1.378, allocations: 1.46 MB / 1.351 GB, free: 1.18 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.003405/1.382, allocations: 1.943 MB / 1.352 GB, free: 15.23 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.007501/1.389, allocations: 3.773 MB / 1.356 GB, free: 11.44 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01812/1.407, allocations: 12.15 MB / 1.368 GB, free: 15.25 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/1.407, allocations: 0 / 1.368 GB, free: 15.25 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.455e-06/1.407, allocations: 0 / 1.368 GB, free: 15.25 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0004068/1.408, allocations: 3.938 kB / 1.368 GB, free: 15.24 MB / 1.107 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.02335/1.431, allocations: 9.277 MB / 1.377 GB, free: 5.766 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/1.431, allocations: 12.03 kB / 1.377 GB, free: 5.754 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004271/1.436, allocations: 0.9272 MB / 1.378 GB, free: 4.816 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01668/1.452, allocations: 7.392 MB / 1.385 GB, free: 13.33 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002858/1.453, allocations: 200.2 kB / 1.385 GB, free: 13.13 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001139/1.454, allocations: 268 kB / 1.386 GB, free: 12.87 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007967/1.462, allocations: 3.132 MB / 1.389 GB, free: 9.512 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.803e-05/1.462, allocations: 15.78 kB / 1.389 GB, free: 9.496 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000525/1.462, allocations: 95.97 kB / 1.389 GB, free: 9.402 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001117/1.462, allocations: 86.3 kB / 1.389 GB, free: 9.316 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006438/1.469, allocations: 3.065 MB / 1.392 GB, free: 6.242 MB / 1.123 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.0329/1.502, allocations: 15.2 MB / 1.407 GB, free: 6.773 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005965/1.508, allocations: 2.462 MB / 1.409 GB, free: 4.297 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002734/1.511, allocations: 1.243 MB / 1.41 GB, free: 3.047 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001654/1.511, allocations: 41.61 kB / 1.41 GB, free: 3.008 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003433/1.514, allocations: 1.506 MB / 1.412 GB, free: 1.473 MB / 1.139 GB Notification: Performance of pre-optimization done (n=187): time 6.171e-06/1.514, allocations: 0 / 1.412 GB, free: 1.473 MB / 1.139 GB Notification: Performance of matching and sorting (n=187): time 0.01479/1.529, allocations: 5.053 MB / 1.417 GB, free: 12.36 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002561/1.529, allocations: 330.5 kB / 1.417 GB, free: 11.98 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02454/1.554, allocations: 9.887 MB / 1.427 GB, free: 2.113 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0009704/1.555, allocations: 113.7 kB / 1.427 GB, free: 1.996 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.006274/1.561, allocations: 3.196 MB / 1.43 GB, free: 14.79 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.001317/1.563, allocations: 0.6089 MB / 1.431 GB, free: 14.17 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003356/1.566, allocations: 0.7376 MB / 1.431 GB, free: 13.42 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001398/1.566, allocations: 301.1 kB / 1.432 GB, free: 13.12 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00378/1.57, allocations: 1.723 MB / 1.433 GB, free: 11.39 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004479/1.574, allocations: 2.681 MB / 1.436 GB, free: 8.391 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006233/1.581, allocations: 3.717 MB / 1.439 GB, free: 4.355 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.551e-05/1.581, allocations: 4 kB / 1.439 GB, free: 4.352 MB / 1.17 GB Notification: Performance of matching and sorting (n=429) (initialization): time 0.01428/1.595, allocations: 5.638 MB / 1.445 GB, free: 14.69 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001171/1.595, allocations: 45.7 kB / 1.445 GB, free: 14.64 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.814e-05/1.595, allocations: 20 kB / 1.445 GB, free: 14.62 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002502/1.598, allocations: 0.6497 MB / 1.446 GB, free: 13.96 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005403/1.603, allocations: 0.9164 MB / 1.447 GB, free: 13.04 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01732/1.621, allocations: 15.33 MB / 1.462 GB, free: 12.59 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005623/1.626, allocations: 463.9 kB / 1.462 GB, free: 12.13 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009225/1.627, allocations: 148 kB / 1.462 GB, free: 11.98 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008538/1.636, allocations: 4.051 MB / 1.466 GB, free: 7.926 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004865/1.641, allocations: 2.662 MB / 1.469 GB, free: 4.945 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006402/1.647, allocations: 3.663 MB / 1.472 GB, free: 0.9805 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.058e-05/1.647, allocations: 8 kB / 1.472 GB, free: 0.9727 MB / 1.201 GB Notification: Performance of matching and sorting (n=429) (initialization_lambda0): time 0.01471/1.662, allocations: 5.59 MB / 1.478 GB, free: 11.35 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 8.252e-05/1.662, allocations: 37.7 kB / 1.478 GB, free: 11.31 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.14e-05/1.662, allocations: 24 kB / 1.478 GB, free: 11.29 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002438/1.665, allocations: 0.6537 MB / 1.478 GB, free: 10.62 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003661/1.668, allocations: 0.6746 MB / 1.479 GB, free: 9.949 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01154/1.68, allocations: 6.307 MB / 1.485 GB, free: 3.348 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005689/1.686, allocations: 369.4 kB / 1.486 GB, free: 2.98 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009944/1.687, allocations: 144 kB / 1.486 GB, free: 2.84 MB / 1.217 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.001863/1.689, allocations: 488.9 kB / 1.486 GB, free: 2.348 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002631/1.691, allocations: 0.7058 MB / 1.487 GB, free: 1.633 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005903/1.697, allocations: 1.733 MB / 1.489 GB, free: 15.89 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.216e-05/1.697, allocations: 20 kB / 1.489 GB, free: 15.87 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.448e-05/1.697, allocations: 4 kB / 1.489 GB, free: 15.86 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.907e-05/1.697, allocations: 7.969 kB / 1.489 GB, free: 15.86 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02388/1.721, allocations: 7.743 MB / 1.496 GB, free: 8.035 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.38e-05/1.721, allocations: 0 / 1.496 GB, free: 8.035 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003279/1.724, allocations: 0.4992 MB / 1.497 GB, free: 7.535 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002258/1.727, allocations: 0.6026 MB / 1.497 GB, free: 6.926 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004435/1.727, allocations: 67.89 kB / 1.497 GB, free: 6.859 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01722/1.744, allocations: 15.16 MB / 1.512 GB, free: 6.582 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.745, allocations: 0 / 1.512 GB, free: 6.582 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01403/1.759, allocations: 5.507 MB / 1.518 GB, free: 1.035 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004418/1.763, allocations: 1.39 MB / 1.519 GB, free: 15.61 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00256/1.766, allocations: 95.95 kB / 1.519 GB, free: 15.52 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004163/1.77, allocations: 147.7 kB / 1.519 GB, free: 15.38 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005722/1.77, allocations: 133.8 kB / 1.519 GB, free: 15.25 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003348/1.771, allocations: 71.95 kB / 1.519 GB, free: 15.18 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.01824/1.789, allocations: 6.92 MB / 1.526 GB, free: 8.285 MB / 1.264 GB Notification: Performance of sort global known variables: time 5.61e-07/1.789, allocations: 0 / 1.526 GB, free: 8.285 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.01201/1.801, allocations: 2.337 MB / 1.528 GB, free: 5.945 MB / 1.264 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.003025/1.804, allocations: 0.9277 MB / 1.529 GB, free: 5.219 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01932/1.824, allocations: 7.255 MB / 1.536 GB, free: 13.9 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.127e-05/1.824, allocations: 0 / 1.536 GB, free: 13.9 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.006895/1.83, allocations: 2.229 MB / 1.538 GB, free: 11.64 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01534/1.846, allocations: 2.4 MB / 1.541 GB, free: 9.328 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03323/1.879, allocations: 13.07 MB / 1.554 GB, free: 12.25 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00812/1.887, allocations: 4.393 MB / 1.558 GB, free: 7.828 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002302/1.89, allocations: 411.4 kB / 1.558 GB, free: 7.426 MB / 1.295 GB Notification: Performance of SimCode: time 1.332e-06/1.89, allocations: 0 / 1.558 GB, free: 7.426 MB / 1.295 GB Notification: Performance of Templates: time 1.002/2.891, allocations: 422.5 MB / 1.971 GB, free: 78.21 MB / 1.311 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