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.00143/0.00143, allocations: 105.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.001386/0.001386, allocations: 192.1 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.463/1.463, 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.874/1.874, allocations: 292.3 MB / 0.5496 GB, free: 17.38 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.001456/0.001457, allocations: 66.25 kB / 0.6729 GB, free: 5.828 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2527, allocations: 114.6 MB / 0.7848 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall): time 3.164/3.416, allocations: 0.9789 GB / 1.764 GB, free: 44.74 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.2863/3.703, allocations: 167.7 MB / 1.927 GB, free: 13.5 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05717/3.76, allocations: 0.9009 MB / 1.928 GB, free: 12.59 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.04262/3.803, allocations: 11.57 MB / 1.94 GB, free: 0.9531 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.1183/3.921, allocations: 31.53 MB / 1.97 GB, free: 1.309 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.05802/3.979, allocations: 19.31 MB / 1.989 GB, free: 14.23 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 1.576/5.555, allocations: 120.3 MB / 2.107 GB, free: 32.71 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.06641/5.621, allocations: 23.18 MB / 2.129 GB, free: 30.02 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.07432/5.695, allocations: 24.43 MB / 2.153 GB, free: 28.46 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03991/5.735, allocations: 16.74 MB / 2.17 GB, free: 25.51 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.01427/5.75, allocations: 2.62 MB / 2.172 GB, free: 25.5 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05388/5.804, allocations: 14.31 MB / 2.186 GB, free: 25.5 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.01653/5.82, allocations: 6.455 MB / 2.192 GB, free: 24.63 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.04796/5.868, allocations: 13.46 MB / 2.206 GB, free: 21.15 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.09385/5.962, allocations: 42.13 MB / 2.247 GB, free: 8.02 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/5.962, allocations: 5.969 kB / 2.247 GB, free: 8.016 MB / 1.279 GB Notification: Performance of FrontEnd: time 2.134e-06/5.962, allocations: 0 / 2.247 GB, free: 8.016 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.00155/5.964, allocations: 0 / 2.247 GB, free: 8.016 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.09796/6.062, allocations: 25.39 MB / 2.271 GB, free: 3.016 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/6.062, allocations: 12.03 kB / 2.271 GB, free: 3.004 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04166/6.103, allocations: 5.931 MB / 2.277 GB, free: 13.12 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06315/6.167, allocations: 20.99 MB / 2.298 GB, free: 15.95 MB / 1.326 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001968/6.169, allocations: 1.076 MB / 2.299 GB, free: 15.34 MB / 1.326 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007761/6.176, allocations: 1.402 MB / 2.3 GB, free: 14.39 MB / 1.326 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06999/6.246, allocations: 17.94 MB / 2.318 GB, free: 1.574 MB / 1.326 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008658/6.247, allocations: 37.56 kB / 2.318 GB, free: 1.559 MB / 1.326 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006793/6.254, allocations: 0.5681 MB / 2.318 GB, free: 1.422 MB / 1.326 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006628/6.255, allocations: 0.5123 MB / 2.319 GB, free: 0.9219 MB / 1.326 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05752/6.312, allocations: 15.98 MB / 2.334 GB, free: 4.645 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.1831/6.496, allocations: 91.56 MB / 2.424 GB, free: 4.91 MB / 1.436 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03892/6.535, allocations: 12.45 MB / 2.436 GB, free: 8.555 MB / 1.451 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01723/6.552, allocations: 5.878 MB / 2.442 GB, free: 2.668 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.06759/6.619, allocations: 25.34 MB / 2.466 GB, free: 7.871 MB / 1.482 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02119/6.641, allocations: 6.253 MB / 2.473 GB, free: 1.547 MB / 1.482 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01039/6.651, allocations: 0.8332 MB / 2.473 GB, free: 0.7109 MB / 1.482 GB Notification: Performance of pre-optimization done (n=786): time 3.601e-05/6.651, allocations: 0 / 2.473 GB, free: 0.7109 MB / 1.482 GB Notification: Performance of matching and sorting (n=796): time 0.3581/7.009, allocations: 77.89 MB / 2.549 GB, free: 2.363 MB / 1.561 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000374/7.01, allocations: 0.5965 MB / 2.55 GB, free: 1.645 MB / 1.561 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05733/7.067, allocations: 16.11 MB / 2.566 GB, free: 1.676 MB / 1.576 GB Notification: Performance of collectPreVariables (initialization): time 0.003206/7.07, allocations: 223 kB / 2.566 GB, free: 1.453 MB / 1.576 GB Notification: Performance of collectInitialEqns (initialization): time 0.01581/7.086, allocations: 9.687 MB / 2.575 GB, free: 7.742 MB / 1.592 GB Notification: Performance of collectInitialBindings (initialization): time 0.005551/7.092, allocations: 2.713 MB / 2.578 GB, free: 5.051 MB / 1.592 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009517/7.101, allocations: 2.187 MB / 2.58 GB, free: 2.859 MB / 1.592 GB Notification: Performance of setup shared object (initialization): time 0.0001324/7.101, allocations: 309 kB / 2.58 GB, free: 2.555 MB / 1.592 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01707/7.118, allocations: 5.253 MB / 2.586 GB, free: 13.29 MB / 1.607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0216/7.14, allocations: 9.154 MB / 2.595 GB, free: 2.508 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.7073/7.847, allocations: 40.14 MB / 2.634 GB, free: 0.8712 GB / 1.607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001209/7.848, allocations: 29.16 kB / 2.634 GB, free: 0.8712 GB / 1.607 GB Notification: Performance of matching and sorting (n=1326) (initialization): time 0.06587/7.914, allocations: 17.23 MB / 2.651 GB, free: 0.8663 GB / 1.607 GB Notification: Performance of prepare postOptimizeDAE: time 0.000105/7.914, allocations: 46.83 kB / 2.651 GB, free: 0.8663 GB / 1.607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002284/7.914, allocations: 88.22 kB / 2.651 GB, free: 0.8663 GB / 1.607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01744/7.931, allocations: 4.892 MB / 2.656 GB, free: 0.8655 GB / 1.607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01114/7.943, allocations: 2.303 MB / 2.658 GB, free: 0.8653 GB / 1.607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03746/7.98, allocations: 14.97 MB / 2.672 GB, free: 0.8571 GB / 1.607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02066/8.001, allocations: 1.017 MB / 2.673 GB, free: 0.857 GB / 1.607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003627/8.004, allocations: 0.529 MB / 2.674 GB, free: 0.8569 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.02844/8.033, allocations: 8.647 MB / 2.682 GB, free: 0.8532 GB / 1.607 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01961/8.053, allocations: 8.951 MB / 2.691 GB, free: 0.8469 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.1422/8.195, allocations: 38.58 MB / 2.729 GB, free: 0.8325 GB / 1.607 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001176/8.195, allocations: 22.56 kB / 2.729 GB, free: 0.8325 GB / 1.607 GB Notification: Performance of matching and sorting (n=1326) (initialization_lambda0): time 0.05342/8.248, allocations: 16.48 MB / 2.745 GB, free: 0.8273 GB / 1.607 GB Notification: Performance of prepare postOptimizeDAE: time 8.775e-05/8.249, allocations: 44 kB / 2.745 GB, free: 0.8272 GB / 1.607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001636/8.249, allocations: 89.97 kB / 2.745 GB, free: 0.8272 GB / 1.607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01061/8.259, allocations: 3.68 MB / 2.749 GB, free: 0.8242 GB / 1.607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01178/8.271, allocations: 2.372 MB / 2.751 GB, free: 0.8222 GB / 1.607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03213/8.303, allocations: 13.96 MB / 2.765 GB, free: 0.81 GB / 1.607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02162/8.325, allocations: 1.063 MB / 2.766 GB, free: 0.8093 GB / 1.607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003592/8.329, allocations: 0.5164 MB / 2.766 GB, free: 0.8088 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.005226/8.334, allocations: 0.8923 MB / 2.767 GB, free: 0.808 GB / 1.607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007243/8.341, allocations: 1.728 MB / 2.769 GB, free: 0.8072 GB / 1.607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0472/8.388, allocations: 16.07 MB / 2.784 GB, free: 0.7933 GB / 1.607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001355/8.388, allocations: 99.92 kB / 2.784 GB, free: 0.7932 GB / 1.607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.859e-05/8.389, allocations: 0 / 2.784 GB, free: 0.7932 GB / 1.607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0327/8.421, allocations: 11.51 MB / 2.796 GB, free: 0.782 GB / 1.607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1169/8.538, allocations: 33.14 MB / 2.828 GB, free: 0.7497 GB / 1.607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001635/8.538, allocations: 12.05 kB / 2.828 GB, free: 0.7496 GB / 1.607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009268/8.548, allocations: 1.624 MB / 2.83 GB, free: 0.7481 GB / 1.607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0115/8.559, allocations: 3.189 MB / 2.833 GB, free: 0.7449 GB / 1.607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002712/8.562, allocations: 254.9 kB / 2.833 GB, free: 0.7447 GB / 1.607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01984/8.582, allocations: 8.472 MB / 2.841 GB, free: 0.7362 GB / 1.607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.191e-05/8.582, allocations: 19.88 kB / 2.841 GB, free: 0.7362 GB / 1.607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06138/8.643, allocations: 21.81 MB / 2.863 GB, free: 0.7148 GB / 1.607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01389/8.657, allocations: 3.292 MB / 2.866 GB, free: 0.7116 GB / 1.607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008436/8.666, allocations: 179.9 kB / 2.866 GB, free: 0.7114 GB / 1.607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01979/8.686, allocations: 0.8922 MB / 2.867 GB, free: 0.7106 GB / 1.607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002481/8.688, allocations: 0.5403 MB / 2.867 GB, free: 0.71 GB / 1.607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003001/8.691, allocations: 387.7 kB / 2.868 GB, free: 0.7097 GB / 1.607 GB Notification: Performance of sorting global known variables: time 0.02961/8.721, allocations: 10.88 MB / 2.878 GB, free: 0.6992 GB / 1.607 GB Notification: Performance of sort global known variables: time 5.61e-07/8.721, allocations: 0 / 2.878 GB, free: 0.6992 GB / 1.607 GB Notification: Performance of remove unused functions: time 0.04571/8.766, allocations: 8.211 MB / 2.886 GB, free: 0.6914 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.01156/8.778, allocations: 3.999 MB / 2.89 GB, free: 0.6884 GB / 1.607 GB Notification: Performance of simCode: created initialization part: time 0.05864/8.837, allocations: 20.87 MB / 2.911 GB, free: 0.668 GB / 1.607 GB Notification: Performance of simCode: created event and clocks part: time 2.608e-05/8.837, allocations: 11 kB / 2.911 GB, free: 0.668 GB / 1.607 GB Notification: Performance of simCode: created simulation system equations: time 0.01879/8.856, allocations: 6.307 MB / 2.917 GB, free: 0.6618 GB / 1.607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05541/8.911, allocations: 8.871 MB / 2.925 GB, free: 0.6535 GB / 1.607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09527/9.006, allocations: 35.79 MB / 2.96 GB, free: 0.6184 GB / 1.607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01888/9.025, allocations: 8.501 MB / 2.969 GB, free: 0.61 GB / 1.607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008325/9.034, allocations: 1.409 MB / 2.97 GB, free: 0.6086 GB / 1.607 GB Notification: Performance of SimCode: time 1.323e-06/9.034, allocations: 0 / 2.97 GB, free: 0.6086 GB / 1.607 GB Notification: Performance of Templates: time 1.919/10.95, allocations: 0.6699 GB / 3.64 GB, free: 0.8159 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