Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.Detailed.Examples.FFD.RoomOnlySurfaceBoundary.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.RoomOnlySurfaceBoundary,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.3..Q_flow|roo.surf_surBou.4..Q_flow|roo.surf_surBou.5..Q_flow|roo.surf_surBou.6..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",fileNamePrefix="Buildings_10_Buildings.ThermalZones.Detailed.Examples.FFD.RoomOnlySurfaceBoundary") translateModel(Buildings.ThermalZones.Detailed.Examples.FFD.RoomOnlySurfaceBoundary,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.3..Q_flow|roo.surf_surBou.4..Q_flow|roo.surf_surBou.5..Q_flow|roo.surf_surBou.6..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",fileNamePrefix="Buildings_10_Buildings.ThermalZones.Detailed.Examples.FFD.RoomOnlySurfaceBoundary") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 109.3 kB / 16.41 MB, free: 6.488 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.001245/0.001245, 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.353/1.353, allocations: 222.9 MB / 241 MB, free: 15.14 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.505/2.505, allocations: 437 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 63.91 kB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9374/0.9386, allocations: 151.6 MB / 1.167 GB, free: 3.801 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.FFD.RoomOnlySurfaceBoundary): time 0.2292/1.168, allocations: 205.2 MB / 1.368 GB, free: 5.809 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.0636/1.232, allocations: 33.15 MB / 1.4 GB, free: 4.547 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0156/1.247, allocations: 310.3 kB / 1.4 GB, free: 4.242 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.009662/1.257, allocations: 2.972 MB / 1.403 GB, free: 1.258 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.01063/1.268, allocations: 2.547 MB / 1.406 GB, free: 14.7 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.RoomOnlySurfaceBoundary.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.RoomOnlySurfaceBoundary.roo.air.cfd.exchange' contains a call to impure function 'Buildings.ThermalZones.Detailed.BaseClasses.cfdExchangeData'. Notification: Performance of NFTyping.typeClassSections: time 0.008286/1.276, allocations: 2.626 MB / 1.408 GB, free: 12.08 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.01439/1.29, allocations: 10.81 MB / 1.419 GB, free: 1.254 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005539/1.296, allocations: 3.897 MB / 1.423 GB, free: 13.29 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005445/1.301, allocations: 3.319 MB / 1.426 GB, free: 9.961 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005719/1.307, allocations: 3.687 MB / 1.43 GB, free: 6.262 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.001696/1.309, allocations: 0.5898 MB / 1.43 GB, free: 5.672 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003678/1.312, allocations: 1.432 MB / 1.431 GB, free: 4.238 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.001832/1.314, allocations: 1.904 MB / 1.433 GB, free: 2.328 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.004566/1.319, allocations: 3.696 MB / 1.437 GB, free: 14.61 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.01313/1.332, allocations: 11.94 MB / 1.449 GB, free: 2.637 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 7.655e-06/1.332, allocations: 4 kB / 1.449 GB, free: 2.633 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.084e-06/1.332, allocations: 0 / 1.449 GB, free: 2.633 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0002392/1.332, allocations: 0 / 1.449 GB, free: 2.633 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 519 * Number of variables: 519 Notification: Performance of Generate backend data structure: time 0.01764/1.35, allocations: 9.058 MB / 1.457 GB, free: 9.383 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/1.35, allocations: 8.625 kB / 1.457 GB, free: 9.375 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002821/1.353, allocations: 0.9041 MB / 1.458 GB, free: 8.461 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01324/1.366, allocations: 7.265 MB / 1.465 GB, free: 1.102 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001535/1.366, allocations: 183.9 kB / 1.466 GB, free: 0.9219 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004125/1.367, allocations: 260 kB / 1.466 GB, free: 0.668 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004993/1.372, allocations: 2.979 MB / 1.469 GB, free: 13.49 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.456e-05/1.372, allocations: 23.77 kB / 1.469 GB, free: 13.47 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001978/1.372, allocations: 83.98 kB / 1.469 GB, free: 13.39 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.329e-05/1.372, allocations: 90.03 kB / 1.469 GB, free: 13.3 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004829/1.377, allocations: 2.966 MB / 1.472 GB, free: 10.32 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.02534/1.402, allocations: 14.81 MB / 1.486 GB, free: 11.2 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004454/1.407, allocations: 2.326 MB / 1.489 GB, free: 8.871 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002028/1.409, allocations: 1.183 MB / 1.49 GB, free: 7.684 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000104/1.409, allocations: 45.59 kB / 1.49 GB, free: 7.641 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002466/1.411, allocations: 1.459 MB / 1.491 GB, free: 6.152 MB / 1.217 GB Notification: Performance of pre-optimization done (n=176): time 3.887e-06/1.411, allocations: 4 kB / 1.491 GB, free: 6.148 MB / 1.217 GB Notification: Performance of matching and sorting (n=176): time 0.01194/1.423, allocations: 4.916 MB / 1.496 GB, free: 1.168 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001675/1.424, allocations: 326.6 kB / 1.496 GB, free: 0.7891 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01593/1.439, allocations: 9.764 MB / 1.506 GB, free: 7.039 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0008105/1.44, allocations: 105.7 kB / 1.506 GB, free: 6.93 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.003482/1.444, allocations: 3.086 MB / 1.509 GB, free: 3.832 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.001043/1.445, allocations: 0.5665 MB / 1.51 GB, free: 3.258 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001262/1.446, allocations: 0.7178 MB / 1.51 GB, free: 2.531 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001247/1.446, allocations: 309.1 kB / 1.511 GB, free: 2.227 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00303/1.449, allocations: 1.687 MB / 1.512 GB, free: 0.5312 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003651/1.453, allocations: 2.644 MB / 1.515 GB, free: 13.57 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00527/1.458, allocations: 3.625 MB / 1.518 GB, free: 9.633 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.465e-05/1.458, allocations: 4 kB / 1.518 GB, free: 9.629 MB / 1.248 GB Notification: Performance of matching and sorting (n=416) (initialization): time 0.01155/1.47, allocations: 5.541 MB / 1.524 GB, free: 4.055 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 6.521e-05/1.47, allocations: 41.86 kB / 1.524 GB, free: 4.008 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-05/1.47, allocations: 24 kB / 1.524 GB, free: 3.984 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002306/1.472, allocations: 0.6494 MB / 1.524 GB, free: 3.328 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004591/1.477, allocations: 0.8931 MB / 1.525 GB, free: 2.434 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01708/1.494, allocations: 15.34 MB / 1.54 GB, free: 1.98 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005534/1.5, allocations: 452.1 kB / 1.541 GB, free: 1.535 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006602/1.5, allocations: 140 kB / 1.541 GB, free: 1.398 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007517/1.508, allocations: 4 MB / 1.545 GB, free: 13.39 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003628/1.511, allocations: 2.613 MB / 1.547 GB, free: 10.46 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004952/1.516, allocations: 3.586 MB / 1.551 GB, free: 6.555 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.596e-05/1.516, allocations: 8 kB / 1.551 GB, free: 6.547 MB / 1.279 GB Notification: Performance of matching and sorting (n=416) (initialization_lambda0): time 0.01091/1.527, allocations: 5.494 MB / 1.556 GB, free: 1.023 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 5.425e-05/1.527, allocations: 44.2 kB / 1.556 GB, free: 0.9766 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.369e-05/1.527, allocations: 27.98 kB / 1.556 GB, free: 0.9492 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002314/1.53, allocations: 0.6461 MB / 1.557 GB, free: 304 kB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.7377/2.267, allocations: 0.6424 MB / 1.558 GB, free: 372.7 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008895/2.276, allocations: 6.3 MB / 1.564 GB, free: 370 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004439/2.281, allocations: 363.7 kB / 1.564 GB, free: 370 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002912/2.281, allocations: 144.9 kB / 1.564 GB, free: 370 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 80 (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,$whenCondition6,$whenCondition7,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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,roo.air.cfd.y[9],$PRE.roo.air.cfd.y[9],roo.air.cfd.y[8],$PRE.roo.air.cfd.y[8],roo.air.cfd.y[7],$PRE.roo.air.cfd.y[7],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],roo.air.cfd.uWri[7],$PRE.roo.air.cfd.uWri[7]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (403): * Single equations (assignments): 394 * 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.0007951/2.282, allocations: 477.9 kB / 1.565 GB, free: 369.8 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007511/2.283, allocations: 0.6818 MB / 1.565 GB, free: 369.8 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003381/2.286, allocations: 1.707 MB / 1.567 GB, free: 369.6 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/2.286, allocations: 21.44 kB / 1.567 GB, free: 369.6 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.172e-05/2.286, allocations: 3.938 kB / 1.567 GB, free: 369.6 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.528e-05/2.286, allocations: 8.438 kB / 1.567 GB, free: 369.6 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01178/2.298, allocations: 7.598 MB / 1.574 GB, free: 367.1 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.134e-06/2.298, allocations: 0 / 1.574 GB, free: 367.1 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002581/2.301, allocations: 488.9 kB / 1.575 GB, free: 367.1 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001824/2.302, allocations: 0.6012 MB / 1.575 GB, free: 367 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001258/2.303, allocations: 58.44 kB / 1.575 GB, free: 366.9 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01115/2.314, allocations: 15.16 MB / 1.59 GB, free: 354.2 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/2.314, allocations: 0 / 1.59 GB, free: 354.2 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008954/2.323, allocations: 5.338 MB / 1.596 GB, free: 350 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003214/2.326, allocations: 1.375 MB / 1.597 GB, free: 348.6 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000765/2.327, allocations: 87.95 kB / 1.597 GB, free: 348.5 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001976/2.329, allocations: 150.7 kB / 1.597 GB, free: 348.4 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003522/2.329, allocations: 129.8 kB / 1.597 GB, free: 348.3 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001235/2.329, allocations: 71.95 kB / 1.597 GB, free: 348.2 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.008945/2.338, allocations: 6.83 MB / 1.604 GB, free: 341.4 MB / 1.279 GB Notification: Performance of sort global known variables: time 2.31e-07/2.338, allocations: 0 / 1.604 GB, free: 341.4 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.005796/2.344, allocations: 2.306 MB / 1.606 GB, free: 339.1 MB / 1.279 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (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) * Number of discrete variables: 43 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,roo.air.cfd.sampleTrigger,$whenCondition7,$whenCondition6,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) * Number of discrete states: 33 (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.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,$whenCondition6,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (165): * Single equations (assignments): 132 * 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.001862/2.346, allocations: 0.8969 MB / 1.607 GB, free: 338.6 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01255/2.358, allocations: 7.133 MB / 1.614 GB, free: 331.4 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/2.358, allocations: 0 / 1.614 GB, free: 331.4 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.004957/2.363, allocations: 2.174 MB / 1.616 GB, free: 329.2 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008284/2.372, allocations: 2.361 MB / 1.618 GB, free: 326.9 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01677/2.388, allocations: 12.65 MB / 1.631 GB, free: 314.3 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002747/2.391, allocations: 4.322 MB / 1.635 GB, free: 309.9 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001519/2.393, allocations: 403.4 kB / 1.635 GB, free: 309.5 MB / 1.279 GB Notification: Performance of SimCode: time 4.71e-07/2.393, allocations: 0 / 1.635 GB, free: 309.5 MB / 1.279 GB Notification: Performance of Templates: time 0.3161/2.709, allocations: 414.6 MB / 2.04 GB, free: 6.52 MB / 1.389 GB make -j1 -f Buildings_10_Buildings.ThermalZones.Detailed.Examples.FFD.RoomOnlySurfaceBoundary.makefile make -j1 -f Buildings_10_Buildings.ThermalZones.Detailed.Examples.FFD.RoomOnlySurfaceBoundary.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.RoomOnlySurfaceBoundaryCalcHelperMain.o OMCppBuildings_10_Buildings.ThermalZones.Detailed.Examples.FFD.RoomOnlySurfaceBoundaryCalcHelperMain.cpp In file included from OMCppBuildings_10_Buildings.ThermalZones.Detailed.Examples.FFD.RoomOnlySurfaceBoundaryCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_10_Buildings.ThermalZones.Detailed.Examples.FFD.RoomOnlySurfaceBoundaryFunctions.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.RoomOnlySurfaceBoundaryCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_10_Buildings.ThermalZones.Detailed.Examples.FFD.RoomOnlySurfaceBoundaryFunctions.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.RoomOnlySurfaceBoundaryCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_10_Buildings.ThermalZones.Detailed.Examples.FFD.RoomOnlySurfaceBoundaryFunctions.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.RoomOnlySurfaceBoundaryCalcHelperMain.o] Error 1