Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall.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.Obsolete.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall") translateModel(Buildings.Obsolete.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 101.8 kB / 16.27 MB, free: 6.418 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.001132/0.001132, allocations: 191.6 kB / 17.2 MB, free: 5.953 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.5/1.5, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.838/1.838, allocations: 292.3 MB / 0.5495 GB, free: 17.52 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.001414/0.001415, allocations: 63.91 kB / 0.6721 GB, free: 6.516 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.2695, allocations: 114.6 MB / 0.784 GB, free: 3.836 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall): time 3.237/3.506, allocations: 0.9789 GB / 1.763 GB, free: 44.7 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.2589/3.765, allocations: 167.7 MB / 1.927 GB, free: 13.66 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05382/3.819, allocations: 0.9009 MB / 1.928 GB, free: 12.75 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.04394/3.863, allocations: 11.57 MB / 1.939 GB, free: 1.117 MB / 1.186 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/Modelica 3.2.3+maint.om/Utilities/Strings.mo:1211:5-1277:25:writable] Warning: Pure function 'Modelica.Utilities.Strings.Advanced.skipLineComments' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:965:3-1021:18:writable] Warning: Pure function 'Modelica.Utilities.Strings.syntaxError' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:846:3-933:20:writable] Warning: Pure function 'Modelica.Utilities.Strings.scanDelimiter' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:638:3-686:15:writable] Warning: Pure function 'Modelica.Utilities.Strings.scanReal' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.scanReal'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Experimental/DHC/Loads/BaseClasses/getPeakLoad.mo:2:1-99:16:writable] Warning: Pure function 'Buildings.Experimental.DHC.Loads.BaseClasses.getPeakLoad' contains a call to impure function 'Modelica.Utilities.Streams.readLine'. [/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/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'. Notification: Performance of NFTyping.typeBindings: time 0.1157/3.979, allocations: 31.54 MB / 1.97 GB, free: 1.469 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.05614/4.035, allocations: 19.19 MB / 1.988 GB, free: 14.52 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 1.61/5.645, allocations: 119.6 MB / 2.105 GB, free: 33.38 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.06597/5.711, allocations: 23.18 MB / 2.128 GB, free: 30.67 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0736/5.785, allocations: 24.33 MB / 2.152 GB, free: 29.1 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04371/5.829, allocations: 16.71 MB / 2.168 GB, free: 26.14 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.01461/5.843, allocations: 2.619 MB / 2.17 GB, free: 26.14 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05731/5.901, allocations: 14.27 MB / 2.184 GB, free: 26.14 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.02319/5.924, allocations: 6.46 MB / 2.191 GB, free: 25.27 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.0409/5.965, allocations: 13.46 MB / 2.204 GB, free: 21.78 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.09164/6.056, allocations: 41.69 MB / 2.245 GB, free: 9.68 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/6.057, allocations: 3.938 kB / 2.245 GB, free: 9.68 MB / 1.279 GB Notification: Performance of FrontEnd: time 2.295e-06/6.057, allocations: 3.984 kB / 2.245 GB, free: 9.676 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.001631/6.058, allocations: 0 / 2.245 GB, free: 9.676 MB / 1.279 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3490 * Number of variables: 3490 Notification: Performance of Generate backend data structure: time 0.09794/6.156, allocations: 25.38 MB / 2.269 GB, free: 4.68 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/6.156, allocations: 8.031 kB / 2.269 GB, free: 4.672 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03837/6.195, allocations: 5.938 MB / 2.275 GB, free: 14.79 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05501/6.25, allocations: 20.16 MB / 2.295 GB, free: 2.438 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.005049/6.255, allocations: 1.737 MB / 2.297 GB, free: 1.16 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007837/6.263, allocations: 1.406 MB / 2.298 GB, free: 212 kB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06468/6.327, allocations: 17.99 MB / 2.316 GB, free: 3.344 MB / 1.326 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009425/6.328, allocations: 33.38 kB / 2.316 GB, free: 3.332 MB / 1.326 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006349/6.335, allocations: 0.5766 MB / 2.316 GB, free: 3.188 MB / 1.326 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006789/6.335, allocations: 0.5019 MB / 2.317 GB, free: 2.695 MB / 1.326 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0547/6.39, allocations: 16.09 MB / 2.332 GB, free: 6.23 MB / 1.342 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.1909/6.581, allocations: 92.31 MB / 2.422 GB, free: 5.738 MB / 1.436 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04139/6.622, allocations: 12.57 MB / 2.435 GB, free: 9.266 MB / 1.451 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01904/6.641, allocations: 5.928 MB / 2.441 GB, free: 3.328 MB / 1.451 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 evalFunc (simulation): time 0.06861/6.71, allocations: 25.36 MB / 2.465 GB, free: 8.52 MB / 1.482 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02242/6.733, allocations: 6.314 MB / 2.471 GB, free: 2.133 MB / 1.482 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01421/6.747, allocations: 0.8326 MB / 2.472 GB, free: 1.297 MB / 1.482 GB Notification: Performance of pre-optimization done (n=786): time 5.037e-05/6.747, allocations: 0 / 2.472 GB, free: 1.297 MB / 1.482 GB Notification: Performance of matching and sorting (n=796): time 0.3658/7.113, allocations: 79.18 MB / 2.55 GB, free: 1.645 MB / 1.561 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003424/7.113, allocations: 0.586 MB / 2.55 GB, free: 0.9336 MB / 1.561 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04735/7.161, allocations: 16.11 MB / 2.566 GB, free: 0.9609 MB / 1.576 GB Notification: Performance of collectPreVariables (initialization): time 0.003273/7.164, allocations: 223.3 kB / 2.566 GB, free: 0.7383 MB / 1.576 GB Notification: Performance of collectInitialEqns (initialization): time 0.0161/7.18, allocations: 9.812 MB / 2.576 GB, free: 6.984 MB / 1.592 GB Notification: Performance of collectInitialBindings (initialization): time 0.005693/7.186, allocations: 2.714 MB / 2.578 GB, free: 4.293 MB / 1.592 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01119/7.197, allocations: 2.181 MB / 2.58 GB, free: 2.102 MB / 1.592 GB Notification: Performance of setup shared object (initialization): time 0.0001056/7.197, allocations: 309.1 kB / 2.581 GB, free: 1.797 MB / 1.592 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01654/7.214, allocations: 5.313 MB / 2.586 GB, free: 12.47 MB / 1.607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02182/7.235, allocations: 9.221 MB / 2.595 GB, free: 1.629 MB / 1.607 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: pla.coo.con.vol.dynBal.medium.p = pla.coo.con.vol.dynBal.p_start (pla.sinCoo.p = pla.coo.con.vol.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: pla.hea.eva.vol.dynBal.medium.p = pla.hea.eva.vol.dynBal.p_start (pla.sinHea.p = pla.hea.eva.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.7715/8.007, allocations: 40.53 MB / 2.635 GB, free: 0.8694 GB / 1.607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001558/8.007, allocations: 25.69 kB / 2.635 GB, free: 0.8694 GB / 1.607 GB Notification: Performance of matching and sorting (n=1326) (initialization): time 0.06984/8.077, allocations: 17.36 MB / 2.652 GB, free: 0.8645 GB / 1.607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002345/8.077, allocations: 45.03 kB / 2.652 GB, free: 0.8645 GB / 1.607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003323/8.078, allocations: 87.75 kB / 2.652 GB, free: 0.8645 GB / 1.607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0174/8.095, allocations: 4.957 MB / 2.656 GB, free: 0.8637 GB / 1.607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01178/8.107, allocations: 2.318 MB / 2.659 GB, free: 0.8635 GB / 1.607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03952/8.146, allocations: 15.08 MB / 2.673 GB, free: 0.8553 GB / 1.607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.022/8.169, allocations: 1.063 MB / 2.675 GB, free: 0.8551 GB / 1.607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005053/8.174, allocations: 0.529 MB / 2.675 GB, free: 0.855 GB / 1.607 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: pla.coo.con.vol.dynBal.medium.p = pla.coo.con.vol.dynBal.p_start pla.hea.eva.vol.dynBal.medium.p = pla.hea.eva.vol.dynBal.p_start. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0358/8.209, allocations: 8.706 MB / 2.684 GB, free: 0.8514 GB / 1.607 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0213/8.231, allocations: 9.011 MB / 2.692 GB, free: 0.845 GB / 1.607 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: pla.coo.con.vol.dynBal.medium.p = pla.coo.con.vol.dynBal.p_start (pla.sinCoo.p = pla.coo.con.vol.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: pla.hea.eva.vol.dynBal.medium.p = pla.hea.eva.vol.dynBal.p_start (pla.sinHea.p = pla.hea.eva.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1411/8.372, allocations: 38.95 MB / 2.73 GB, free: 0.8305 GB / 1.607 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.000151/8.372, allocations: 29.88 kB / 2.73 GB, free: 0.8305 GB / 1.607 GB Notification: Performance of matching and sorting (n=1326) (initialization_lambda0): time 0.06455/8.437, allocations: 16.62 MB / 2.747 GB, free: 0.8246 GB / 1.607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002012/8.437, allocations: 40 kB / 2.747 GB, free: 0.8245 GB / 1.607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002386/8.437, allocations: 92 kB / 2.747 GB, free: 0.8245 GB / 1.607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01169/8.449, allocations: 3.743 MB / 2.75 GB, free: 0.8214 GB / 1.607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01204/8.461, allocations: 2.39 MB / 2.753 GB, free: 0.8195 GB / 1.607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03443/8.495, allocations: 14.07 MB / 2.766 GB, free: 0.8072 GB / 1.607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02954/8.525, allocations: 1.114 MB / 2.768 GB, free: 0.8064 GB / 1.607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005416/8.531, allocations: 0.5212 MB / 2.768 GB, free: 0.8059 GB / 1.607 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization_lambda0 system: pla.coo.con.vol.dynBal.medium.p = pla.coo.con.vol.dynBal.p_start pla.hea.eva.vol.dynBal.medium.p = pla.hea.eva.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 404 * Number of states: 0 () * Number of discrete variables: 23 ($PRE.watTem.nextTimeEvent,$whenCondition5,$PRE.ret.loa.nextTimeEvent,$whenCondition4,$PRE.larOff.loa.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,watTem.nextTimeEventScaled,$PRE.watTem.nextTimeEventScaled,watTem.nextTimeEvent,ret.loa.nextTimeEventScaled,$PRE.ret.loa.nextTimeEventScaled,ret.loa.nextTimeEvent,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,larOff.loa.nextTimeEventScaled,$PRE.larOff.loa.nextTimeEventScaled,larOff.loa.nextTimeEvent,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1156): * Single equations (assignments): 1144 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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,4), (1,4), (2,22), (8,124)} Notification: Performance of prepare postOptimizeDAE: time 0.009668/8.54, allocations: 0.8805 MB / 2.769 GB, free: 0.8051 GB / 1.607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00908/8.549, allocations: 1.74 MB / 2.771 GB, free: 0.8043 GB / 1.607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05881/8.608, allocations: 16.23 MB / 2.786 GB, free: 0.7905 GB / 1.607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002208/8.608, allocations: 103.9 kB / 2.787 GB, free: 0.7904 GB / 1.607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-05/8.609, allocations: 2.344 kB / 2.787 GB, free: 0.7904 GB / 1.607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04218/8.651, allocations: 11.65 MB / 2.798 GB, free: 0.7789 GB / 1.607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09771/8.748, allocations: 33.31 MB / 2.83 GB, free: 0.7465 GB / 1.607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.24e-05/8.749, allocations: 12 kB / 2.831 GB, free: 0.7465 GB / 1.607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008883/8.758, allocations: 1.627 MB / 2.832 GB, free: 0.7449 GB / 1.607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01157/8.769, allocations: 3.254 MB / 2.835 GB, free: 0.7417 GB / 1.607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002418/8.772, allocations: 247.8 kB / 2.836 GB, free: 0.7415 GB / 1.607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02001/8.792, allocations: 8.572 MB / 2.844 GB, free: 0.7329 GB / 1.607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.357e-05/8.792, allocations: 27.81 kB / 2.844 GB, free: 0.7328 GB / 1.607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06663/8.858, allocations: 21.98 MB / 2.865 GB, free: 0.7113 GB / 1.607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01307/8.871, allocations: 3.286 MB / 2.869 GB, free: 0.7081 GB / 1.607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008213/8.88, allocations: 186.9 kB / 2.869 GB, free: 0.7079 GB / 1.607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01828/8.898, allocations: 0.918 MB / 2.87 GB, free: 0.707 GB / 1.607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002615/8.901, allocations: 0.5442 MB / 2.87 GB, free: 0.7065 GB / 1.607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003101/8.904, allocations: 379.7 kB / 2.871 GB, free: 0.7061 GB / 1.607 GB Notification: Performance of sorting global known variables: time 0.03188/8.936, allocations: 10.88 MB / 2.881 GB, free: 0.6956 GB / 1.607 GB Notification: Performance of sort global known variables: time 3.91e-07/8.936, allocations: 0 / 2.881 GB, free: 0.6956 GB / 1.607 GB Notification: Performance of remove unused functions: time 0.04613/8.982, allocations: 8.223 MB / 2.889 GB, free: 0.6879 GB / 1.607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 55 * Number of states: 16 (pla.coo.con.vol.dynBal.U,pla.coo.con.vol.dynBal.mXi[1],pla.coo.eva.outCon.T,pla.hea.con.outCon.T,pla.hea.eva.vol.dynBal.U,pla.hea.eva.vol.dynBal.mXi[1],pip.vol[1].dynBal.U,pip1.vol[1].dynBal.U,larOff.del_a.dynBal.U,larOff.del_b.dynBal.U,ret.del_a.dynBal.U,ret.del_b.dynBal.U,bayWatHex.valCoo.vol.dynBal.U,bayWatHex.valHea.vol.dynBal.U,splSup.vol.dynBal.U,splRet.vol.dynBal.U) * Number of discrete variables: 13 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,larOff.loa.nextTimeEvent,larOff.loa.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext,ret.loa.nextTimeEvent,ret.loa.nextTimeEventScaled,watTem.nextTimeEvent,watTem.nextTimeEventScaled) * Number of discrete states: 8 (watTem.nextTimeEvent,ret.loa.nextTimeEvent,larOff.loa.nextTimeEvent,weaDat.conTim.tNext,weaDat.conTimMin.tNext,watTem.nextTimeEventScaled,ret.loa.nextTimeEventScaled,larOff.loa.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (731): * Single equations (assignments): 689 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 31 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,4), (1,4), (8,130)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01201/8.994, allocations: 4.002 MB / 2.893 GB, free: 0.6849 GB / 1.607 GB Notification: Performance of simCode: created initialization part: time 0.1077/9.102, allocations: 26.6 MB / 2.919 GB, free: 0.6589 GB / 1.607 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-05/9.102, allocations: 11 kB / 2.919 GB, free: 0.6589 GB / 1.607 GB Notification: Performance of simCode: created simulation system equations: time 0.01892/9.121, allocations: 6.361 MB / 2.925 GB, free: 0.6526 GB / 1.607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05618/9.177, allocations: 8.871 MB / 2.934 GB, free: 0.6443 GB / 1.607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.101/9.278, allocations: 36.43 MB / 2.97 GB, free: 0.6086 GB / 1.607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01769/9.296, allocations: 8.49 MB / 2.978 GB, free: 0.6003 GB / 1.607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007114/9.303, allocations: 1.409 MB / 2.979 GB, free: 0.5989 GB / 1.607 GB Notification: Performance of SimCode: time 1.472e-06/9.303, allocations: 0 / 2.979 GB, free: 0.5989 GB / 1.607 GB Notification: Performance of Templates: time 1.749/11.05, allocations: 0.67 GB / 3.649 GB, free: 0.8211 GB / 1.608 GB make -j1 -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall.makefile make -j1 -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall.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.Obsolete.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmallCalcHelperMain.o OMCppBuildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmallCalcHelperMain.cpp In file included from OMCppBuildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmallCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmallFunctions.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.Obsolete.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmallCalcHelperMain.o] Error 1