Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.Detailed.Examples.FFD.NaturalConvectionWithControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.Examples.FFD.NaturalConvectionWithControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|roo.yCFD.1.|roo.yCFD.2.|roo.surf_surBou.1..Q_flow|roo.surf_surBou.2..Q_flow|roo.surf_surBou.1..T|roo.surf_surBou.2..T|roo.surf_surBou.3..T|roo.surf_surBou.4..T|roo.surf_surBou.5..T|roo.surf_surBou.6..T|conPID.u_s|conPID.u_m|conPID.y",fileNamePrefix="Buildings_10_Buildings.ThermalZones.Detailed.Examples.FFD.NaturalConvectionWithControl") translateModel(Buildings.ThermalZones.Detailed.Examples.FFD.NaturalConvectionWithControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|roo.yCFD.1.|roo.yCFD.2.|roo.surf_surBou.1..Q_flow|roo.surf_surBou.2..Q_flow|roo.surf_surBou.1..T|roo.surf_surBou.2..T|roo.surf_surBou.3..T|roo.surf_surBou.4..T|roo.surf_surBou.5..T|roo.surf_surBou.6..T|conPID.u_s|conPID.u_m|conPID.y",fileNamePrefix="Buildings_10_Buildings.ThermalZones.Detailed.Examples.FFD.NaturalConvectionWithControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001662/0.001662, allocations: 110.5 kB / 16.41 MB, free: 6.496 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.001756/0.001756, allocations: 183 kB / 17.34 MB, free: 5.762 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.345/1.345, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.466/2.466, allocations: 437.1 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 68.11 kB / 1.019 GB, free: 9.367 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9678/0.9691, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.FFD.NaturalConvectionWithControl): time 0.2118/1.181, allocations: 206 MB / 1.369 GB, free: 5.004 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.05762/1.239, allocations: 33.41 MB / 1.401 GB, free: 3.48 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01315/1.252, allocations: 318.2 kB / 1.401 GB, free: 3.168 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.01028/1.262, allocations: 3.005 MB / 1.404 GB, free: 152 kB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0101/1.272, allocations: 2.607 MB / 1.407 GB, free: 13.53 MB / 1.139 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/ThermalZones/Detailed/BaseClasses/CFDExchange.mo:64:3-114:21:writable] Warning: Pure function 'Buildings.ThermalZones.Detailed.Examples.FFD.NaturalConvectionWithControl.roo.air.cfd.sendParameters' contains a call to impure function 'Buildings.ThermalZones.Detailed.BaseClasses.cfdStartCosimulation'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/ThermalZones/Detailed/BaseClasses/CFDExchange.mo:119:3-142:15:writable] Warning: Pure function 'Buildings.ThermalZones.Detailed.Examples.FFD.NaturalConvectionWithControl.roo.air.cfd.exchange' contains a call to impure function 'Buildings.ThermalZones.Detailed.BaseClasses.cfdExchangeData'. Notification: Performance of NFTyping.typeClassSections: time 0.00951/1.282, allocations: 2.751 MB / 1.41 GB, free: 10.79 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.01628/1.298, allocations: 11.05 MB / 1.42 GB, free: 15.72 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007749/1.306, allocations: 4.052 MB / 1.424 GB, free: 11.61 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007064/1.313, allocations: 3.416 MB / 1.428 GB, free: 8.176 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006759/1.32, allocations: 3.766 MB / 1.431 GB, free: 4.398 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.002844/1.323, allocations: 0.6055 MB / 1.432 GB, free: 3.793 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00515/1.328, allocations: 1.46 MB / 1.433 GB, free: 2.332 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.003495/1.331, allocations: 1.943 MB / 1.435 GB, free: 392 kB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.007554/1.339, allocations: 3.797 MB / 1.439 GB, free: 12.57 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.01923/1.358, allocations: 12.21 MB / 1.451 GB, free: 320 kB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/1.358, allocations: 4 kB / 1.451 GB, free: 316 kB / 1.17 GB Notification: Performance of FrontEnd: time 1.703e-06/1.358, allocations: 0 / 1.451 GB, free: 316 kB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0004213/1.359, allocations: 0 / 1.451 GB, free: 316 kB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 555 * Number of variables: 555 Notification: Performance of Generate backend data structure: time 0.02195/1.381, allocations: 9.573 MB / 1.46 GB, free: 6.523 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/1.381, allocations: 12.92 kB / 1.46 GB, free: 6.512 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003734/1.385, allocations: 0.9669 MB / 1.461 GB, free: 5.539 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01545/1.4, allocations: 7.474 MB / 1.469 GB, free: 13.98 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001913/1.4, allocations: 196.2 kB / 1.469 GB, free: 13.78 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006587/1.401, allocations: 271.9 kB / 1.469 GB, free: 13.52 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005572/1.407, allocations: 3.136 MB / 1.472 GB, free: 10.16 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.859e-05/1.407, allocations: 11.89 kB / 1.472 GB, free: 10.14 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002829/1.407, allocations: 91.98 kB / 1.472 GB, free: 10.05 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.623e-05/1.407, allocations: 86.3 kB / 1.472 GB, free: 9.969 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005653/1.413, allocations: 3.068 MB / 1.475 GB, free: 6.891 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.02982/1.442, allocations: 15.42 MB / 1.49 GB, free: 7.152 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005124/1.448, allocations: 2.461 MB / 1.493 GB, free: 4.68 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002243/1.45, allocations: 1.246 MB / 1.494 GB, free: 3.434 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00013/1.45, allocations: 49.58 kB / 1.494 GB, free: 3.387 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002778/1.453, allocations: 1.503 MB / 1.495 GB, free: 1.852 MB / 1.217 GB Notification: Performance of pre-optimization done (n=187): time 3.977e-06/1.453, allocations: 0 / 1.495 GB, free: 1.852 MB / 1.217 GB Notification: Performance of matching and sorting (n=187): time 0.01323/1.466, allocations: 5.088 MB / 1.5 GB, free: 12.7 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001822/1.466, allocations: 326.5 kB / 1.501 GB, free: 12.32 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02482/1.491, allocations: 9.899 MB / 1.51 GB, free: 2.445 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0008333/1.492, allocations: 105.7 kB / 1.51 GB, free: 2.336 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.00473/1.497, allocations: 3.222 MB / 1.514 GB, free: 15.1 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009276/1.498, allocations: 0.6432 MB / 1.514 GB, free: 14.45 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001246/1.499, allocations: 0.734 MB / 1.515 GB, free: 13.71 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001109/1.499, allocations: 309.1 kB / 1.515 GB, free: 13.41 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002647/1.502, allocations: 1.723 MB / 1.517 GB, free: 11.68 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003513/1.505, allocations: 2.693 MB / 1.52 GB, free: 8.664 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005016/1.51, allocations: 3.702 MB / 1.523 GB, free: 4.652 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.781e-05/1.51, allocations: 8 kB / 1.523 GB, free: 4.645 MB / 1.248 GB Notification: Performance of matching and sorting (n=429) (initialization): time 0.01128/1.522, allocations: 5.689 MB / 1.529 GB, free: 14.92 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 6.05e-05/1.522, allocations: 41.7 kB / 1.529 GB, free: 14.88 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.604e-05/1.522, allocations: 24 kB / 1.529 GB, free: 14.85 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002215/1.524, allocations: 0.6422 MB / 1.529 GB, free: 14.2 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004771/1.529, allocations: 0.9126 MB / 1.53 GB, free: 13.29 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01538/1.544, allocations: 15.36 MB / 1.545 GB, free: 12.81 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004907/1.549, allocations: 473.1 kB / 1.546 GB, free: 12.35 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007821/1.55, allocations: 144 kB / 1.546 GB, free: 12.21 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007193/1.557, allocations: 4.051 MB / 1.55 GB, free: 8.148 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003589/1.561, allocations: 2.656 MB / 1.552 GB, free: 5.172 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005163/1.566, allocations: 3.663 MB / 1.556 GB, free: 1.199 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.688e-05/1.566, allocations: 4 kB / 1.556 GB, free: 1.195 MB / 1.279 GB Notification: Performance of matching and sorting (n=429) (initialization_lambda0): time 0.7637/2.33, allocations: 5.636 MB / 1.562 GB, free: 370.4 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 5.285e-05/2.33, allocations: 39.94 kB / 1.562 GB, free: 370.4 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.694e-05/2.33, allocations: 24.78 kB / 1.562 GB, free: 370.4 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002314/2.332, allocations: 0.6463 MB / 1.562 GB, free: 370.4 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003287/2.335, allocations: 0.6667 MB / 1.563 GB, free: 370.3 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007896/2.343, allocations: 6.314 MB / 1.569 GB, free: 367.4 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00642/2.35, allocations: 373.5 kB / 1.569 GB, free: 367.3 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001072/2.351, allocations: 142.4 kB / 1.57 GB, free: 367.3 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 81 (roo.air.cfd.uIntPre[9],$PRE.roo.air.cfd.uIntPre[9],roo.air.cfd.uIntPre[8],$PRE.roo.air.cfd.uIntPre[8],roo.air.cfd.uIntPre[7],$PRE.roo.air.cfd.uIntPre[7],roo.air.cfd.uIntPre[6],$PRE.roo.air.cfd.uIntPre[6],roo.air.cfd.uIntPre[5],$PRE.roo.air.cfd.uIntPre[5],roo.air.cfd.uIntPre[4],$PRE.roo.air.cfd.uIntPre[4],roo.air.cfd.uIntPre[3],$PRE.roo.air.cfd.uIntPre[3],roo.air.cfd.uIntPre[2],$PRE.roo.air.cfd.uIntPre[2],roo.air.cfd.uIntPre[1],$PRE.roo.air.cfd.uIntPre[1],roo.air.cfd.firstTrigger,$PRE.roo.air.cfd.firstTrigger,roo.air.cfd.retVal,$PRE.roo.air.cfd.retVal,roo.air.cfd.modTimRea,$PRE.roo.air.cfd.modTimRea,roo.air.cfd.uWri[9],$PRE.roo.air.cfd.uWri[9],roo.air.cfd.uWri[2],$PRE.roo.air.cfd.uWri[2],roo.air.cfd.uWri[1],$PRE.roo.air.cfd.uWri[1],roo.air.cfd.sampleTrigger,$whenCondition1,$whenCondition2,roo.air.cfd.y[9],$PRE.roo.air.cfd.y[9],roo.air.cfd.y[7],$PRE.roo.air.cfd.y[7],weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,roo.air.cfd.uWri[7],$PRE.roo.air.cfd.uWri[7],roo.air.cfd.y[8],$PRE.roo.air.cfd.y[8],roo.air.cfd.uWri[8],$PRE.roo.air.cfd.uWri[8],roo.air.cfd.uWri[6],$PRE.roo.air.cfd.uWri[6],roo.air.cfd.uWri[5],$PRE.roo.air.cfd.uWri[5],roo.air.cfd.uWri[4],$PRE.roo.air.cfd.uWri[4],roo.air.cfd.uWri[3],$PRE.roo.air.cfd.uWri[3],roo.air.cfd.y[6],$PRE.roo.air.cfd.y[6],roo.air.cfd.y[5],$PRE.roo.air.cfd.y[5],roo.air.cfd.y[4],$PRE.roo.air.cfd.y[4],roo.air.cfd.y[3],$PRE.roo.air.cfd.y[3],roo.air.cfd.y[2],$PRE.roo.air.cfd.y[2],roo.air.cfd.y[1],$PRE.roo.air.cfd.y[1],conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (416): * Single equations (assignments): 407 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001129/2.352, allocations: 493.4 kB / 1.57 GB, free: 366.9 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002362/2.354, allocations: 0.7428 MB / 1.571 GB, free: 366.7 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004112/2.359, allocations: 1.727 MB / 1.572 GB, free: 366 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.36e-05/2.359, allocations: 18.97 kB / 1.572 GB, free: 366 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.075e-05/2.359, allocations: 2.875 kB / 1.572 GB, free: 366 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.083e-05/2.359, allocations: 17.12 kB / 1.572 GB, free: 366 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01525/2.374, allocations: 7.758 MB / 1.58 GB, free: 363.1 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-05/2.374, allocations: 3.938 kB / 1.58 GB, free: 363.1 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002747/2.377, allocations: 0.4942 MB / 1.581 GB, free: 363.1 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001941/2.379, allocations: 0.6069 MB / 1.581 GB, free: 363 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004257/2.379, allocations: 59.95 kB / 1.581 GB, free: 362.9 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01174/2.391, allocations: 15.16 MB / 1.596 GB, free: 347.1 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/2.391, allocations: 0 / 1.596 GB, free: 347.1 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0115/2.402, allocations: 5.542 MB / 1.601 GB, free: 341.6 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003584/2.406, allocations: 1.427 MB / 1.603 GB, free: 340.2 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002174/2.408, allocations: 91.95 kB / 1.603 GB, free: 340.1 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003481/2.412, allocations: 152 kB / 1.603 GB, free: 340 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004711/2.412, allocations: 137.8 kB / 1.603 GB, free: 339.8 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002611/2.413, allocations: 67.95 kB / 1.603 GB, free: 339.8 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.01334/2.426, allocations: 6.924 MB / 1.61 GB, free: 332.9 MB / 1.279 GB Notification: Performance of sort global known variables: time 3.71e-07/2.426, allocations: 3.781 kB / 1.61 GB, free: 332.9 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.009462/2.435, allocations: 2.362 MB / 1.612 GB, free: 330.6 MB / 1.279 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (roo.air.cfd.uInt[1],roo.air.cfd.uInt[2],roo.air.cfd.uInt[3],roo.air.cfd.uInt[4],roo.air.cfd.uInt[5],roo.air.cfd.uInt[6],roo.air.cfd.uInt[7],roo.air.cfd.uInt[8],roo.air.cfd.uInt[9],roo.air.fluInt.p,conPID.I.y) * Number of discrete variables: 43 (roo.air.cfd.sampleTrigger,$whenCondition2,$whenCondition1,roo.air.cfd.firstTrigger,roo.air.cfd.y[1],roo.air.cfd.y[2],roo.air.cfd.y[3],roo.air.cfd.y[4],roo.air.cfd.y[5],roo.air.cfd.y[6],roo.air.cfd.y[7],roo.air.cfd.y[8],roo.air.cfd.y[9],roo.air.cfd.uIntPre[1],roo.air.cfd.uIntPre[2],roo.air.cfd.uIntPre[3],roo.air.cfd.uIntPre[4],roo.air.cfd.uIntPre[5],roo.air.cfd.uIntPre[6],roo.air.cfd.uIntPre[7],roo.air.cfd.uIntPre[8],roo.air.cfd.uIntPre[9],roo.air.cfd.uWri[1],roo.air.cfd.uWri[2],roo.air.cfd.uWri[3],roo.air.cfd.uWri[4],roo.air.cfd.uWri[5],roo.air.cfd.uWri[6],roo.air.cfd.uWri[7],roo.air.cfd.uWri[8],roo.air.cfd.uWri[9],roo.air.cfd.modTimRea,roo.air.cfd.retVal,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 34 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,roo.air.cfd.u[1],roo.air.cfd.uIntPre[1],roo.air.cfd.u[2],roo.air.cfd.uIntPre[2],roo.air.cfd.u[3],roo.air.cfd.uIntPre[3],roo.air.cfd.u[4],roo.air.cfd.uIntPre[4],roo.air.cfd.u[5],roo.air.cfd.uIntPre[5],roo.air.cfd.u[6],roo.air.cfd.uIntPre[6],roo.air.cfd.u[7],roo.air.cfd.uIntPre[7],roo.air.cfd.uIntPre[8],roo.air.cfd.u[9],roo.air.cfd.uIntPre[9],roo.air.cfd.retVal,roo.air.cfd.y[9],roo.air.cfd.y[8],roo.air.cfd.y[7],roo.air.cfd.y[6],roo.air.cfd.y[5],roo.air.cfd.y[4],roo.air.cfd.y[3],roo.air.cfd.y[2],roo.air.cfd.y[1],roo.air.cfd.modTimRea,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (176): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 24 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002231/2.438, allocations: 0.9132 MB / 1.613 GB, free: 330 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01364/2.451, allocations: 7.273 MB / 1.62 GB, free: 322.7 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/2.451, allocations: 0 / 1.62 GB, free: 322.7 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.005117/2.457, allocations: 2.23 MB / 1.622 GB, free: 320.4 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01116/2.468, allocations: 2.414 MB / 1.625 GB, free: 318.1 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02308/2.491, allocations: 13.17 MB / 1.638 GB, free: 304.9 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004359/2.495, allocations: 4.394 MB / 1.642 GB, free: 300.5 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001922/2.497, allocations: 415.4 kB / 1.642 GB, free: 300.1 MB / 1.279 GB Notification: Performance of SimCode: time 6.41e-07/2.497, allocations: 0 / 1.642 GB, free: 300.1 MB / 1.279 GB Notification: Performance of Templates: time 0.4396/2.937, allocations: 422.7 MB / 2.055 GB, free: 4.996 MB / 1.404 GB make -j1 -f Buildings_10_Buildings.ThermalZones.Detailed.Examples.FFD.NaturalConvectionWithControl.makefile make -j1 -f Buildings_10_Buildings.ThermalZones.Detailed.Examples.FFD.NaturalConvectionWithControl.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources""-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_10_Buildings.ThermalZones.Detailed.Examples.FFD.NaturalConvectionWithControlCalcHelperMain.o OMCppBuildings_10_Buildings.ThermalZones.Detailed.Examples.FFD.NaturalConvectionWithControlCalcHelperMain.cpp In file included from OMCppBuildings_10_Buildings.ThermalZones.Detailed.Examples.FFD.NaturalConvectionWithControlCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_10_Buildings.ThermalZones.Detailed.Examples.FFD.NaturalConvectionWithControlFunctions.cpp:8: In file included from /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/cfdcosim.c:24: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/cfdCosimulation.h:35:19: error: redefinition of 'cosim' CosimulationData *cosim; ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/cfdSendStopCommand.c:16:10: note: '/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/cfdCosimulation.h' included multiple times, additional include site here #include "cfdCosimulation.h" ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/cfdcosim.c:24:10: note: '/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/cfdCosimulation.h' included multiple times, additional include site here #include "cfdCosimulation.h" ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/cfdCosimulation.h:35:19: note: unguarded header; consider using #ifdef guards or #pragma once CosimulationData *cosim; ^ In file included from OMCppBuildings_10_Buildings.ThermalZones.Detailed.Examples.FFD.NaturalConvectionWithControlCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_10_Buildings.ThermalZones.Detailed.Examples.FFD.NaturalConvectionWithControlFunctions.cpp:9: In file included from /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/cfdStartCosimulation.c:19: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/cfdCosimulation.h:35:19: error: redefinition of 'cosim' CosimulationData *cosim; ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/cfdSendStopCommand.c:16:10: note: '/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/cfdCosimulation.h' included multiple times, additional include site here #include "cfdCosimulation.h" ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/cfdStartCosimulation.c:19:10: note: '/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/cfdCosimulation.h' included multiple times, additional include site here #include "cfdCosimulation.h" ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/cfdCosimulation.h:35:19: note: unguarded header; consider using #ifdef guards or #pragma once CosimulationData *cosim; ^ In file included from OMCppBuildings_10_Buildings.ThermalZones.Detailed.Examples.FFD.NaturalConvectionWithControlCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_10_Buildings.ThermalZones.Detailed.Examples.FFD.NaturalConvectionWithControlFunctions.cpp:10: In file included from /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/cfdExchangeData.c:14: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/cfdCosimulation.h:35:19: error: redefinition of 'cosim' CosimulationData *cosim; ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/cfdSendStopCommand.c:16:10: note: '/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/cfdCosimulation.h' included multiple times, additional include site here #include "cfdCosimulation.h" ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/cfdExchangeData.c:14:10: note: '/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/cfdCosimulation.h' included multiple times, additional include site here #include "cfdCosimulation.h" ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources/cfdCosimulation.h:35:19: note: unguarded header; consider using #ifdef guards or #pragma once CosimulationData *cosim; ^ 3 errors generated. make: *** [: OMCppBuildings_10_Buildings.ThermalZones.Detailed.Examples.FFD.NaturalConvectionWithControlCalcHelperMain.o] Error 1