Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Subsystems.Examples.CoolingTowersWithBypass.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.Experimental.DHC.CentralPlants.Cooling.Subsystems.Examples.CoolingTowersWithBypass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Subsystems.Examples.CoolingTowersWithBypass") translateModel(Buildings.Experimental.DHC.CentralPlants.Cooling.Subsystems.Examples.CoolingTowersWithBypass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Subsystems.Examples.CoolingTowersWithBypass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001153, allocations: 102.1 kB / 16.27 MB, free: 6.348 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.001082/0.001083, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.647/1.647, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.813/1.813, allocations: 292.3 MB / 0.5495 GB, free: 17.6 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.001484/0.001484, allocations: 67.89 kB / 0.6722 GB, free: 6.582 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.2715, allocations: 114.6 MB / 0.7841 GB, free: 3.914 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.CentralPlants.Cooling.Subsystems.Examples.CoolingTowersWithBypass): time 0.719/0.9905, allocations: 269.4 MB / 1.047 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.05796/1.049, allocations: 36.4 MB / 1.083 GB, free: 8.422 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009135/1.058, allocations: 151.1 kB / 1.083 GB, free: 8.273 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.008208/1.066, allocations: 2.12 MB / 1.085 GB, free: 6.141 MB / 0.8731 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.0223/1.088, allocations: 5.595 MB / 1.09 GB, free: 0.5352 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.01817/1.107, allocations: 5.953 MB / 1.096 GB, free: 10.68 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01784/1.124, allocations: 13.14 MB / 1.109 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009787/1.134, allocations: 6.123 MB / 1.115 GB, free: 7.344 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01201/1.146, allocations: 4.916 MB / 1.12 GB, free: 2.426 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007678/1.154, allocations: 3.945 MB / 1.124 GB, free: 14.46 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.002392/1.156, allocations: 0.7188 MB / 1.124 GB, free: 13.75 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0113/1.168, allocations: 4.27 MB / 1.129 GB, free: 9.473 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.003597/1.171, allocations: 1.772 MB / 1.13 GB, free: 7.695 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.00851/1.18, allocations: 3.418 MB / 1.134 GB, free: 4.262 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.6645/1.844, allocations: 12.13 MB / 1.145 GB, free: 52.08 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/1.844, allocations: 3.438 kB / 1.145 GB, free: 52.08 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.963e-06/1.844, allocations: 0 / 1.145 GB, free: 52.08 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0004539/1.845, allocations: 0 / 1.145 GB, free: 52.08 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 884 * Number of variables: 884 Notification: Performance of Generate backend data structure: time 0.0278/1.873, allocations: 7.107 MB / 1.152 GB, free: 49.32 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.91e-05/1.873, allocations: 10.88 kB / 1.152 GB, free: 49.32 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008919/1.882, allocations: 1.227 MB / 1.154 GB, free: 49 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01878/1.901, allocations: 5.3 MB / 1.159 GB, free: 48.05 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005081/1.901, allocations: 285.8 kB / 1.159 GB, free: 48.05 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002502/1.904, allocations: 379.7 kB / 1.159 GB, free: 48.04 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01476/1.918, allocations: 5.034 MB / 1.164 GB, free: 47.54 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-05/1.919, allocations: 3.156 kB / 1.164 GB, free: 47.54 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005654/1.919, allocations: 148.8 kB / 1.164 GB, free: 47.54 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001417/1.919, allocations: 100.4 kB / 1.165 GB, free: 47.54 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01328/1.933, allocations: 5.141 MB / 1.17 GB, free: 47.51 MB / 0.92 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.0596/1.992, allocations: 20.1 MB / 1.189 GB, free: 41.04 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01137/2.004, allocations: 4.384 MB / 1.194 GB, free: 40.88 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004295/2.008, allocations: 1.979 MB / 1.195 GB, free: 40.84 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02207/2.03, allocations: 9.64 MB / 1.205 GB, free: 36.82 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007145/2.037, allocations: 2.243 MB / 1.207 GB, free: 36.69 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004685/2.042, allocations: 365.5 kB / 1.207 GB, free: 36.57 MB / 0.92 GB Notification: Performance of pre-optimization done (n=265): time 3.104e-05/2.042, allocations: 0 / 1.207 GB, free: 36.57 MB / 0.92 GB Notification: Performance of matching and sorting (n=265): time 0.03734/2.079, allocations: 9.026 MB / 1.216 GB, free: 35.77 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002123/2.08, allocations: 0.5346 MB / 1.217 GB, free: 35.14 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01485/2.095, allocations: 5.009 MB / 1.222 GB, free: 34.56 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.001602/2.096, allocations: 94.56 kB / 1.222 GB, free: 34.52 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.003817/2.1, allocations: 2.264 MB / 1.224 GB, free: 33.69 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.002146/2.102, allocations: 0.9063 MB / 1.225 GB, free: 33.04 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004657/2.107, allocations: 0.7529 MB / 1.226 GB, free: 32.88 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 7.207e-05/2.107, allocations: 304.8 kB / 1.226 GB, free: 32.58 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005232/2.112, allocations: 2.062 MB / 1.228 GB, free: 32.2 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006419/2.119, allocations: 3.175 MB / 1.231 GB, free: 30.9 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01043/2.129, allocations: 4.562 MB / 1.235 GB, free: 29.76 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.515e-05/2.129, allocations: 3.562 kB / 1.235 GB, free: 29.76 MB / 0.92 GB Notification: Performance of matching and sorting (n=427) (initialization): time 0.01827/2.148, allocations: 6.089 MB / 1.241 GB, free: 28.46 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.131e-05/2.148, allocations: 11.31 kB / 1.241 GB, free: 28.46 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.11e-05/2.148, allocations: 24.36 kB / 1.241 GB, free: 28.45 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.721/4.869, allocations: 339.2 MB / 1.573 GB, free: 0.5737 GB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004504/4.874, allocations: 0.7328 MB / 1.573 GB, free: 0.5737 GB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006861/4.881, allocations: 5.747 MB / 1.579 GB, free: 0.5698 GB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006802/4.888, allocations: 345.5 kB / 1.579 GB, free: 0.5698 GB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001346/4.889, allocations: 166.8 kB / 1.579 GB, free: 0.5698 GB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.009462/4.898, allocations: 3.345 MB / 1.583 GB, free: 0.5697 GB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005976/4.904, allocations: 3.092 MB / 1.586 GB, free: 0.5687 GB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009897/4.914, allocations: 4.426 MB / 1.59 GB, free: 0.5661 GB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.972e-05/4.914, allocations: 4.5 kB / 1.59 GB, free: 0.5661 GB / 1.201 GB Notification: Performance of matching and sorting (n=427) (initialization_lambda0): time 0.01633/4.931, allocations: 5.888 MB / 1.596 GB, free: 0.5634 GB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.512e-05/4.931, allocations: 11.16 kB / 1.596 GB, free: 0.5634 GB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.487e-05/4.931, allocations: 24.08 kB / 1.596 GB, free: 0.5634 GB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.072/7.003, allocations: 339.1 MB / 1.927 GB, free: 251.4 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004417/7.007, allocations: 0.7168 MB / 1.928 GB, free: 250.8 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00804/7.015, allocations: 7.155 MB / 1.935 GB, free: 243.3 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008251/7.023, allocations: 364.8 kB / 1.935 GB, free: 242.9 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001809/7.025, allocations: 161 kB / 1.935 GB, free: 242.8 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 14 (tow.cooTowSpeCon.con1.y,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,tow.hys.y,$PRE.tow.hys.y,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (395): * Single equations (assignments): 380 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * 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): 6 systems {(1,6), (1,6), (1,1), (1,1), (3,5), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.003818/7.029, allocations: 390.1 kB / 1.936 GB, free: 242.4 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004216/7.033, allocations: 483.7 kB / 1.936 GB, free: 242.2 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01546/7.049, allocations: 5.395 MB / 1.941 GB, free: 236.9 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-05/7.049, allocations: 28 kB / 1.941 GB, free: 236.8 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/7.049, allocations: 3.938 kB / 1.941 GB, free: 236.8 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007617/7.057, allocations: 4.327 MB / 1.946 GB, free: 232.4 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02056/7.077, allocations: 10.17 MB / 1.955 GB, free: 222.3 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.31e-05/7.077, allocations: 4 kB / 1.955 GB, free: 222.3 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002201/7.079, allocations: 0.5123 MB / 1.956 GB, free: 221.8 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072/8.152, allocations: 147 MB / 2.1 GB, free: 74.63 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001086/8.153, allocations: 91.92 kB / 2.1 GB, free: 74.54 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004816/8.158, allocations: 4.598 MB / 2.104 GB, free: 69.77 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/8.158, allocations: 0 / 2.104 GB, free: 69.77 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01753/8.175, allocations: 7.512 MB / 2.111 GB, free: 62.25 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003987/8.179, allocations: 1.042 MB / 2.112 GB, free: 61.2 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002639/8.182, allocations: 71.94 kB / 2.113 GB, free: 61.13 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004881/8.187, allocations: 269 kB / 2.113 GB, free: 60.87 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000852/8.188, allocations: 198.7 kB / 2.113 GB, free: 60.67 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006798/8.189, allocations: 115.9 kB / 2.113 GB, free: 60.56 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.008453/8.197, allocations: 3.468 MB / 2.116 GB, free: 57.11 MB / 1.201 GB Notification: Performance of sort global known variables: time 5.01e-07/8.197, allocations: 1.641 kB / 2.116 GB, free: 57.11 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.01521/8.212, allocations: 2.674 MB / 2.119 GB, free: 54.66 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (tow.cooTowSys.cooTow[1].vol.dynBal.U,tow.cooTowSys.cooTow[2].vol.dynBal.U,tow.cooTowSys.val[1].filter.x[1],tow.cooTowSys.val[1].filter.x[2],tow.cooTowSys.val[2].filter.x[1],tow.cooTowSys.val[2].filter.x[2],tow.cooTowSys.senTem.T,tow.valByp.filter.x[1],tow.valByp.filter.x[2],tow.senTCWSup.T,tow.bypValCon.I.y,tow.cooTowSpeCon.I.y,pum.vol.dynBal.U,pum.filter.x[1],pum.filter.x[2],vol.dynBal.U) * Number of discrete variables: 7 ($whenCondition3,$whenCondition2,$whenCondition1,tow.hys.y,weaDat.conTimMin.tNext,weaDat.conTim.tNext,onOffCon.y) * Number of discrete states: 4 (weaDat.conTim.tNext,weaDat.conTimMin.tNext,onOffCon.y,tow.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (285): * Single equations (assignments): 270 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,6), (1,6), (3,5), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006467/8.219, allocations: 1.504 MB / 2.121 GB, free: 53.64 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.02771/8.247, allocations: 10.47 MB / 2.131 GB, free: 43.14 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.604e-05/8.247, allocations: 10.38 kB / 2.131 GB, free: 43.13 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.005882/8.253, allocations: 2.297 MB / 2.133 GB, free: 40.82 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01728/8.27, allocations: 2.494 MB / 2.135 GB, free: 38.48 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03263/8.303, allocations: 11.53 MB / 2.147 GB, free: 26.98 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002984/8.306, allocations: 3.262 MB / 2.15 GB, free: 23.68 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002406/8.308, allocations: 455.2 kB / 2.15 GB, free: 23.24 MB / 1.201 GB Notification: Performance of SimCode: time 1.824e-06/8.308, allocations: 0 / 2.15 GB, free: 23.24 MB / 1.201 GB Notification: Performance of Templates: time 0.7525/9.061, allocations: 234.1 MB / 2.379 GB, free: 413.8 MB / 1.201 GB make -j1 -f Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Subsystems.Examples.CoolingTowersWithBypass.makefile make -j1 -f Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Subsystems.Examples.CoolingTowersWithBypass.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.Experimental.DHC.CentralPlants.Cooling.Subsystems.Examples.CoolingTowersWithBypassCalcHelperMain.o OMCppBuildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Subsystems.Examples.CoolingTowersWithBypassCalcHelperMain.cpp In file included from OMCppBuildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Subsystems.Examples.CoolingTowersWithBypassCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Subsystems.Examples.CoolingTowersWithBypassFunctions.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.Experimental.DHC.CentralPlants.Cooling.Subsystems.Examples.CoolingTowersWithBypassCalcHelperMain.o] Error 1