Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.RoomOnlySurfaceBoundary.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.RoomOnlySurfaceBoundary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.RoomOnlySurfaceBoundary") translateModel(Buildings.ThermalZones.Detailed.Examples.FFD.RoomOnlySurfaceBoundary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.RoomOnlySurfaceBoundary") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 104.3 kB / 16.36 MB, free: 6.305 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.001054/0.001055, 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.542/1.542, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.891/1.891, allocations: 292.3 MB / 0.5496 GB, free: 17.58 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.001534/0.001534, allocations: 75.88 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3159, allocations: 114.6 MB / 0.7848 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.FFD.RoomOnlySurfaceBoundary): time 0.8194/1.135, allocations: 201.3 MB / 0.9814 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0624/1.198, allocations: 32.04 MB / 1.013 GB, free: 488 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01629/1.214, allocations: 282.3 kB / 1.013 GB, free: 204 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.009921/1.224, allocations: 2.944 MB / 1.016 GB, free: 13.24 MB / 0.8106 GB [/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'. [/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'. Notification: Performance of NFTyping.typeBindings: time 0.01053/1.235, allocations: 2.376 MB / 1.018 GB, free: 10.86 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.RoomOnlySurfaceBoundary.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.RoomOnlySurfaceBoundary.roo.air.cfd.exchange' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.008937/1.244, allocations: 2.565 MB / 1.021 GB, free: 8.305 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01621/1.26, allocations: 10.61 MB / 1.031 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006735/1.267, allocations: 3.877 MB / 1.035 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006885/1.274, allocations: 3.151 MB / 1.038 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007514/1.281, allocations: 3.636 MB / 1.041 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.002592/1.284, allocations: 0.5781 MB / 1.042 GB, free: 2.434 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004996/1.289, allocations: 1.358 MB / 1.043 GB, free: 1.074 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.003124/1.292, allocations: 1.884 MB / 1.045 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.007405/1.299, allocations: 3.63 MB / 1.049 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.02108/1.321, allocations: 11.13 MB / 1.06 GB, free: 380 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 1.056e-05/1.321, allocations: 0 / 1.06 GB, free: 380 kB / 0.8419 GB Notification: Performance of FrontEnd: time 3.286e-06/1.321, allocations: 4 kB / 1.06 GB, free: 376 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0004585/1.321, allocations: 0 / 1.06 GB, free: 376 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.02462/1.346, allocations: 8.707 MB / 1.068 GB, free: 7.477 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/1.346, allocations: 8.031 kB / 1.068 GB, free: 7.469 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0038/1.35, allocations: 0.9003 MB / 1.069 GB, free: 6.559 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0162/1.366, allocations: 7.203 MB / 1.076 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000236/1.366, allocations: 184.5 kB / 1.076 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007298/1.367, allocations: 256 kB / 1.076 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005791/1.373, allocations: 2.887 MB / 1.079 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.475e-05/1.373, allocations: 11.84 kB / 1.079 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002048/1.373, allocations: 83.98 kB / 1.079 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.866e-05/1.373, allocations: 82.11 kB / 1.079 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005663/1.379, allocations: 2.951 MB / 1.082 GB, free: 8.668 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.03063/1.409, allocations: 13.87 MB / 1.096 GB, free: 10.58 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005188/1.415, allocations: 2.257 MB / 1.098 GB, free: 8.316 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002311/1.417, allocations: 1.185 MB / 1.099 GB, free: 7.125 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001266/1.417, allocations: 49.5 kB / 1.099 GB, free: 7.074 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002642/1.42, allocations: 1.389 MB / 1.101 GB, free: 5.656 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=168): time 3.317e-06/1.42, allocations: 0 / 1.101 GB, free: 5.656 MB / 0.8887 GB Notification: Performance of matching and sorting (n=168): time 0.0134/1.433, allocations: 4.808 MB / 1.105 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001937/1.433, allocations: 318.5 kB / 1.106 GB, free: 424 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01937/1.453, allocations: 9.706 MB / 1.115 GB, free: 6.719 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0008992/1.454, allocations: 105.7 kB / 1.115 GB, free: 6.609 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.004649/1.458, allocations: 3.082 MB / 1.118 GB, free: 3.516 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009724/1.459, allocations: 0.5549 MB / 1.119 GB, free: 2.953 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001295/1.461, allocations: 0.702 MB / 1.119 GB, free: 2.242 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001123/1.461, allocations: 305.1 kB / 1.12 GB, free: 1.941 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002745/1.464, allocations: 1.667 MB / 1.121 GB, free: 272 kB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003598/1.467, allocations: 2.616 MB / 1.124 GB, free: 13.33 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005361/1.473, allocations: 3.58 MB / 1.127 GB, free: 9.43 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.528e-05/1.473, allocations: 8 kB / 1.127 GB, free: 9.422 MB / 0.92 GB Notification: Performance of matching and sorting (n=405) (initialization): time 0.01208/1.485, allocations: 5.479 MB / 1.133 GB, free: 3.914 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 6.944e-05/1.485, allocations: 42.95 kB / 1.133 GB, free: 3.867 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.95e-05/1.485, allocations: 27.88 kB / 1.133 GB, free: 3.84 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002351/1.487, allocations: 0.6583 MB / 1.133 GB, free: 3.176 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005022/1.492, allocations: 0.8775 MB / 1.134 GB, free: 2.297 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5183/2.011, allocations: 15.33 MB / 1.149 GB, free: 284 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006857/2.018, allocations: 435.1 kB / 1.15 GB, free: 284 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009108/2.018, allocations: 134 kB / 1.15 GB, free: 284 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007519/2.026, allocations: 3.977 MB / 1.154 GB, free: 283.9 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00379/2.03, allocations: 2.589 MB / 1.156 GB, free: 282.5 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005657/2.036, allocations: 3.546 MB / 1.16 GB, free: 280.4 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.624e-05/2.036, allocations: 7.219 kB / 1.16 GB, free: 280.4 MB / 0.92 GB Notification: Performance of matching and sorting (n=405) (initialization_lambda0): time 0.01254/2.048, allocations: 5.438 MB / 1.165 GB, free: 278.7 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 6.162e-05/2.048, allocations: 40.23 kB / 1.165 GB, free: 278.7 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.956e-05/2.048, allocations: 21.56 kB / 1.165 GB, free: 278.7 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002468/2.051, allocations: 0.649 MB / 1.166 GB, free: 278.5 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002963/2.054, allocations: 0.6353 MB / 1.166 GB, free: 278.5 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0086/2.062, allocations: 6.301 MB / 1.172 GB, free: 274.5 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005604/2.068, allocations: 349.3 kB / 1.173 GB, free: 274.4 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009544/2.069, allocations: 137.5 kB / 1.173 GB, free: 274.4 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,$whenCondition3,$whenCondition4,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$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],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.00114/2.07, allocations: 481.9 kB / 1.173 GB, free: 274.1 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002328/2.072, allocations: 0.674 MB / 1.174 GB, free: 273.7 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004549/2.077, allocations: 1.54 MB / 1.176 GB, free: 273.1 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.196e-05/2.077, allocations: 23.22 kB / 1.176 GB, free: 273.1 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.47e-05/2.077, allocations: 4.375 kB / 1.176 GB, free: 273.1 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.468e-05/2.077, allocations: 9.062 kB / 1.176 GB, free: 273.1 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01903/2.096, allocations: 7.54 MB / 1.183 GB, free: 270.2 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-05/2.096, allocations: 0 / 1.183 GB, free: 270.2 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003306/2.1, allocations: 491.5 kB / 1.183 GB, free: 270.2 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002344/2.102, allocations: 0.5978 MB / 1.184 GB, free: 270.1 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003708/2.102, allocations: 53.53 kB / 1.184 GB, free: 270.1 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01487/2.117, allocations: 15.17 MB / 1.199 GB, free: 257.2 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/2.117, allocations: 5.875 kB / 1.199 GB, free: 257.2 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01309/2.13, allocations: 5.236 MB / 1.204 GB, free: 255.1 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004513/2.135, allocations: 1.349 MB / 1.205 GB, free: 254.3 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002364/2.137, allocations: 86.92 kB / 1.205 GB, free: 254.2 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003708/2.141, allocations: 147.8 kB / 1.206 GB, free: 254.2 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004646/2.142, allocations: 119.6 kB / 1.206 GB, free: 254.2 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001639/2.142, allocations: 65.25 kB / 1.206 GB, free: 254.2 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.01655/2.158, allocations: 6.798 MB / 1.212 GB, free: 251.8 MB / 0.92 GB Notification: Performance of sort global known variables: time 3.5e-07/2.158, allocations: 1.281 kB / 1.212 GB, free: 251.8 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.01239/2.171, allocations: 2.221 MB / 1.215 GB, free: 251.6 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 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,roo.air.cfd.sampleTrigger,$whenCondition4,$whenCondition3,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) * Number of discrete states: 30 (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,$whenCondition3,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * 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.002551/2.173, allocations: 0.8968 MB / 1.215 GB, free: 251.4 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0151/2.188, allocations: 7.048 MB / 1.222 GB, free: 248.6 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 9.247e-06/2.188, allocations: 0 / 1.222 GB, free: 248.6 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.005919/2.194, allocations: 2.151 MB / 1.224 GB, free: 247.5 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01006/2.205, allocations: 2.346 MB / 1.227 GB, free: 246.4 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02105/2.226, allocations: 12.61 MB / 1.239 GB, free: 237 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003358/2.229, allocations: 4.295 MB / 1.243 GB, free: 232.6 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001916/2.231, allocations: 395.4 kB / 1.244 GB, free: 232.2 MB / 0.92 GB Notification: Performance of SimCode: time 9.11e-07/2.231, allocations: 0 / 1.244 GB, free: 232.2 MB / 0.92 GB Notification: Performance of Templates: time 0.8123/3.043, allocations: 409.7 MB / 1.644 GB, free: 185.6 MB / 0.9356 GB make -j1 -f Buildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.RoomOnlySurfaceBoundary.makefile make -j1 -f Buildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.RoomOnlySurfaceBoundary.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.RoomOnlySurfaceBoundaryCalcHelperMain.o OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.RoomOnlySurfaceBoundaryCalcHelperMain.cpp In file included from OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.RoomOnlySurfaceBoundaryCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.RoomOnlySurfaceBoundaryFunctions.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.RoomOnlySurfaceBoundaryCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.RoomOnlySurfaceBoundaryFunctions.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.RoomOnlySurfaceBoundaryCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.RoomOnlySurfaceBoundaryFunctions.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.RoomOnlySurfaceBoundaryCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.RoomOnlySurfaceBoundaryFunctions.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.RoomOnlySurfaceBoundaryCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.RoomOnlySurfaceBoundaryFunctions.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.RoomOnlySurfaceBoundaryCalcHelperMain.cpp:28: ./OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.RoomOnlySurfaceBoundaryFunctions.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.RoomOnlySurfaceBoundaryCalcHelperMain.cpp:28: ./OMCppBuildings_8_Buildings.ThermalZones.Detailed.Examples.FFD.RoomOnlySurfaceBoundaryFunctions.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.RoomOnlySurfaceBoundaryCalcHelperMain.o] Error 1