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.001166/0.001171, allocations: 107 kB / 16.41 MB, free: 6.492 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.001173/0.001173, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.302/1.302, 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 10.1.1-maint.10.0.x/package.mo): time 2.444/2.444, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 71.83 kB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9882/0.9897, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.FFD.NaturalConvectionWithControl): time 0.2183/1.208, allocations: 206 MB / 1.368 GB, free: 5.047 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.0556/1.264, allocations: 33.41 MB / 1.401 GB, free: 3.527 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01304/1.277, allocations: 322.2 kB / 1.401 GB, free: 3.211 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.009032/1.286, allocations: 3.001 MB / 1.404 GB, free: 200 kB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.009169/1.295, allocations: 2.614 MB / 1.407 GB, free: 13.57 MB / 1.139 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.008249/1.303, allocations: 2.747 MB / 1.41 GB, free: 10.83 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.01397/1.317, allocations: 11.04 MB / 1.42 GB, free: 15.77 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006603/1.324, allocations: 4.056 MB / 1.424 GB, free: 11.65 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005791/1.33, allocations: 3.416 MB / 1.428 GB, free: 8.219 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006122/1.336, allocations: 3.772 MB / 1.431 GB, free: 4.438 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.002204/1.338, allocations: 0.6094 MB / 1.432 GB, free: 3.828 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004328/1.342, allocations: 1.456 MB / 1.433 GB, free: 2.371 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.002885/1.345, allocations: 1.939 MB / 1.435 GB, free: 436 kB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.006976/1.352, allocations: 3.797 MB / 1.439 GB, free: 12.61 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.01564/1.368, allocations: 12.17 MB / 1.451 GB, free: 412 kB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 1.049e-05/1.368, allocations: 0 / 1.451 GB, free: 412 kB / 1.17 GB Notification: Performance of FrontEnd: time 1.523e-06/1.368, allocations: 3.938 kB / 1.451 GB, free: 408 kB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0003843/1.368, allocations: 0 / 1.451 GB, free: 408 kB / 1.17 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.02435/1.393, allocations: 9.3 MB / 1.46 GB, free: 6.895 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/1.393, allocations: 8.922 kB / 1.46 GB, free: 6.887 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004127/1.397, allocations: 0.9233 MB / 1.461 GB, free: 5.953 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01777/1.415, allocations: 7.404 MB / 1.468 GB, free: 14.45 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002601/1.415, allocations: 196.2 kB / 1.468 GB, free: 14.26 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001109/1.416, allocations: 275.8 kB / 1.469 GB, free: 13.99 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007225/1.423, allocations: 3.136 MB / 1.472 GB, free: 10.63 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.743e-05/1.424, allocations: 7.938 kB / 1.472 GB, free: 10.62 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003946/1.424, allocations: 95.97 kB / 1.472 GB, free: 10.53 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001046/1.424, allocations: 86.3 kB / 1.472 GB, free: 10.44 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00575/1.43, allocations: 3.068 MB / 1.475 GB, free: 7.363 MB / 1.201 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.03084/1.461, allocations: 15.4 MB / 1.49 GB, free: 7.645 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005538/1.466, allocations: 2.468 MB / 1.492 GB, free: 5.164 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002336/1.469, allocations: 1.24 MB / 1.493 GB, free: 3.922 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001224/1.469, allocations: 45.59 kB / 1.493 GB, free: 3.879 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002817/1.472, allocations: 1.506 MB / 1.495 GB, free: 2.34 MB / 1.217 GB Notification: Performance of pre-optimization done (n=187): time 5.721e-06/1.472, allocations: 4 kB / 1.495 GB, free: 2.336 MB / 1.217 GB Notification: Performance of matching and sorting (n=187): time 0.01289/1.485, allocations: 5.049 MB / 1.5 GB, free: 13.22 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002028/1.485, allocations: 326.6 kB / 1.5 GB, free: 12.84 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02051/1.505, allocations: 9.887 MB / 1.51 GB, free: 2.977 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0007716/1.506, allocations: 109.7 kB / 1.51 GB, free: 2.863 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.004323/1.51, allocations: 3.2 MB / 1.513 GB, free: 15.65 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009782/1.511, allocations: 0.6127 MB / 1.514 GB, free: 15.03 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002309/1.514, allocations: 0.7338 MB / 1.514 GB, free: 14.29 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 9.404e-05/1.514, allocations: 301.1 kB / 1.515 GB, free: 13.99 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003126/1.517, allocations: 1.723 MB / 1.516 GB, free: 12.26 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003989/1.521, allocations: 2.685 MB / 1.519 GB, free: 9.254 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005601/1.527, allocations: 3.712 MB / 1.523 GB, free: 5.234 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.619e-05/1.527, allocations: 8 kB / 1.523 GB, free: 5.227 MB / 1.248 GB Notification: Performance of matching and sorting (n=429) (initialization): time 0.01155/1.538, allocations: 5.642 MB / 1.528 GB, free: 15.55 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 7.12e-05/1.538, allocations: 41.7 kB / 1.528 GB, free: 15.5 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.473e-05/1.538, allocations: 20 kB / 1.528 GB, free: 15.48 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002298/1.541, allocations: 0.65 MB / 1.529 GB, free: 14.83 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004585/1.545, allocations: 0.9126 MB / 1.53 GB, free: 13.91 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01641/1.562, allocations: 15.36 MB / 1.545 GB, free: 13.44 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005876/1.568, allocations: 456 kB / 1.545 GB, free: 12.99 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009819/1.569, allocations: 144 kB / 1.545 GB, free: 12.85 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008037/1.577, allocations: 4.047 MB / 1.549 GB, free: 8.793 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004212/1.581, allocations: 2.662 MB / 1.552 GB, free: 5.809 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005503/1.586, allocations: 3.663 MB / 1.555 GB, free: 1.836 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.734e-05/1.587, allocations: 8 kB / 1.555 GB, free: 1.828 MB / 1.279 GB Notification: Performance of matching and sorting (n=429) (initialization_lambda0): time 0.7549/2.341, allocations: 5.595 MB / 1.561 GB, free: 371.9 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 5.088e-05/2.342, allocations: 42.66 kB / 1.561 GB, free: 371.8 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.575e-05/2.342, allocations: 21.5 kB / 1.561 GB, free: 371.8 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002155/2.344, allocations: 0.6447 MB / 1.562 GB, free: 371.8 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002594/2.346, allocations: 0.6717 MB / 1.562 GB, free: 371.8 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00713/2.353, allocations: 6.302 MB / 1.568 GB, free: 369.1 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004618/2.358, allocations: 378.6 kB / 1.569 GB, free: 369.1 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004158/2.359, allocations: 145.8 kB / 1.569 GB, free: 369.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.0009608/2.36, allocations: 489.1 kB / 1.569 GB, free: 368.7 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001187/2.361, allocations: 0.7047 MB / 1.57 GB, free: 368.5 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00365/2.364, allocations: 1.727 MB / 1.572 GB, free: 367.9 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/2.364, allocations: 18.62 kB / 1.572 GB, free: 367.9 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.881e-05/2.364, allocations: 7.656 kB / 1.572 GB, free: 367.9 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.688e-05/2.364, allocations: 15.09 kB / 1.572 GB, free: 367.9 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01262/2.377, allocations: 7.742 MB / 1.579 GB, free: 364.9 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-05/2.377, allocations: 9.344 kB / 1.579 GB, free: 364.9 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002758/2.38, allocations: 0.493 MB / 1.58 GB, free: 364.9 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001933/2.382, allocations: 0.6014 MB / 1.58 GB, free: 364.8 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000176/2.382, allocations: 65.91 kB / 1.58 GB, free: 364.8 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01272/2.395, allocations: 15.14 MB / 1.595 GB, free: 350 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/2.395, allocations: 7.375 kB / 1.595 GB, free: 350 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009802/2.405, allocations: 5.498 MB / 1.601 GB, free: 344.5 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003721/2.408, allocations: 1.386 MB / 1.602 GB, free: 343.1 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002001/2.41, allocations: 97.27 kB / 1.602 GB, free: 343 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003123/2.413, allocations: 151.1 kB / 1.602 GB, free: 342.9 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003591/2.414, allocations: 133.8 kB / 1.602 GB, free: 342.8 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001549/2.414, allocations: 67.95 kB / 1.602 GB, free: 342.7 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.01228/2.426, allocations: 6.927 MB / 1.609 GB, free: 335.8 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.71e-07/2.426, allocations: 0 / 1.609 GB, free: 335.8 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.01019/2.437, allocations: 2.353 MB / 1.611 GB, free: 333.5 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.002641/2.439, allocations: 0.9086 MB / 1.612 GB, free: 332.9 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01417/2.453, allocations: 7.274 MB / 1.619 GB, free: 325.6 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/2.453, allocations: 0 / 1.619 GB, free: 325.6 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.005315/2.459, allocations: 2.222 MB / 1.622 GB, free: 323.3 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01191/2.471, allocations: 2.406 MB / 1.624 GB, free: 321 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02273/2.493, allocations: 12.98 MB / 1.637 GB, free: 308 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005454/2.499, allocations: 4.394 MB / 1.641 GB, free: 303.6 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001823/2.501, allocations: 411.4 kB / 1.641 GB, free: 303.2 MB / 1.279 GB Notification: Performance of SimCode: time 9.82e-07/2.501, allocations: 0 / 1.641 GB, free: 303.2 MB / 1.279 GB Notification: Performance of Templates: time 0.4034/2.904, allocations: 422.7 MB / 2.054 GB, free: 8.082 MB / 1.404 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