Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001648/0.001648, allocations: 99.56 kB / 16.27 MB, free: 5.977 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.001595/0.001595, allocations: 189.9 kB / 17.2 MB, free: 5.602 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.429/1.429, allocations: 222.9 MB / 240.9 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.534/2.534, allocations: 437.1 MB / 0.7111 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 71.45 kB / 0.8699 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.3515, allocations: 151.6 MB / 1.018 GB, free: 10.63 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.FFD.NaturalConvectionWithControl): time 0.8983/1.25, allocations: 206 MB / 1.219 GB, free: 8.914 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.06595/1.316, allocations: 33.4 MB / 1.252 GB, free: 9.957 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01757/1.334, allocations: 266.4 kB / 1.252 GB, free: 9.695 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.01053/1.344, allocations: 3.008 MB / 1.255 GB, free: 6.672 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.01112/1.355, allocations: 2.537 MB / 1.257 GB, free: 4.125 MB / 0.9512 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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 10.1.1-maint.10.0.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.009851/1.365, allocations: 2.729 MB / 1.26 GB, free: 1.406 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01746/1.383, allocations: 10.99 MB / 1.271 GB, free: 6.398 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007204/1.39, allocations: 4.037 MB / 1.275 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006558/1.397, allocations: 3.292 MB / 1.278 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007391/1.404, allocations: 3.796 MB / 1.282 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.002642/1.407, allocations: 0.6172 MB / 1.282 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005125/1.412, allocations: 1.428 MB / 1.284 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.003676/1.415, allocations: 1.955 MB / 1.286 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.007602/1.423, allocations: 3.805 MB / 1.289 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01835/1.442, allocations: 11.45 MB / 1.301 GB, free: 7.859 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 9.167e-06/1.442, allocations: 0 / 1.301 GB, free: 7.859 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.893e-06/1.442, allocations: 0 / 1.301 GB, free: 7.859 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0003902/1.442, allocations: 4 kB / 1.301 GB, free: 7.855 MB / 0.9981 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.02496/1.467, allocations: 9.081 MB / 1.309 GB, free: 14.57 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.571e-05/1.467, allocations: 12.92 kB / 1.309 GB, free: 14.56 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004525/1.472, allocations: 0.9272 MB / 1.31 GB, free: 13.62 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01602/1.488, allocations: 7.049 MB / 1.317 GB, free: 6.48 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009019/1.489, allocations: 289.4 kB / 1.317 GB, free: 6.195 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001148/1.49, allocations: 271.9 kB / 1.318 GB, free: 5.93 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006129/1.496, allocations: 3.136 MB / 1.321 GB, free: 2.566 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.361e-05/1.496, allocations: 11.94 kB / 1.321 GB, free: 2.555 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002307/1.496, allocations: 92 kB / 1.321 GB, free: 2.465 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001117/1.496, allocations: 90.28 kB / 1.321 GB, free: 2.375 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005948/1.502, allocations: 3.061 MB / 1.324 GB, free: 15.31 MB / 1.029 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.03533/1.538, allocations: 15.58 MB / 1.339 GB, free: 15.41 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00633/1.544, allocations: 2.459 MB / 1.342 GB, free: 12.93 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002913/1.547, allocations: 1.233 MB / 1.343 GB, free: 11.69 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001848/1.547, allocations: 45.52 kB / 1.343 GB, free: 11.65 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0036/1.551, allocations: 1.51 MB / 1.344 GB, free: 10.11 MB / 1.045 GB Notification: Performance of pre-optimization done (n=187): time 6.583e-06/1.551, allocations: 0 / 1.344 GB, free: 10.11 MB / 1.045 GB Notification: Performance of matching and sorting (n=187): time 0.01566/1.566, allocations: 5.041 MB / 1.349 GB, free: 5.008 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002756/1.567, allocations: 326.6 kB / 1.35 GB, free: 4.629 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03225/1.599, allocations: 9.993 MB / 1.359 GB, free: 10.66 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.001237/1.6, allocations: 109.7 kB / 1.359 GB, free: 10.54 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.007989/1.608, allocations: 3.208 MB / 1.363 GB, free: 7.324 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.001545/1.61, allocations: 0.6167 MB / 1.363 GB, free: 6.699 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003603/1.614, allocations: 0.7376 MB / 1.364 GB, free: 5.953 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001442/1.614, allocations: 301.1 kB / 1.364 GB, free: 5.656 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003896/1.618, allocations: 1.727 MB / 1.366 GB, free: 3.922 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005111/1.623, allocations: 2.685 MB / 1.368 GB, free: 0.9141 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007023/1.63, allocations: 3.711 MB / 1.372 GB, free: 12.89 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.23e-05/1.63, allocations: 8 kB / 1.372 GB, free: 12.88 MB / 1.076 GB Notification: Performance of matching and sorting (n=429) (initialization): time 0.01561/1.646, allocations: 5.645 MB / 1.378 GB, free: 7.203 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 9.741e-05/1.646, allocations: 41.7 kB / 1.378 GB, free: 7.156 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.698e-05/1.646, allocations: 24.84 kB / 1.378 GB, free: 7.133 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002541/1.648, allocations: 0.6494 MB / 1.378 GB, free: 6.477 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005578/1.654, allocations: 0.9087 MB / 1.379 GB, free: 5.566 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01981/1.674, allocations: 15.35 MB / 1.394 GB, free: 5.102 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005871/1.68, allocations: 460 kB / 1.395 GB, free: 4.648 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009972/1.681, allocations: 144 kB / 1.395 GB, free: 4.508 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00918/1.69, allocations: 4.051 MB / 1.399 GB, free: 460 kB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005177/1.695, allocations: 2.662 MB / 1.401 GB, free: 13.47 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006834/1.702, allocations: 3.667 MB / 1.405 GB, free: 9.492 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.682e-05/1.702, allocations: 7.938 kB / 1.405 GB, free: 9.484 MB / 1.107 GB Notification: Performance of matching and sorting (n=429) (initialization_lambda0): time 0.01529/1.717, allocations: 5.597 MB / 1.41 GB, free: 3.855 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 8.293e-05/1.718, allocations: 41.89 kB / 1.41 GB, free: 3.809 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-05/1.718, allocations: 24 kB / 1.41 GB, free: 3.785 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002432/1.72, allocations: 0.6497 MB / 1.411 GB, free: 3.129 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003452/1.724, allocations: 0.663 MB / 1.412 GB, free: 2.465 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009712/1.733, allocations: 6.319 MB / 1.418 GB, free: 11.85 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005739/1.739, allocations: 373.3 kB / 1.418 GB, free: 11.48 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009701/1.74, allocations: 140 kB / 1.418 GB, free: 11.35 MB / 1.123 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.001865/1.742, allocations: 489 kB / 1.419 GB, free: 10.86 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002808/1.745, allocations: 0.698 MB / 1.419 GB, free: 10.15 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005968/1.751, allocations: 1.737 MB / 1.421 GB, free: 8.402 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.507e-05/1.751, allocations: 20 kB / 1.421 GB, free: 8.383 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.544e-05/1.751, allocations: 4 kB / 1.421 GB, free: 8.379 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.289e-05/1.751, allocations: 7.969 kB / 1.421 GB, free: 8.371 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02338/1.774, allocations: 7.793 MB / 1.429 GB, free: 0.5 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.497e-05/1.774, allocations: 4 kB / 1.429 GB, free: 0.4961 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003429/1.778, allocations: 0.4954 MB / 1.429 GB, free: 0 / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002349/1.78, allocations: 0.5948 MB / 1.43 GB, free: 15.4 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004825/1.781, allocations: 63.89 kB / 1.43 GB, free: 15.34 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01852/1.799, allocations: 15.16 MB / 1.445 GB, free: 15.06 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/1.799, allocations: 3.938 kB / 1.445 GB, free: 15.05 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01438/1.814, allocations: 5.486 MB / 1.45 GB, free: 9.523 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004617/1.818, allocations: 1.413 MB / 1.452 GB, free: 8.082 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002508/1.821, allocations: 91.95 kB / 1.452 GB, free: 7.992 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004242/1.825, allocations: 151.8 kB / 1.452 GB, free: 7.844 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005917/1.826, allocations: 137.8 kB / 1.452 GB, free: 7.711 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003827/1.826, allocations: 67.95 kB / 1.452 GB, free: 7.645 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.01819/1.844, allocations: 6.987 MB / 1.459 GB, free: 0.6875 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.062e-06/1.844, allocations: 4 kB / 1.459 GB, free: 0.6836 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.01253/1.857, allocations: 2.36 MB / 1.461 GB, free: 14.32 MB / 1.17 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.003534/1.861, allocations: 0.9187 MB / 1.462 GB, free: 13.61 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.02109/1.882, allocations: 7.972 MB / 1.47 GB, free: 5.566 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-05/1.882, allocations: 0 / 1.47 GB, free: 5.566 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.006934/1.889, allocations: 2.219 MB / 1.472 GB, free: 3.309 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0144/1.903, allocations: 2.411 MB / 1.474 GB, free: 0.9922 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02977/1.933, allocations: 13.14 MB / 1.487 GB, free: 3.84 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007913/1.941, allocations: 4.397 MB / 1.491 GB, free: 15.41 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002166/1.943, allocations: 415.4 kB / 1.492 GB, free: 15.01 MB / 1.201 GB Notification: Performance of SimCode: time 1.052e-06/1.943, allocations: 0 / 1.492 GB, free: 15.01 MB / 1.201 GB Notification: Performance of Templates: time 0.8562/2.799, allocations: 421.6 MB / 1.904 GB, free: 91.38 MB / 1.232 GB make -j1 -f Buildings_10_Buildings.ThermalZones.Detailed.Examples.FFD.NaturalConvectionWithControl.makefile make -j1 -f Buildings_10_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 10.1.1-maint.10.0.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 10.1.1-maint.10.0.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_10_Buildings.ThermalZones.Detailed.Examples.FFD.NaturalConvectionWithControlCalcHelperMain.o OMCppBuildings_10_Buildings.ThermalZones.Detailed.Examples.FFD.NaturalConvectionWithControlCalcHelperMain.cpp In file included from OMCppBuildings_10_Buildings.ThermalZones.Detailed.Examples.FFD.NaturalConvectionWithControlCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_10_Buildings.ThermalZones.Detailed.Examples.FFD.NaturalConvectionWithControlFunctions.cpp:8: In file included from /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/cfdcosim.c:24: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/cfdCosimulation.h:35:19: error: redefinition of 'cosim' CosimulationData *cosim; ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/cfdSendStopCommand.c:16:10: note: '/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/cfdCosimulation.h' included multiple times, additional include site here #include "cfdCosimulation.h" ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/cfdcosim.c:24:10: note: '/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/cfdCosimulation.h' included multiple times, additional include site here #include "cfdCosimulation.h" ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings.ThermalZones.Detailed.Examples.FFD.NaturalConvectionWithControlCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_10_Buildings.ThermalZones.Detailed.Examples.FFD.NaturalConvectionWithControlFunctions.cpp:9: In file included from /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/cfdStartCosimulation.c:19: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/cfdCosimulation.h:35:19: error: redefinition of 'cosim' CosimulationData *cosim; ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/cfdSendStopCommand.c:16:10: note: '/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/cfdCosimulation.h' included multiple times, additional include site here #include "cfdCosimulation.h" ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/cfdStartCosimulation.c:19:10: note: '/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/cfdCosimulation.h' included multiple times, additional include site here #include "cfdCosimulation.h" ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings.ThermalZones.Detailed.Examples.FFD.NaturalConvectionWithControlCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_10_Buildings.ThermalZones.Detailed.Examples.FFD.NaturalConvectionWithControlFunctions.cpp:10: In file included from /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/cfdExchangeData.c:14: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/cfdCosimulation.h:35:19: error: redefinition of 'cosim' CosimulationData *cosim; ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/cfdSendStopCommand.c:16:10: note: '/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/cfdCosimulation.h' included multiple times, additional include site here #include "cfdCosimulation.h" ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/cfdExchangeData.c:14:10: note: '/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/cfdCosimulation.h' included multiple times, additional include site here #include "cfdCosimulation.h" ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings.ThermalZones.Detailed.Examples.FFD.NaturalConvectionWithControlCalcHelperMain.o] Error 1