Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc.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.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 115 kB / 16.37 MB, free: 6 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.001116/0.001116, allocations: 189.3 kB / 17.3 MB, free: 5.617 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.469/1.469, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.894/1.894, allocations: 292.3 MB / 0.5496 GB, free: 17.39 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.001361/0.001362, allocations: 79.88 kB / 0.6729 GB, free: 5.824 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2492, allocations: 114.6 MB / 0.7848 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc): time 0.6066/0.8558, allocations: 87.6 MB / 0.8704 GB, free: 5.988 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.2341/1.09, allocations: 168.9 MB / 1.035 GB, free: 9.422 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00605/1.096, allocations: 103.4 kB / 1.035 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.00503/1.101, allocations: 1.366 MB / 1.037 GB, free: 7.945 MB / 0.8262 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'. Notification: Performance of NFTyping.typeBindings: time 0.0114/1.113, allocations: 3.299 MB / 1.04 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.01228/1.125, allocations: 4.406 MB / 1.044 GB, free: 292 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01061/1.136, allocations: 6.737 MB / 1.051 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0048/1.14, allocations: 2.921 MB / 1.054 GB, free: 6.543 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006137/1.147, allocations: 2.454 MB / 1.056 GB, free: 4.09 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003889/1.151, allocations: 1.991 MB / 1.058 GB, free: 2.09 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0009543/1.151, allocations: 304 kB / 1.058 GB, free: 1.793 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00658/1.158, allocations: 2.508 MB / 1.061 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001363/1.159, allocations: 0.8644 MB / 1.062 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0027/1.162, allocations: 1.683 MB / 1.063 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01048/1.173, allocations: 5.409 MB / 1.068 GB, free: 7.297 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 9.087e-06/1.173, allocations: 4 kB / 1.068 GB, free: 7.293 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.925e-06/1.173, allocations: 3.938 kB / 1.069 GB, free: 7.289 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001376/1.173, allocations: 3.938 kB / 1.069 GB, free: 7.285 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 535 * Number of variables: 535 Notification: Performance of Generate backend data structure: time 0.008174/1.181, allocations: 3.782 MB / 1.072 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/1.181, allocations: 8.75 kB / 1.072 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002744/1.184, allocations: 0.5652 MB / 1.073 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004779/1.189, allocations: 2.408 MB / 1.075 GB, free: 380 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001323/1.189, allocations: 164.2 kB / 1.075 GB, free: 212 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003404/1.189, allocations: 220 kB / 1.075 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004141/1.193, allocations: 2.427 MB / 1.078 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.558e-05/1.193, allocations: 11.78 kB / 1.078 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002/1.194, allocations: 92 kB / 1.078 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.475e-05/1.194, allocations: 59.98 kB / 1.078 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004021/1.198, allocations: 2.24 MB / 1.08 GB, free: 10.98 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.01359/1.211, allocations: 9.797 MB / 1.09 GB, free: 0.8164 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002827/1.214, allocations: 1.52 MB / 1.091 GB, free: 15.29 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001358/1.216, allocations: 0.7217 MB / 1.092 GB, free: 14.56 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006694/1.222, allocations: 4.705 MB / 1.097 GB, free: 9.422 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001693/1.224, allocations: 0.8685 MB / 1.097 GB, free: 8.535 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=145): time 3.196e-06/1.224, allocations: 0 / 1.097 GB, free: 8.535 MB / 0.8887 GB Notification: Performance of matching and sorting (n=145): time 0.00569/1.23, allocations: 2.215 MB / 1.1 GB, free: 6.289 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001397/1.23, allocations: 252.6 kB / 1.1 GB, free: 5.988 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003036/1.233, allocations: 2.171 MB / 1.102 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0002052/1.233, allocations: 61.7 kB / 1.102 GB, free: 3.738 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001099/1.234, allocations: 1.25 MB / 1.103 GB, free: 2.473 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004465/1.235, allocations: 0.4891 MB / 1.104 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005491/1.235, allocations: 395.1 kB / 1.104 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.669e-05/1.235, allocations: 305.1 kB / 1.104 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00138/1.237, allocations: 0.6841 MB / 1.105 GB, free: 0.5977 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001894/1.239, allocations: 1.283 MB / 1.106 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003092/1.242, allocations: 1.871 MB / 1.108 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.117e-05/1.242, allocations: 4 kB / 1.108 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of matching and sorting (n=242) (initialization): time 0.004913/1.247, allocations: 2.256 MB / 1.11 GB, free: 10.78 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.067e-05/1.247, allocations: 16.88 kB / 1.11 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.073e-05/1.247, allocations: 12 kB / 1.11 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00063/1.247, allocations: 104.8 kB / 1.11 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0017/1.249, allocations: 443.3 kB / 1.111 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002469/1.252, allocations: 2.245 MB / 1.113 GB, free: 7.801 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002274/1.254, allocations: 246.6 kB / 1.113 GB, free: 7.555 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001946/1.254, allocations: 99.95 kB / 1.113 GB, free: 7.457 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002275/1.256, allocations: 1.121 MB / 1.114 GB, free: 6.332 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001763/1.258, allocations: 1.25 MB / 1.116 GB, free: 4.883 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002884/1.261, allocations: 1.82 MB / 1.117 GB, free: 2.883 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.926e-06/1.261, allocations: 7.938 kB / 1.117 GB, free: 2.875 MB / 0.9044 GB Notification: Performance of matching and sorting (n=242) (initialization_lambda0): time 0.004659/1.266, allocations: 2.198 MB / 1.12 GB, free: 0.6641 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/1.266, allocations: 12 kB / 1.12 GB, free: 0.6523 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.388e-05/1.266, allocations: 12 kB / 1.12 GB, free: 0.6406 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005598/1.266, allocations: 105.5 kB / 1.12 GB, free: 0.5352 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001615/1.268, allocations: 435.3 kB / 1.12 GB, free: 112 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002234/1.27, allocations: 2.246 MB / 1.122 GB, free: 13.7 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002173/1.272, allocations: 199.3 kB / 1.123 GB, free: 13.5 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001796/1.273, allocations: 99.95 kB / 1.123 GB, free: 13.4 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 11 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,onOffCon.y,$PRE.onOffCon.y,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2,conFan.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (233): * Single equations (assignments): 227 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005699/1.273, allocations: 304.8 kB / 1.123 GB, free: 13.1 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005682/1.274, allocations: 260.8 kB / 1.123 GB, free: 12.84 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004668/1.278, allocations: 2.055 MB / 1.125 GB, free: 10.79 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.507e-05/1.278, allocations: 16 kB / 1.125 GB, free: 10.77 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/1.278, allocations: 0 / 1.125 GB, free: 10.77 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003298/1.282, allocations: 1.745 MB / 1.127 GB, free: 8.961 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007686/1.289, allocations: 4.223 MB / 1.131 GB, free: 4.668 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/1.29, allocations: 0 / 1.131 GB, free: 4.668 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001353/1.291, allocations: 307.6 kB / 1.131 GB, free: 4.367 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004572/1.291, allocations: 84.84 kB / 1.131 GB, free: 4.281 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001083/1.291, allocations: 47.97 kB / 1.131 GB, free: 4.234 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001856/1.293, allocations: 1.66 MB / 1.133 GB, free: 2.434 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.217e-06/1.293, allocations: 4.031 kB / 1.133 GB, free: 2.43 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4797/1.773, allocations: 2.822 MB / 1.136 GB, free: 305.7 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00136/1.774, allocations: 0.5294 MB / 1.136 GB, free: 305.6 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003532/1.775, allocations: 35.52 kB / 1.136 GB, free: 305.6 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001436/1.776, allocations: 106.6 kB / 1.136 GB, free: 305.6 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002155/1.776, allocations: 120.5 kB / 1.137 GB, free: 305.6 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000133/1.777, allocations: 71.3 kB / 1.137 GB, free: 305.6 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001958/1.779, allocations: 1.446 MB / 1.138 GB, free: 305.4 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/1.779, allocations: 0 / 1.138 GB, free: 305.4 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.003723/1.782, allocations: 1.494 MB / 1.14 GB, free: 305.4 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (tow.vol.dynBal.U,pum.vol.dynBal.U,pum.filter.x[1],pum.filter.x[2],vol.dynBal.U,conFan.I.y) * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,onOffCon.y) * Number of discrete states: 3 (onOffCon.y,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (170): * Single equations (assignments): 161 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002494/1.785, allocations: 1.103 MB / 1.141 GB, free: 305.3 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.005943/1.791, allocations: 3.077 MB / 1.144 GB, free: 305 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 8.827e-06/1.791, allocations: 1.844 kB / 1.144 GB, free: 305 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001791/1.793, allocations: 0.9526 MB / 1.145 GB, free: 304.9 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005462/1.798, allocations: 1.237 MB / 1.146 GB, free: 304.8 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009982/1.808, allocations: 4.934 MB / 1.151 GB, free: 302.8 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001642/1.81, allocations: 1.774 MB / 1.152 GB, free: 302 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001017/1.811, allocations: 262.4 kB / 1.153 GB, free: 302 MB / 0.92 GB Notification: Performance of SimCode: time 1.212e-06/1.811, allocations: 1.156 kB / 1.153 GB, free: 302 MB / 0.92 GB Notification: Performance of Templates: time 0.1047/1.916, allocations: 65.64 MB / 1.217 GB, free: 268.7 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc.makefile make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc.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.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalcCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalcCalcHelperMain.cpp In file included from OMCppBuildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalcCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalcFunctions.cpp:5: /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); ^ ~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make: *** [: OMCppBuildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalcCalcHelperMain.o] Error 1