Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.MixedConvection.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.Tutorial.MixedConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|roo.yCFD.1.|roo.yCFD.2.|TFlo.port.Q_flow|TOthWal.1..port.Q_flow|TOthWal.2..port.Q_flow",fileNamePrefix="Buildings_10_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.MixedConvection") translateModel(Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.MixedConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|roo.yCFD.1.|roo.yCFD.2.|TFlo.port.Q_flow|TOthWal.1..port.Q_flow|TOthWal.2..port.Q_flow",fileNamePrefix="Buildings_10_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.MixedConvection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001729/0.001729, allocations: 109.5 kB / 16.27 MB, free: 6.414 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.001845/0.001845, allocations: 191.6 kB / 17.2 MB, free: 5.953 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.365/1.365, allocations: 222.9 MB / 240.9 MB, free: 15.25 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.561/2.561, allocations: 437.1 MB / 0.711 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00226/0.00226, allocations: 68.14 kB / 0.8699 GB, free: 2.184 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3465, allocations: 151.6 MB / 1.018 GB, free: 10.62 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.MixedConvection): time 0.8512/1.198, allocations: 213.9 MB / 1.227 GB, free: 2.527 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.06096/1.259, allocations: 33.72 MB / 1.26 GB, free: 1.715 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01549/1.274, allocations: 262.5 kB / 1.26 GB, free: 1.457 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.009492/1.284, allocations: 3.032 MB / 1.263 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01073/1.295, allocations: 2.835 MB / 1.266 GB, free: 11.57 MB / 0.9669 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.Tutorial.MixedConvection.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.Tutorial.MixedConvection.roo.air.cfd.exchange' contains a call to impure function 'Buildings.ThermalZones.Detailed.BaseClasses.cfdExchangeData'. Notification: Performance of NFTyping.typeClassSections: time 0.008945/1.304, allocations: 2.799 MB / 1.268 GB, free: 8.785 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01699/1.321, allocations: 11.96 MB / 1.28 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01043/1.331, allocations: 4.773 MB / 1.285 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008709/1.34, allocations: 3.533 MB / 1.288 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007726/1.348, allocations: 3.989 MB / 1.292 GB, free: 408 kB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.002397/1.35, allocations: 0.6563 MB / 1.293 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006244/1.356, allocations: 2.04 MB / 1.295 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003367/1.36, allocations: 2.146 MB / 1.297 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.007395/1.367, allocations: 4.011 MB / 1.301 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01955/1.387, allocations: 12.26 MB / 1.313 GB, free: 11.22 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/1.387, allocations: 4 kB / 1.313 GB, free: 11.22 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.053e-06/1.387, allocations: 0 / 1.313 GB, free: 11.22 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0003959/1.387, allocations: 0 / 1.313 GB, free: 11.22 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 620 * Number of variables: 620 Notification: Performance of Generate backend data structure: time 0.02577/1.413, allocations: 9.517 MB / 1.322 GB, free: 1.465 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/1.413, allocations: 12.88 kB / 1.322 GB, free: 1.453 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005583/1.419, allocations: 1.036 MB / 1.323 GB, free: 416 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01758/1.436, allocations: 7.206 MB / 1.33 GB, free: 9.109 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00131/1.438, allocations: 370.5 kB / 1.33 GB, free: 8.742 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00139/1.439, allocations: 319.9 kB / 1.331 GB, free: 8.43 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008379/1.447, allocations: 3.643 MB / 1.334 GB, free: 4.562 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.659e-05/1.447, allocations: 15.84 kB / 1.334 GB, free: 4.547 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000261/1.448, allocations: 108 kB / 1.334 GB, free: 4.441 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001132/1.448, allocations: 98.77 kB / 1.335 GB, free: 4.344 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006868/1.455, allocations: 3.48 MB / 1.338 GB, free: 0.8594 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.03595/1.491, allocations: 16.92 MB / 1.354 GB, free: 15.6 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006616/1.497, allocations: 2.874 MB / 1.357 GB, free: 12.71 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003174/1.501, allocations: 1.544 MB / 1.359 GB, free: 11.16 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000526/1.501, allocations: 324.9 kB / 1.359 GB, free: 10.79 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00394/1.505, allocations: 1.812 MB / 1.361 GB, free: 8.949 MB / 1.061 GB Notification: Performance of pre-optimization done (n=218): time 4.308e-06/1.505, allocations: 0 / 1.361 GB, free: 8.949 MB / 1.061 GB Notification: Performance of matching and sorting (n=218): time 0.01713/1.522, allocations: 5.887 MB / 1.367 GB, free: 3 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002557/1.523, allocations: 368.6 kB / 1.367 GB, free: 2.574 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01991/1.542, allocations: 10.4 MB / 1.377 GB, free: 8.207 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0009304/1.543, allocations: 125.7 kB / 1.377 GB, free: 8.078 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.005381/1.549, allocations: 3.257 MB / 1.38 GB, free: 4.805 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.001207/1.55, allocations: 0.7014 MB / 1.381 GB, free: 4.094 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001521/1.552, allocations: 0.8371 MB / 1.382 GB, free: 3.25 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001285/1.552, allocations: 305.1 kB / 1.382 GB, free: 2.949 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003303/1.555, allocations: 1.933 MB / 1.384 GB, free: 1.012 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004533/1.56, allocations: 3.05 MB / 1.387 GB, free: 13.58 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006705/1.566, allocations: 4.254 MB / 1.391 GB, free: 8.945 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.529e-05/1.566, allocations: 12 kB / 1.391 GB, free: 8.934 MB / 1.092 GB Notification: Performance of matching and sorting (n=489) (initialization): time 0.01501/1.581, allocations: 6.227 MB / 1.397 GB, free: 2.676 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 7.847e-05/1.582, allocations: 45.64 kB / 1.397 GB, free: 2.625 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.518e-05/1.582, allocations: 28 kB / 1.397 GB, free: 2.598 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002412/1.584, allocations: 0.665 MB / 1.398 GB, free: 1.926 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005784/1.59, allocations: 0.9905 MB / 1.399 GB, free: 0.9336 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01881/1.609, allocations: 15.34 MB / 1.414 GB, free: 484 kB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006145/1.615, allocations: 0.5054 MB / 1.415 GB, free: 15.96 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001017/1.616, allocations: 164 kB / 1.415 GB, free: 15.8 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008914/1.625, allocations: 4.36 MB / 1.419 GB, free: 11.43 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004642/1.63, allocations: 3.023 MB / 1.422 GB, free: 8.027 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006429/1.636, allocations: 4.228 MB / 1.426 GB, free: 3.43 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.81e-05/1.636, allocations: 8 kB / 1.426 GB, free: 3.422 MB / 1.123 GB Notification: Performance of matching and sorting (n=489) (initialization_lambda0): time 0.01378/1.65, allocations: 6.176 MB / 1.432 GB, free: 13.21 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 6.215e-05/1.65, allocations: 49.86 kB / 1.432 GB, free: 13.16 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-05/1.65, allocations: 24.19 kB / 1.432 GB, free: 13.13 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002306/1.652, allocations: 0.6611 MB / 1.433 GB, free: 12.46 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003462/1.656, allocations: 0.7527 MB / 1.434 GB, free: 11.71 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009142/1.665, allocations: 6.32 MB / 1.44 GB, free: 5.102 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006075/1.671, allocations: 405 kB / 1.44 GB, free: 4.703 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009998/1.672, allocations: 164 kB / 1.44 GB, free: 4.543 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 119 * Number of states: 0 () * Number of discrete variables: 112 (roo.air.cfd.uIntPre[15],$PRE.roo.air.cfd.uIntPre[15],roo.air.cfd.uIntPre[14],$PRE.roo.air.cfd.uIntPre[14],roo.air.cfd.uIntPre[13],$PRE.roo.air.cfd.uIntPre[13],roo.air.cfd.uIntPre[12],$PRE.roo.air.cfd.uIntPre[12],roo.air.cfd.uIntPre[11],$PRE.roo.air.cfd.uIntPre[11],roo.air.cfd.uIntPre[10],$PRE.roo.air.cfd.uIntPre[10],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[15],$PRE.roo.air.cfd.uWri[15],roo.air.cfd.uWri[14],$PRE.roo.air.cfd.uWri[14],roo.air.cfd.uWri[13],$PRE.roo.air.cfd.uWri[13],roo.air.cfd.uWri[12],$PRE.roo.air.cfd.uWri[12],roo.air.cfd.uWri[10],$PRE.roo.air.cfd.uWri[10],roo.air.cfd.uWri[9],$PRE.roo.air.cfd.uWri[9],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.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[13],$PRE.roo.air.cfd.y[13],roo.air.cfd.y[12],$PRE.roo.air.cfd.y[12],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[11],$PRE.roo.air.cfd.uWri[11],roo.air.cfd.y[11],$PRE.roo.air.cfd.y[11],roo.air.cfd.y[10],$PRE.roo.air.cfd.y[10],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.uWri[8],$PRE.roo.air.cfd.uWri[8],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 (476): * Single equations (assignments): 467 * 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.001775/1.674, allocations: 0.5497 MB / 1.441 GB, free: 3.973 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002426/1.676, allocations: 0.7404 MB / 1.441 GB, free: 3.223 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00492/1.681, allocations: 1.768 MB / 1.443 GB, free: 1.434 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.299e-05/1.681, allocations: 24 kB / 1.443 GB, free: 1.41 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.597e-05/1.681, allocations: 4 kB / 1.443 GB, free: 1.406 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.582e-05/1.681, allocations: 11.95 kB / 1.443 GB, free: 1.395 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0233/1.705, allocations: 9.038 MB / 1.452 GB, free: 8.254 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-05/1.705, allocations: 4.062 kB / 1.452 GB, free: 8.25 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003333/1.708, allocations: 0.5266 MB / 1.453 GB, free: 7.723 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002174/1.71, allocations: 0.5986 MB / 1.453 GB, free: 7.117 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003527/1.711, allocations: 75.94 kB / 1.453 GB, free: 7.043 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01663/1.727, allocations: 15.16 MB / 1.468 GB, free: 6.773 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.613e-06/1.727, allocations: 7.938 kB / 1.468 GB, free: 6.766 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01461/1.742, allocations: 6.61 MB / 1.475 GB, free: 84 kB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004256/1.746, allocations: 1.495 MB / 1.476 GB, free: 14.56 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002024/1.748, allocations: 136 kB / 1.476 GB, free: 14.43 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003292/1.752, allocations: 187.8 kB / 1.476 GB, free: 14.24 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004592/1.752, allocations: 157.7 kB / 1.476 GB, free: 14.09 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001827/1.752, allocations: 87.94 kB / 1.477 GB, free: 14 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.01451/1.767, allocations: 7.266 MB / 1.484 GB, free: 6.77 MB / 1.186 GB Notification: Performance of sort global known variables: time 6.21e-07/1.767, allocations: 0 / 1.484 GB, free: 6.77 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.01097/1.778, allocations: 2.505 MB / 1.486 GB, free: 4.262 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 15 (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.cfd.uInt[10],roo.air.cfd.uInt[11],roo.air.cfd.uInt[12],roo.air.cfd.uInt[13],roo.air.cfd.uInt[14],roo.air.cfd.uInt[15]) * Number of discrete variables: 59 (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.y[10],roo.air.cfd.y[11],roo.air.cfd.y[12],roo.air.cfd.y[13],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.uIntPre[10],roo.air.cfd.uIntPre[11],roo.air.cfd.uIntPre[12],roo.air.cfd.uIntPre[13],roo.air.cfd.uIntPre[14],roo.air.cfd.uIntPre[15],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.uWri[10],roo.air.cfd.uWri[11],roo.air.cfd.uWri[12],roo.air.cfd.uWri[13],roo.air.cfd.uWri[14],roo.air.cfd.uWri[15],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: 48 (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.uIntPre[7],roo.air.cfd.uIntPre[8],roo.air.cfd.u[9],roo.air.cfd.uIntPre[9],roo.air.cfd.u[10],roo.air.cfd.uIntPre[10],roo.air.cfd.uIntPre[11],roo.air.cfd.u[12],roo.air.cfd.uIntPre[12],roo.air.cfd.u[13],roo.air.cfd.uIntPre[13],roo.air.cfd.u[14],roo.air.cfd.uIntPre[14],roo.air.cfd.u[15],roo.air.cfd.uIntPre[15],roo.air.cfd.retVal,roo.air.cfd.y[13],roo.air.cfd.y[12],roo.air.cfd.y[11],roo.air.cfd.y[10],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 (203): * Single equations (assignments): 158 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 36 * 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.003197/1.781, allocations: 1.031 MB / 1.487 GB, free: 3.438 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.02124/1.802, allocations: 9.102 MB / 1.496 GB, free: 10.27 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.585e-05/1.802, allocations: 0 / 1.496 GB, free: 10.27 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.007385/1.81, allocations: 2.644 MB / 1.499 GB, free: 7.598 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01264/1.822, allocations: 2.615 MB / 1.501 GB, free: 5.086 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02699/1.849, allocations: 13.93 MB / 1.515 GB, free: 7.09 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005277/1.855, allocations: 4.547 MB / 1.519 GB, free: 2.504 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002149/1.857, allocations: 435.4 kB / 1.52 GB, free: 2.078 MB / 1.217 GB Notification: Performance of SimCode: time 1.182e-06/1.857, allocations: 0 / 1.52 GB, free: 2.078 MB / 1.217 GB Notification: Performance of Templates: time 1.002/2.859, allocations: 435.8 MB / 1.945 GB, free: 48.3 MB / 1.232 GB make -j1 -f Buildings_10_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.MixedConvection.makefile make -j1 -f Buildings_10_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.MixedConvection.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.Tutorial.MixedConvectionCalcHelperMain.o OMCppBuildings_10_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.MixedConvectionCalcHelperMain.cpp In file included from OMCppBuildings_10_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.MixedConvectionCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_10_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.MixedConvectionFunctions.cpp:9: 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.Tutorial.MixedConvectionCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_10_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.MixedConvectionFunctions.cpp:10: 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.Tutorial.MixedConvectionCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_10_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.MixedConvectionFunctions.cpp:11: 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.Tutorial.MixedConvectionCalcHelperMain.o] Error 1