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.001142/0.001143, allocations: 103.2 kB / 16.36 MB, free: 6.301 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.001124/0.001124, allocations: 192.5 kB / 17.29 MB, free: 5.875 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.521/1.521, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.833/1.833, allocations: 292.3 MB / 0.5496 GB, free: 17.42 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.001471/0.001472, allocations: 74.81 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2894, allocations: 114.6 MB / 0.7848 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvection): time 0.8422/1.132, allocations: 201.3 MB / 0.9814 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0673/1.199, allocations: 32.06 MB / 1.013 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01951/1.219, allocations: 282.2 kB / 1.013 GB, free: 224 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.01148/1.23, allocations: 2.939 MB / 1.016 GB, free: 13.27 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.01135/1.242, allocations: 2.378 MB / 1.018 GB, free: 10.88 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.009565/1.251, allocations: 2.568 MB / 1.021 GB, free: 8.328 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01653/1.268, allocations: 10.59 MB / 1.031 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006701/1.275, allocations: 3.893 MB / 1.035 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006706/1.281, allocations: 3.155 MB / 1.038 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007755/1.289, allocations: 3.626 MB / 1.041 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.002306/1.291, allocations: 0.5859 MB / 1.042 GB, free: 2.453 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004832/1.296, allocations: 1.37 MB / 1.043 GB, free: 1.082 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.00258/1.299, allocations: 1.869 MB / 1.045 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.006898/1.306, allocations: 3.637 MB / 1.049 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01457/1.32, allocations: 11.11 MB / 1.06 GB, free: 412 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/1.32, allocations: 0 / 1.06 GB, free: 412 kB / 0.8419 GB Notification: Performance of FrontEnd: time 2.154e-06/1.32, allocations: 0 / 1.06 GB, free: 412 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0002914/1.321, allocations: 0 / 1.06 GB, free: 412 kB / 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.02068/1.341, allocations: 8.725 MB / 1.068 GB, free: 7.492 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/1.341, allocations: 8.031 kB / 1.068 GB, free: 7.484 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003988/1.345, allocations: 0.8964 MB / 1.069 GB, free: 6.578 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01748/1.363, allocations: 7.205 MB / 1.076 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001899/1.363, allocations: 187.8 kB / 1.076 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006092/1.364, allocations: 248 kB / 1.076 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005747/1.37, allocations: 2.891 MB / 1.079 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-05/1.37, allocations: 11.84 kB / 1.079 GB, free: 11.81 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002475/1.37, allocations: 83.98 kB / 1.079 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001203/1.37, allocations: 82.11 kB / 1.079 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006287/1.376, allocations: 2.951 MB / 1.082 GB, free: 8.688 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.03175/1.408, allocations: 13.87 MB / 1.096 GB, free: 10.59 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004851/1.413, allocations: 2.263 MB / 1.098 GB, free: 8.32 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002173/1.415, allocations: 1.189 MB / 1.099 GB, free: 7.129 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001139/1.415, allocations: 38.61 kB / 1.099 GB, free: 7.094 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002587/1.418, allocations: 1.398 MB / 1.101 GB, free: 5.664 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=168): time 3.967e-06/1.418, allocations: 4 kB / 1.101 GB, free: 5.66 MB / 0.8887 GB Notification: Performance of matching and sorting (n=168): time 0.01326/1.431, allocations: 4.808 MB / 1.105 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002224/1.432, allocations: 314.6 kB / 1.106 GB, free: 428 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02048/1.452, allocations: 9.706 MB / 1.115 GB, free: 6.719 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0009581/1.453, allocations: 105.7 kB / 1.115 GB, free: 6.609 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.004561/1.458, allocations: 3.078 MB / 1.118 GB, free: 3.523 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.001096/1.459, allocations: 0.5588 MB / 1.119 GB, free: 2.957 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001327/1.46, allocations: 0.7058 MB / 1.119 GB, free: 2.242 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001142/1.46, allocations: 301.1 kB / 1.12 GB, free: 1.945 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002667/1.463, allocations: 1.671 MB / 1.121 GB, free: 272 kB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003533/1.466, allocations: 2.616 MB / 1.124 GB, free: 13.33 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005239/1.472, allocations: 3.589 MB / 1.127 GB, free: 9.426 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-05/1.472, allocations: 8 kB / 1.127 GB, free: 9.418 MB / 0.92 GB Notification: Performance of matching and sorting (n=405) (initialization): time 0.01235/1.484, allocations: 5.47 MB / 1.133 GB, free: 3.918 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 9.198e-05/1.484, allocations: 45.69 kB / 1.133 GB, free: 3.867 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.488e-05/1.484, allocations: 32.03 kB / 1.133 GB, free: 3.836 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002398/1.487, allocations: 0.6417 MB / 1.133 GB, free: 3.188 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005138/1.492, allocations: 0.8813 MB / 1.134 GB, free: 2.305 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5417/2.034, allocations: 15.33 MB / 1.149 GB, free: 285.8 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005612/2.039, allocations: 430.6 kB / 1.15 GB, free: 285.8 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009004/2.04, allocations: 140.3 kB / 1.15 GB, free: 285.8 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007783/2.048, allocations: 3.967 MB / 1.154 GB, free: 285.7 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003704/2.052, allocations: 2.587 MB / 1.156 GB, free: 284.4 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005544/2.057, allocations: 3.546 MB / 1.16 GB, free: 282.3 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.005e-05/2.057, allocations: 11.44 kB / 1.16 GB, free: 282.3 MB / 0.92 GB Notification: Performance of matching and sorting (n=405) (initialization_lambda0): time 0.01262/2.07, allocations: 5.436 MB / 1.165 GB, free: 280.6 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.775e-05/2.07, allocations: 44.45 kB / 1.165 GB, free: 280.5 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.323e-05/2.07, allocations: 21 kB / 1.165 GB, free: 280.5 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002298/2.072, allocations: 0.6501 MB / 1.166 GB, free: 280.4 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002954/2.075, allocations: 0.6403 MB / 1.166 GB, free: 280.4 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008877/2.084, allocations: 6.301 MB / 1.172 GB, free: 276.4 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006739/2.091, allocations: 348.5 kB / 1.173 GB, free: 276.3 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009966/2.092, allocations: 137.1 kB / 1.173 GB, free: 276.3 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.001172/2.093, allocations: 484 kB / 1.173 GB, free: 275.9 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002271/2.095, allocations: 0.6742 MB / 1.174 GB, free: 275.6 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004342/2.1, allocations: 1.54 MB / 1.176 GB, free: 275 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.895e-05/2.1, allocations: 16.12 kB / 1.176 GB, free: 275 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.527e-05/2.1, allocations: 4.234 kB / 1.176 GB, free: 275 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.286e-05/2.1, allocations: 13.53 kB / 1.176 GB, free: 275 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01769/2.118, allocations: 7.473 MB / 1.183 GB, free: 272.1 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.312e-05/2.118, allocations: 2.891 kB / 1.183 GB, free: 272.1 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003196/2.121, allocations: 488.6 kB / 1.183 GB, free: 272.1 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00234/2.123, allocations: 0.5987 MB / 1.184 GB, free: 272 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003164/2.124, allocations: 57.69 kB / 1.184 GB, free: 272 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01434/2.138, allocations: 15.16 MB / 1.199 GB, free: 259.1 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/2.138, allocations: 5.594 kB / 1.199 GB, free: 259.1 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0125/2.15, allocations: 5.235 MB / 1.204 GB, free: 257 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004334/2.155, allocations: 1.348 MB / 1.205 GB, free: 256.2 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001983/2.157, allocations: 94.81 kB / 1.205 GB, free: 256.1 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002857/2.16, allocations: 145.1 kB / 1.205 GB, free: 256.1 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004301/2.16, allocations: 118.3 kB / 1.206 GB, free: 256.1 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001587/2.16, allocations: 63.94 kB / 1.206 GB, free: 256.1 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.01534/2.176, allocations: 6.798 MB / 1.212 GB, free: 253.7 MB / 0.92 GB Notification: Performance of sort global known variables: time 5.11e-07/2.176, allocations: 0 / 1.212 GB, free: 253.7 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.01206/2.188, allocations: 2.232 MB / 1.214 GB, free: 253.4 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.002472/2.19, allocations: 0.9051 MB / 1.215 GB, free: 253.3 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01517/2.205, allocations: 7.043 MB / 1.222 GB, free: 250.5 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/2.205, allocations: 3.438 kB / 1.222 GB, free: 250.5 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.005799/2.211, allocations: 2.144 MB / 1.224 GB, free: 249.4 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01042/2.222, allocations: 2.342 MB / 1.227 GB, free: 248.4 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02279/2.245, allocations: 12.64 MB / 1.239 GB, free: 238.8 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003274/2.248, allocations: 4.299 MB / 1.243 GB, free: 234.5 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00188/2.25, allocations: 387.4 kB / 1.244 GB, free: 234.1 MB / 0.92 GB Notification: Performance of SimCode: time 8.51e-07/2.25, allocations: 4 kB / 1.244 GB, free: 234.1 MB / 0.92 GB Notification: Performance of Templates: time 0.9233/3.173, allocations: 409.8 MB / 1.644 GB, free: 189 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