Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvection.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.NaturalConvection,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.Tutorial.NaturalConvection") translateModel(Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvection,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.Tutorial.NaturalConvection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001731/0.001731, allocations: 106.4 kB / 16.41 MB, free: 6.504 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.001891/0.001891, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.361/1.361, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.409/2.409, allocations: 437 MB / 0.7112 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 59.91 kB / 1.019 GB, free: 9.465 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8788/0.8802, allocations: 151.6 MB / 1.167 GB, free: 3.91 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvection): time 0.2262/1.106, allocations: 205.2 MB / 1.368 GB, free: 5.91 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.06409/1.171, allocations: 33.15 MB / 1.4 GB, free: 4.648 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01476/1.185, allocations: 310.3 kB / 1.4 GB, free: 4.344 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.01015/1.196, allocations: 2.979 MB / 1.403 GB, free: 1.352 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.01028/1.206, allocations: 2.551 MB / 1.406 GB, free: 14.79 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.Tutorial.NaturalConvection.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.NaturalConvection.roo.air.cfd.exchange' contains a call to impure function 'Buildings.ThermalZones.Detailed.BaseClasses.cfdExchangeData'. Notification: Performance of NFTyping.typeClassSections: time 0.008924/1.215, allocations: 2.621 MB / 1.408 GB, free: 12.18 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.01543/1.23, allocations: 10.79 MB / 1.419 GB, free: 1.367 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007881/1.238, allocations: 3.918 MB / 1.423 GB, free: 13.38 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006758/1.245, allocations: 3.323 MB / 1.426 GB, free: 10.05 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00679/1.252, allocations: 3.687 MB / 1.43 GB, free: 6.352 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.002754/1.255, allocations: 0.5859 MB / 1.43 GB, free: 5.766 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005686/1.26, allocations: 1.436 MB / 1.431 GB, free: 4.328 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.003681/1.264, allocations: 1.9 MB / 1.433 GB, free: 2.422 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.008553/1.273, allocations: 3.696 MB / 1.437 GB, free: 14.7 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.01933/1.292, allocations: 11.94 MB / 1.449 GB, free: 2.73 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/1.292, allocations: 0 / 1.449 GB, free: 2.73 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.924e-06/1.292, allocations: 0 / 1.449 GB, free: 2.73 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0004078/1.293, allocations: 0 / 1.449 GB, free: 2.73 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.02626/1.319, allocations: 9.074 MB / 1.457 GB, free: 9.453 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.98e-05/1.319, allocations: 8.922 kB / 1.457 GB, free: 9.445 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004807/1.324, allocations: 0.9041 MB / 1.458 GB, free: 8.531 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01944/1.343, allocations: 7.273 MB / 1.465 GB, free: 1.168 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002925/1.344, allocations: 187.9 kB / 1.466 GB, free: 0.9844 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001259/1.345, allocations: 252 kB / 1.466 GB, free: 0.7383 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007663/1.352, allocations: 2.983 MB / 1.469 GB, free: 13.56 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.895e-05/1.353, allocations: 15.83 kB / 1.469 GB, free: 13.54 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004828/1.353, allocations: 87.98 kB / 1.469 GB, free: 13.46 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001143/1.353, allocations: 90.03 kB / 1.469 GB, free: 13.37 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006356/1.36, allocations: 2.966 MB / 1.472 GB, free: 10.39 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.03359/1.393, allocations: 14.82 MB / 1.486 GB, free: 11.27 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005549/1.399, allocations: 2.326 MB / 1.489 GB, free: 8.934 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002477/1.401, allocations: 1.187 MB / 1.49 GB, free: 7.746 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001663/1.402, allocations: 45.59 kB / 1.49 GB, free: 7.703 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003107/1.405, allocations: 1.455 MB / 1.491 GB, free: 6.211 MB / 1.217 GB Notification: Performance of pre-optimization done (n=176): time 6.422e-06/1.405, allocations: 0 / 1.491 GB, free: 6.211 MB / 1.217 GB Notification: Performance of matching and sorting (n=176): time 0.01381/1.419, allocations: 4.92 MB / 1.496 GB, free: 1.227 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000219/1.419, allocations: 326.6 kB / 1.496 GB, free: 0.8438 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02302/1.442, allocations: 9.757 MB / 1.506 GB, free: 7.098 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.001043/1.443, allocations: 109.7 kB / 1.506 GB, free: 6.984 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.004622/1.448, allocations: 3.098 MB / 1.509 GB, free: 3.879 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.00111/1.449, allocations: 0.5703 MB / 1.51 GB, free: 3.301 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001389/1.45, allocations: 0.7256 MB / 1.51 GB, free: 2.566 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001408/1.45, allocations: 305.1 kB / 1.511 GB, free: 2.266 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003039/1.453, allocations: 1.695 MB / 1.512 GB, free: 0.5625 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003906/1.457, allocations: 2.64 MB / 1.515 GB, free: 13.61 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005572/1.463, allocations: 3.628 MB / 1.518 GB, free: 9.668 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.167e-05/1.463, allocations: 4 kB / 1.518 GB, free: 9.664 MB / 1.248 GB Notification: Performance of matching and sorting (n=416) (initialization): time 0.01318/1.476, allocations: 5.537 MB / 1.524 GB, free: 4.094 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 9.595e-05/1.476, allocations: 45.89 kB / 1.524 GB, free: 4.043 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.052e-05/1.476, allocations: 20 kB / 1.524 GB, free: 4.023 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002384/1.479, allocations: 0.6494 MB / 1.524 GB, free: 3.367 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004785/1.483, allocations: 0.8892 MB / 1.525 GB, free: 2.477 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01692/1.5, allocations: 15.35 MB / 1.54 GB, free: 2.012 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005812/1.506, allocations: 448.3 kB / 1.541 GB, free: 1.57 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009811/1.507, allocations: 144 kB / 1.541 GB, free: 1.43 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008508/1.516, allocations: 3.996 MB / 1.545 GB, free: 13.43 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004528/1.52, allocations: 2.617 MB / 1.547 GB, free: 10.49 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005794/1.526, allocations: 3.578 MB / 1.551 GB, free: 6.594 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.358e-05/1.526, allocations: 11.94 kB / 1.551 GB, free: 6.582 MB / 1.279 GB Notification: Performance of matching and sorting (n=416) (initialization_lambda0): time 0.01321/1.539, allocations: 5.493 MB / 1.556 GB, free: 1.059 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 6.844e-05/1.54, allocations: 45.69 kB / 1.556 GB, free: 1.008 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-05/1.54, allocations: 20 kB / 1.556 GB, free: 0.9883 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002239/1.542, allocations: 0.6501 MB / 1.557 GB, free: 340 kB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.7048/2.247, allocations: 0.6397 MB / 1.558 GB, free: 372.6 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0097/2.256, allocations: 6.307 MB / 1.564 GB, free: 369.9 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005207/2.262, allocations: 364.2 kB / 1.564 GB, free: 369.9 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008567/2.263, allocations: 138.1 kB / 1.564 GB, free: 369.9 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,$whenCondition1,$whenCondition2,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],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[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.001003/2.264, allocations: 486.1 kB / 1.565 GB, free: 369.7 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002143/2.266, allocations: 0.6854 MB / 1.565 GB, free: 369.7 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004361/2.27, allocations: 1.705 MB / 1.567 GB, free: 369.6 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/2.27, allocations: 15.72 kB / 1.567 GB, free: 369.6 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.34e-05/2.27, allocations: 4.609 kB / 1.567 GB, free: 369.6 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-05/2.27, allocations: 8.625 kB / 1.567 GB, free: 369.6 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01613/2.286, allocations: 7.528 MB / 1.574 GB, free: 367.1 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.243e-05/2.286, allocations: 3.844 kB / 1.574 GB, free: 367.1 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002878/2.289, allocations: 487.3 kB / 1.575 GB, free: 367.1 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002057/2.291, allocations: 0.5962 MB / 1.575 GB, free: 367 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003353/2.292, allocations: 63.77 kB / 1.575 GB, free: 366.9 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01331/2.305, allocations: 15.15 MB / 1.59 GB, free: 354.2 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.369e-06/2.305, allocations: 3.938 kB / 1.59 GB, free: 354.2 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01047/2.316, allocations: 5.335 MB / 1.595 GB, free: 350.1 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003951/2.32, allocations: 1.372 MB / 1.597 GB, free: 348.7 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001912/2.322, allocations: 93.94 kB / 1.597 GB, free: 348.6 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002961/2.324, allocations: 145.7 kB / 1.597 GB, free: 348.5 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003443/2.325, allocations: 132.5 kB / 1.597 GB, free: 348.4 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000131/2.325, allocations: 67.95 kB / 1.597 GB, free: 348.3 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0117/2.337, allocations: 6.837 MB / 1.604 GB, free: 341.5 MB / 1.279 GB Notification: Performance of sort global known variables: time 3.6e-07/2.337, allocations: 0 / 1.604 GB, free: 341.5 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.009413/2.346, allocations: 2.299 MB / 1.606 GB, free: 339.2 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 (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: 33 (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.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 (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.002218/2.348, allocations: 0.8988 MB / 1.607 GB, free: 338.7 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01413/2.363, allocations: 7.136 MB / 1.614 GB, free: 331.5 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 9.918e-06/2.363, allocations: 64 / 1.614 GB, free: 331.5 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.005202/2.368, allocations: 2.17 MB / 1.616 GB, free: 329.3 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01046/2.378, allocations: 2.362 MB / 1.618 GB, free: 327 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0215/2.4, allocations: 12.66 MB / 1.631 GB, free: 314.4 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003052/2.403, allocations: 4.321 MB / 1.635 GB, free: 310 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001778/2.405, allocations: 399.4 kB / 1.635 GB, free: 309.6 MB / 1.279 GB Notification: Performance of SimCode: time 9.22e-07/2.405, allocations: 4 kB / 1.635 GB, free: 309.6 MB / 1.279 GB Notification: Performance of Templates: time 0.3545/2.759, allocations: 414.7 MB / 2.04 GB, free: 6.559 MB / 1.389 GB make -j1 -f Buildings_10_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvection.makefile make -j1 -f Buildings_10_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvection.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.NaturalConvectionCalcHelperMain.o OMCppBuildings_10_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvectionCalcHelperMain.cpp In file included from OMCppBuildings_10_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvectionCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_10_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvectionFunctions.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.Tutorial.NaturalConvectionCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_10_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvectionFunctions.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.Tutorial.NaturalConvectionCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_10_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvectionFunctions.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.Tutorial.NaturalConvectionCalcHelperMain.o] Error 1