Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvection") translateModel(Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001462/0.001462, allocations: 103.2 kB / 16.27 MB, free: 5.961 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.00152/0.00152, allocations: 188.2 kB / 17.19 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.655/1.655, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.854/1.854, allocations: 292.3 MB / 0.5495 GB, free: 17.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002079/0.002079, allocations: 75.89 kB / 0.6722 GB, free: 6.512 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2894/0.2915, allocations: 114.6 MB / 0.784 GB, free: 3.84 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvection): time 0.8262/1.118, allocations: 201.3 MB / 0.9806 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.06543/1.183, allocations: 32.05 MB / 1.012 GB, free: 0.9062 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01798/1.201, allocations: 254.6 kB / 1.012 GB, free: 0.6562 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.01095/1.212, allocations: 2.941 MB / 1.015 GB, free: 13.7 MB / 0.8106 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3' contains a call to impure function 'Modelica.Utilities.Streams.readLine'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getAbsolutePath.mo:2:1-50:20:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getAbsolutePath' contains a call to impure function 'Modelica.Utilities.Files.exist'. Notification: Performance of NFTyping.typeBindings: time 0.01148/1.224, allocations: 2.378 MB / 1.017 GB, free: 11.31 MB / 0.8106 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/ThermalZones/Detailed/BaseClasses/CFDExchange.mo:64:3-120:21:writable] Warning: Pure function 'Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvection.roo.air.cfd.sendParameters' contains a call to impure function 'Modelica.Utilities.Streams.print'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/ThermalZones/Detailed/BaseClasses/CFDExchange.mo:125:3-152:15:writable] Warning: Pure function 'Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvection.roo.air.cfd.exchange' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.01014/1.234, allocations: 2.561 MB / 1.02 GB, free: 8.77 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01785/1.252, allocations: 10.54 MB / 1.03 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007969/1.26, allocations: 3.887 MB / 1.034 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008525/1.269, allocations: 3.136 MB / 1.037 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01009/1.279, allocations: 3.671 MB / 1.041 GB, free: 3.52 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.004171/1.283, allocations: 0.5937 MB / 1.041 GB, free: 2.926 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006902/1.29, allocations: 1.343 MB / 1.042 GB, free: 1.582 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.004446/1.294, allocations: 1.885 MB / 1.044 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0105/1.305, allocations: 3.649 MB / 1.048 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01999/1.325, allocations: 11.07 MB / 1.059 GB, free: 0.9219 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 1.295e-05/1.325, allocations: 0 / 1.059 GB, free: 0.9219 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.417e-06/1.325, allocations: 0 / 1.059 GB, free: 0.9219 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0004667/1.325, allocations: 4 kB / 1.059 GB, free: 0.918 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 503 * Number of variables: 503 Notification: Performance of Generate backend data structure: time 0.02646/1.352, allocations: 8.729 MB / 1.067 GB, free: 8.004 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.958e-05/1.352, allocations: 8.031 kB / 1.067 GB, free: 7.996 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004755/1.357, allocations: 0.8925 MB / 1.068 GB, free: 7.094 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01821/1.375, allocations: 6.883 MB / 1.075 GB, free: 124 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008181/1.376, allocations: 281.5 kB / 1.075 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009433/1.377, allocations: 244 kB / 1.075 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005781/1.383, allocations: 2.887 MB / 1.078 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-05/1.383, allocations: 19.83 kB / 1.078 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002279/1.383, allocations: 83.98 kB / 1.078 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001097/1.383, allocations: 82.05 kB / 1.078 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005709/1.389, allocations: 2.947 MB / 1.081 GB, free: 9.434 MB / 0.8731 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.03272/1.422, allocations: 14.02 MB / 1.095 GB, free: 11.18 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005199/1.427, allocations: 2.259 MB / 1.097 GB, free: 8.914 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002378/1.429, allocations: 1.189 MB / 1.098 GB, free: 7.723 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001279/1.429, allocations: 42.59 kB / 1.098 GB, free: 7.684 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002825/1.432, allocations: 1.385 MB / 1.1 GB, free: 6.27 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=168): time 4.449e-06/1.432, allocations: 0 / 1.1 GB, free: 6.27 MB / 0.8887 GB Notification: Performance of matching and sorting (n=168): time 0.0138/1.446, allocations: 4.808 MB / 1.104 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002074/1.446, allocations: 314.6 kB / 1.105 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02177/1.468, allocations: 9.808 MB / 1.114 GB, free: 7.23 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.001279/1.469, allocations: 105.7 kB / 1.114 GB, free: 7.121 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.007358/1.477, allocations: 3.082 MB / 1.117 GB, free: 4.027 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.001588/1.479, allocations: 0.5549 MB / 1.118 GB, free: 3.465 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001736/1.48, allocations: 0.7098 MB / 1.119 GB, free: 2.746 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001794/1.48, allocations: 305.1 kB / 1.119 GB, free: 2.445 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003187/1.484, allocations: 1.667 MB / 1.121 GB, free: 0.7695 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004408/1.488, allocations: 2.616 MB / 1.123 GB, free: 13.83 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006594/1.495, allocations: 3.59 MB / 1.127 GB, free: 9.93 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-05/1.495, allocations: 12 kB / 1.127 GB, free: 9.918 MB / 0.92 GB Notification: Performance of matching and sorting (n=405) (initialization): time 0.01366/1.509, allocations: 5.466 MB / 1.132 GB, free: 4.422 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001006/1.509, allocations: 49.62 kB / 1.132 GB, free: 4.367 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-05/1.509, allocations: 23.94 kB / 1.132 GB, free: 4.344 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002444/1.511, allocations: 0.6467 MB / 1.133 GB, free: 3.691 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005293/1.516, allocations: 0.8813 MB / 1.133 GB, free: 2.809 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6606/2.177, allocations: 15.34 MB / 1.148 GB, free: 285.6 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007432/2.185, allocations: 435.4 kB / 1.149 GB, free: 285.6 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001078/2.186, allocations: 134.3 kB / 1.149 GB, free: 285.6 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008443/2.194, allocations: 3.97 MB / 1.153 GB, free: 285.5 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004114/2.198, allocations: 2.586 MB / 1.155 GB, free: 284.2 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006383/2.205, allocations: 3.548 MB / 1.159 GB, free: 282.2 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.356e-05/2.205, allocations: 11 kB / 1.159 GB, free: 282.2 MB / 0.92 GB Notification: Performance of matching and sorting (n=405) (initialization_lambda0): time 0.01542/2.22, allocations: 5.427 MB / 1.164 GB, free: 280.4 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 9.354e-05/2.22, allocations: 45.09 kB / 1.164 GB, free: 280.4 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.12e-05/2.22, allocations: 25.78 kB / 1.164 GB, free: 280.4 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002645/2.223, allocations: 0.6545 MB / 1.165 GB, free: 280.3 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003315/2.226, allocations: 0.6353 MB / 1.166 GB, free: 280.3 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009843/2.236, allocations: 6.306 MB / 1.172 GB, free: 276.3 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006561/2.243, allocations: 354.2 kB / 1.172 GB, free: 276.1 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001108/2.244, allocations: 137.6 kB / 1.172 GB, free: 276.1 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 71 (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.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition3,$whenCondition4,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 (392): * Single equations (assignments): 383 * 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.001295/2.245, allocations: 471.7 kB / 1.173 GB, free: 275.8 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002799/2.248, allocations: 0.6772 MB / 1.173 GB, free: 275.4 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005436/2.254, allocations: 1.544 MB / 1.175 GB, free: 274.8 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-05/2.254, allocations: 15.78 kB / 1.175 GB, free: 274.8 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.192e-05/2.254, allocations: 5.078 kB / 1.175 GB, free: 274.8 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.768e-05/2.254, allocations: 12.89 kB / 1.175 GB, free: 274.8 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02415/2.278, allocations: 7.527 MB / 1.182 GB, free: 272 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.801e-05/2.278, allocations: 1.719 kB / 1.182 GB, free: 272 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003493/2.281, allocations: 487.2 kB / 1.183 GB, free: 271.9 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002395/2.284, allocations: 0.6004 MB / 1.183 GB, free: 271.8 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004183/2.284, allocations: 53.05 kB / 1.183 GB, free: 271.8 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0169/2.301, allocations: 15.16 MB / 1.198 GB, free: 258.9 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/2.301, allocations: 2.344 kB / 1.198 GB, free: 258.9 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01731/2.319, allocations: 5.228 MB / 1.203 GB, free: 256.8 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00663/2.325, allocations: 1.367 MB / 1.204 GB, free: 256 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003329/2.329, allocations: 86.3 kB / 1.205 GB, free: 256 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00478/2.334, allocations: 146 kB / 1.205 GB, free: 255.9 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006789/2.334, allocations: 117.1 kB / 1.205 GB, free: 255.9 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002176/2.334, allocations: 67.41 kB / 1.205 GB, free: 255.9 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.02175/2.356, allocations: 6.87 MB / 1.212 GB, free: 253.5 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.102e-06/2.356, allocations: 0 / 1.212 GB, free: 253.5 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.01837/2.375, allocations: 2.231 MB / 1.214 GB, free: 253.3 MB / 0.92 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: 37 (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,$whenCondition4,$whenCondition3,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 30 (weaDat.conTimMin.tNext,weaDat.conTim.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 (157): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 21 * 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.003567/2.378, allocations: 0.8997 MB / 1.215 GB, free: 253.1 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.02294/2.401, allocations: 7.663 MB / 1.222 GB, free: 250.3 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.812e-05/2.401, allocations: 0.5 kB / 1.222 GB, free: 250.3 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.007268/2.409, allocations: 2.151 MB / 1.224 GB, free: 249.2 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0181/2.427, allocations: 2.353 MB / 1.227 GB, free: 248.2 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03351/2.46, allocations: 12.77 MB / 1.239 GB, free: 238.1 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007791/2.468, allocations: 4.291 MB / 1.243 GB, free: 233.7 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003114/2.472, allocations: 391.4 kB / 1.244 GB, free: 233.4 MB / 0.92 GB Notification: Performance of SimCode: time 2.404e-06/2.472, allocations: 0 / 1.244 GB, free: 233.4 MB / 0.92 GB Notification: Performance of Templates: time 1.049/3.52, allocations: 409.8 MB / 1.644 GB, free: 188.1 MB / 0.9356 GB make -j1 -f Buildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvection.makefile make -j1 -f Buildings_8_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/Buildings 8.1.4-maint.8.1.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/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvectionCalcHelperMain.o OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvectionCalcHelperMain.cpp In file included from OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvectionCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvectionFunctions.cpp:6: In file included from /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cfdcosim.c:24: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cfdCosimulation.h:35:19: error: redefinition of 'cosim' CosimulationData *cosim; ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cfdSendStopCommand.c:16:10: note: '/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cfdCosimulation.h' included multiple times, additional include site here #include "cfdCosimulation.h" ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cfdcosim.c:24:10: note: '/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cfdCosimulation.h' included multiple times, additional include site here #include "cfdCosimulation.h" ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvectionCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvectionFunctions.cpp:7: In file included from /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cfdStartCosimulation.c:19: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cfdCosimulation.h:35:19: error: redefinition of 'cosim' CosimulationData *cosim; ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cfdSendStopCommand.c:16:10: note: '/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cfdCosimulation.h' included multiple times, additional include site here #include "cfdCosimulation.h" ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cfdStartCosimulation.c:19:10: note: '/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cfdCosimulation.h' included multiple times, additional include site here #include "cfdCosimulation.h" ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvectionCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvectionFunctions.cpp:7: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cfdStartCosimulation.c:85:25: error: incompatible pointer types assigning to 'int *' from 'size_t *' (aka 'unsigned long *') cosim->para->bouCon = (size_t *) malloc(nSur*sizeof(size_t)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvectionCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvectionFunctions.cpp:8: In file included from /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cfdExchangeData.c:14: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cfdCosimulation.h:35:19: error: redefinition of 'cosim' CosimulationData *cosim; ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cfdSendStopCommand.c:16:10: note: '/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cfdCosimulation.h' included multiple times, additional include site here #include "cfdCosimulation.h" ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cfdExchangeData.c:14:10: note: '/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cfdCosimulation.h' included multiple times, additional include site here #include "cfdCosimulation.h" ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvectionCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvectionFunctions.cpp:9: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/getTimeSpan.c:27:9: error: cannot initialize a variable of type 'char *' with an rvalue of type 'void *' char *result = malloc(len1 + len2 + 1); ^ ~~~~~~~~~~~~~~~~~~~~~~~ In file included from OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvectionCalcHelperMain.cpp:28: ./OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvectionFunctions.cpp:448:17: error: no matching function for call to 'cfdExchangeData' retVal__ext = cfdExchangeData(t__ext, dt__ext, ConstArray(u_).getData(), nU__ext, nY__ext, &modTimRea__ext, y_.getData()); ^~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cfdExchangeData.c:33:5: note: candidate function not viable: 3rd argument ('const double *') would lose const qualifier int cfdExchangeData(double t0, double dt, double *u, size_t nU, size_t nY, ^ In file included from OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvectionCalcHelperMain.cpp:28: ./OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvectionFunctions.cpp:496:17: error: no matching function for call to 'cfdStartCosimulation' retVal__ext = cfdStartCosimulation(cfdFilNam_.c_str(), name__ext, ConstArray(A_).getData(), ConstArray(til_).getData(), ConstArray(bouCon_).getData(), nPorts__ext, portName__ext, haveSensor__ext, sensorName__ext, haveShade__ext, nSur__ext, nSen__ext, nConExtWin__ext, nXi__ext, nC__ext, rho_start__ext); ^~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cfdStartCosimulation.c:46:5: note: candidate function not viable: 1st argument ('const char *') would lose const qualifier int cfdStartCosimulation(char *cfdFilNam, char **name, double *A, double *til, ^ 7 errors generated. make: *** [: OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvectionCalcHelperMain.o] Error 1