Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.EnergyPlus.Examples.SmallOffice.IdealHeatingCoolingWinter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.ThermalZones.EnergyPlus.Examples.SmallOffice.IdealHeatingCoolingWinter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.EnergyPlus.Examples.SmallOffice.IdealHeatingCoolingWinter") translateModel(Buildings.ThermalZones.EnergyPlus.Examples.SmallOffice.IdealHeatingCoolingWinter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.EnergyPlus.Examples.SmallOffice.IdealHeatingCoolingWinter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002065/0.002066, allocations: 100.3 kB / 16.27 MB, free: 6.422 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.001801/0.001801, allocations: 190.1 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.743/1.743, 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.965/1.965, 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.001803/0.001803, allocations: 75.89 kB / 0.6722 GB, free: 6.5 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3328, allocations: 114.5 MB / 0.784 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.EnergyPlus.Examples.SmallOffice.IdealHeatingCoolingWinter): time 1.943/2.276, allocations: 399.6 MB / 1.174 GB, free: 2.082 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.09645/2.373, allocations: 66.69 MB / 1.239 GB, free: 1.574 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01447/2.387, allocations: 185.6 kB / 1.24 GB, free: 1.574 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.01447/2.402, allocations: 3.903 MB / 1.243 GB, free: 1.508 MB / 0.92 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.04348/2.445, allocations: 11.76 MB / 1.255 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.02225/2.468, allocations: 6.177 MB / 1.261 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.04938/2.517, allocations: 31.11 MB / 1.291 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04638/2.563, allocations: 20.43 MB / 1.311 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04632/2.61, allocations: 14.4 MB / 1.325 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02761/2.637, allocations: 10.47 MB / 1.336 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.01045/2.648, allocations: 2.125 MB / 1.338 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04386/2.692, allocations: 10.81 MB / 1.348 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.01414/2.706, allocations: 5.477 MB / 1.354 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.02917/2.735, allocations: 9.05 MB / 1.362 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.06333/2.799, allocations: 30.48 MB / 1.392 GB, free: 13.51 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/2.799, allocations: 0 / 1.392 GB, free: 13.51 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.775e-06/2.799, allocations: 0 / 1.392 GB, free: 13.51 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.001277/2.8, allocations: 0 / 1.392 GB, free: 13.51 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3318 * Number of variables: 3318 Notification: Performance of Generate backend data structure: time 0.06564/2.866, allocations: 16.83 MB / 1.409 GB, free: 12.68 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 6.521e-05/2.866, allocations: 8.031 kB / 1.409 GB, free: 12.68 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02821/2.894, allocations: 3.502 MB / 1.412 GB, free: 9.176 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03152/2.926, allocations: 9.402 MB / 1.421 GB, free: 156 kB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001779/2.927, allocations: 1.137 MB / 1.422 GB, free: 14.98 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006428/2.934, allocations: 1.279 MB / 1.424 GB, free: 13.7 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06687/3.001, allocations: 16.92 MB / 1.44 GB, free: 12.64 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005907/3.001, allocations: 10.44 kB / 1.44 GB, free: 12.64 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005452/3.007, allocations: 0.5286 MB / 1.441 GB, free: 12.11 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000491/3.007, allocations: 467.7 kB / 1.441 GB, free: 11.66 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04503/3.052, allocations: 15.37 MB / 1.456 GB, free: 12.31 MB / 1.092 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.1259/3.178, allocations: 56.74 MB / 1.511 GB, free: 1.543 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03464/3.213, allocations: 20.21 MB / 1.531 GB, free: 12.05 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01369/3.227, allocations: 5.668 MB / 1.537 GB, free: 6.371 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002891/3.23, allocations: 1.891 MB / 1.539 GB, free: 4.141 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01666/3.246, allocations: 5.762 MB / 1.544 GB, free: 14.31 MB / 1.186 GB Notification: Performance of pre-optimization done (n=829): time 2.918e-05/3.246, allocations: 4 kB / 1.544 GB, free: 14.31 MB / 1.186 GB Notification: Performance of matching and sorting (n=829): time 1.105/4.352, allocations: 15.81 MB / 1.56 GB, free: 0.5166 GB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003766/4.352, allocations: 0.7576 MB / 1.56 GB, free: 0.5158 GB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0152/4.367, allocations: 7.595 MB / 1.568 GB, free: 0.5153 GB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.002696/4.37, allocations: 210.1 kB / 1.568 GB, free: 0.5153 GB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.007499/4.378, allocations: 5.361 MB / 1.573 GB, free: 0.5132 GB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.005545/4.383, allocations: 2.704 MB / 1.576 GB, free: 0.5112 GB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006159/4.389, allocations: 1.908 MB / 1.578 GB, free: 0.5104 GB / 1.186 GB Notification: Performance of setup shared object (initialization): time 7.081e-05/4.389, allocations: 305.7 kB / 1.578 GB, free: 0.5101 GB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01168/4.401, allocations: 4.627 MB / 1.583 GB, free: 0.5085 GB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01667/4.418, allocations: 6.339 MB / 1.589 GB, free: 0.5052 GB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03004/4.448, allocations: 10.46 MB / 1.599 GB, free: 0.5003 GB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000181/4.448, allocations: 7.156 kB / 1.599 GB, free: 0.5003 GB / 1.186 GB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.05011/4.498, allocations: 12.43 MB / 1.611 GB, free: 0.4957 GB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002209/4.499, allocations: 45.31 kB / 1.611 GB, free: 0.4957 GB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001815/4.499, allocations: 26.36 kB / 1.611 GB, free: 0.4957 GB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00135/4.5, allocations: 316.6 kB / 1.611 GB, free: 0.4956 GB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01525/4.515, allocations: 2.303 MB / 1.614 GB, free: 0.4955 GB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006744/4.522, allocations: 8.412 MB / 1.622 GB, free: 499.2 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01501/4.537, allocations: 1.121 MB / 1.623 GB, free: 498.6 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003673/4.541, allocations: 410.5 kB / 1.623 GB, free: 498.5 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02625/4.567, allocations: 7.57 MB / 1.631 GB, free: 495.5 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01506/4.582, allocations: 6.039 MB / 1.637 GB, free: 492.2 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02554/4.608, allocations: 9.992 MB / 1.646 GB, free: 487.2 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001186/4.608, allocations: 10.16 kB / 1.646 GB, free: 487.2 MB / 1.186 GB Notification: Performance of matching and sorting (n=1207) (initialization_lambda0): time 0.03642/4.645, allocations: 11.92 MB / 1.658 GB, free: 482.5 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 9.548e-05/4.645, allocations: 40.89 kB / 1.658 GB, free: 482.4 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.856e-05/4.645, allocations: 22.5 kB / 1.658 GB, free: 482.4 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008303/4.646, allocations: 314.8 kB / 1.658 GB, free: 482.3 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01152/4.657, allocations: 2.153 MB / 1.661 GB, free: 482.1 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004173/4.661, allocations: 6.041 MB / 1.666 GB, free: 476.2 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01395/4.675, allocations: 0.9532 MB / 1.667 GB, free: 475.8 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003195/4.679, allocations: 403.4 kB / 1.668 GB, free: 475.7 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 109 * Number of states: 0 () * Number of discrete variables: 164 (flo.att.fmuZon.tLast,flo.sou.fmuZon.tLast,flo.eas.fmuZon.tLast,flo.nor.fmuZon.tLast,flo.wes.fmuZon.tLast,flo.cor.fmuZon.tLast,flo.building.weaDat.conTim.canRepeatWeatherFile,flo.building.weaDat.conTimMin.canRepeatWeatherFile,flo.building.weaDat.conTim.tNext,$PRE.flo.building.weaDat.conTim.tNext,flo.building.weaDat.conTimMin.tNext,$PRE.flo.building.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2,coo[5].conPID.con1.y,coo[4].conPID.con1.y,coo[3].conPID.con1.y,coo[2].conPID.con1.y,coo[1].conPID.con1.y,hea[5].conPID.con1.y,hea[4].conPID.con1.y,hea[3].conPID.con1.y,hea[2].conPID.con1.y,hea[1].conPID.con1.y,ECoo.local_reset,EHea.local_reset,coo[5].conPID.reverseActing,coo[4].conPID.reverseActing,coo[3].conPID.reverseActing,coo[2].conPID.reverseActing,coo[1].conPID.reverseActing,hea[5].conPID.reverseActing,hea[4].conPID.reverseActing,hea[3].conPID.reverseActing,hea[2].conPID.reverseActing,hea[1].conPID.reverseActing,flo.att.vol.computeCSen,flo.att.fmuZon.nObj,flo.cor.vol.computeCSen,flo.cor.fmuZon.nObj,flo.wes.vol.computeCSen,flo.wes.fmuZon.nObj,flo.nor.vol.computeCSen,flo.nor.fmuZon.nObj,flo.eas.vol.computeCSen,flo.eas.fmuZon.nObj,flo.sou.vol.computeCSen,flo.sou.fmuZon.nObj,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,flo.att.fmuZon.QConLast_flow,flo.att.fmuZon.TRooLast,flo.att.fmuZon.TAveInlet,$PRE.flo.att.fmuZon.TAveInlet,flo.att.fmuZon.mInlet_flow,flo.att.fmuZon.dtLast,$PRE.flo.att.fmuZon.tLast,flo.att.fmuZon.tNext,$PRE.flo.att.fmuZon.tNext,flo.att.fmuZon.yEP[5],flo.att.fmuZon.yEP[4],flo.att.fmuZon.yEP[3],flo.att.fmuZon.yEP[2],flo.att.fmuZon.yEP[1],flo.att.fmuZon.QPeo_flow,flo.att.fmuZon.QLat_flow,flo.att.fmuZon.TRad,$whenCondition3,flo.cor.fmuZon.QConLast_flow,flo.cor.fmuZon.TRooLast,flo.cor.fmuZon.TAveInlet,$PRE.flo.cor.fmuZon.TAveInlet,flo.cor.fmuZon.mInlet_flow,flo.cor.fmuZon.dtLast,$PRE.flo.cor.fmuZon.tLast,flo.cor.fmuZon.tNext,$PRE.flo.cor.fmuZon.tNext,flo.cor.fmuZon.yEP[5],flo.cor.fmuZon.yEP[4],flo.cor.fmuZon.yEP[3],flo.cor.fmuZon.yEP[2],flo.cor.fmuZon.yEP[1],flo.cor.fmuZon.QPeo_flow,flo.cor.fmuZon.QLat_flow,flo.cor.fmuZon.TRad,flo.wes.fmuZon.QConLast_flow,flo.wes.fmuZon.TRooLast,flo.wes.fmuZon.TAveInlet,$PRE.flo.wes.fmuZon.TAveInlet,flo.wes.fmuZon.mInlet_flow,flo.wes.fmuZon.dtLast,$PRE.flo.wes.fmuZon.tLast,flo.wes.fmuZon.tNext,$PRE.flo.wes.fmuZon.tNext,flo.wes.fmuZon.yEP[5],flo.wes.fmuZon.yEP[4],flo.wes.fmuZon.yEP[3],flo.wes.fmuZon.yEP[2],flo.wes.fmuZon.yEP[1],flo.wes.fmuZon.QPeo_flow,flo.wes.fmuZon.QLat_flow,flo.wes.fmuZon.TRad,flo.nor.fmuZon.QConLast_flow,flo.nor.fmuZon.TRooLast,flo.nor.fmuZon.TAveInlet,$PRE.flo.nor.fmuZon.TAveInlet,flo.nor.fmuZon.mInlet_flow,flo.nor.fmuZon.dtLast,$PRE.flo.nor.fmuZon.tLast,flo.nor.fmuZon.tNext,$PRE.flo.nor.fmuZon.tNext,flo.nor.fmuZon.yEP[5],flo.nor.fmuZon.yEP[4],flo.nor.fmuZon.yEP[3],flo.nor.fmuZon.yEP[2],flo.nor.fmuZon.yEP[1],flo.nor.fmuZon.QPeo_flow,flo.nor.fmuZon.QLat_flow,flo.nor.fmuZon.TRad,flo.eas.fmuZon.QConLast_flow,flo.eas.fmuZon.TRooLast,flo.eas.fmuZon.TAveInlet,$PRE.flo.eas.fmuZon.TAveInlet,flo.eas.fmuZon.mInlet_flow,flo.eas.fmuZon.dtLast,$PRE.flo.eas.fmuZon.tLast,flo.eas.fmuZon.tNext,$PRE.flo.eas.fmuZon.tNext,flo.eas.fmuZon.yEP[5],flo.eas.fmuZon.yEP[4],flo.eas.fmuZon.yEP[3],flo.eas.fmuZon.yEP[2],flo.eas.fmuZon.yEP[1],flo.eas.fmuZon.QPeo_flow,flo.eas.fmuZon.QLat_flow,flo.eas.fmuZon.TRad,flo.sou.fmuZon.QConLast_flow,flo.sou.fmuZon.TRooLast,flo.sou.fmuZon.TAveInlet,$PRE.flo.sou.fmuZon.TAveInlet,flo.sou.fmuZon.mInlet_flow,flo.sou.fmuZon.dtLast,$PRE.flo.sou.fmuZon.tLast,flo.sou.fmuZon.tNext,$PRE.flo.sou.fmuZon.tNext,flo.sou.fmuZon.yEP[5],flo.sou.fmuZon.yEP[4],flo.sou.fmuZon.yEP[3],flo.sou.fmuZon.yEP[2],flo.sou.fmuZon.yEP[1],flo.sou.fmuZon.QPeo_flow,flo.sou.fmuZon.QLat_flow,flo.sou.fmuZon.TRad,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1150): * Single equations (assignments): 1129 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 5 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,13)} Notification: Performance of prepare postOptimizeDAE: time 0.006974/4.686, allocations: 0.8602 MB / 1.669 GB, free: 475.1 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005906/4.692, allocations: 0.8905 MB / 1.67 GB, free: 474.6 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03695/4.729, allocations: 11.65 MB / 1.681 GB, free: 467.1 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001114/4.729, allocations: 80 kB / 1.681 GB, free: 467 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.66e-05/4.729, allocations: 10.91 kB / 1.681 GB, free: 467 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02349/4.752, allocations: 9.052 MB / 1.69 GB, free: 458 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07016/4.823, allocations: 24.92 MB / 1.714 GB, free: 433.1 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-05/4.823, allocations: 3.938 kB / 1.714 GB, free: 433.1 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008733/4.831, allocations: 1.608 MB / 1.716 GB, free: 431.5 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001995/4.833, allocations: 0.5169 MB / 1.716 GB, free: 430.9 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002275/4.836, allocations: 227.8 kB / 1.716 GB, free: 430.7 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01649/4.852, allocations: 19.04 MB / 1.735 GB, free: 410.3 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/4.852, allocations: 0 / 1.735 GB, free: 410.3 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04441/4.897, allocations: 17.53 MB / 1.752 GB, free: 392.7 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007786/4.905, allocations: 2.343 MB / 1.754 GB, free: 390.3 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004025/4.909, allocations: 179.9 kB / 1.755 GB, free: 390.2 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0097/4.918, allocations: 0.5021 MB / 1.755 GB, free: 389.7 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002247/4.921, allocations: 0.5015 MB / 1.756 GB, free: 389.2 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002136/4.923, allocations: 355.8 kB / 1.756 GB, free: 388.8 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0127/4.936, allocations: 5.023 MB / 1.761 GB, free: 383.8 MB / 1.186 GB Notification: Performance of sort global known variables: time 3.6e-07/4.936, allocations: 0 / 1.761 GB, free: 383.8 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.03194/4.967, allocations: 6.572 MB / 1.767 GB, free: 377.3 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 30 (flo.sou.vol.U,flo.sou.vol.m,flo.sou.vol.mXi[1],flo.eas.vol.U,flo.eas.vol.m,flo.eas.vol.mXi[1],flo.nor.vol.U,flo.nor.vol.m,flo.nor.vol.mXi[1],flo.wes.vol.U,flo.wes.vol.m,flo.wes.vol.mXi[1],flo.cor.vol.U,flo.cor.vol.m,flo.cor.vol.mXi[1],hea[1].conPID.I.y,hea[2].conPID.I.y,hea[3].conPID.I.y,hea[4].conPID.I.y,hea[5].conPID.I.y,coo[1].conPID.I.y,coo[2].conPID.I.y,coo[3].conPID.I.y,coo[4].conPID.I.y,coo[5].conPID.I.y,EHea.y,ECoo.y,flo.att.vol.U,flo.att.vol.m,flo.att.vol.mXi[1]) * Number of discrete variables: 104 ($whenCondition2,$whenCondition1,flo.building.weaDat.conTimMin.tNext,flo.building.weaDat.conTim.tNext,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,weaDat.conTimMin.tNext,weaDat.conTim.tNext,flo.sou.fmuZon.TRad,flo.sou.fmuZon.QLat_flow,flo.sou.fmuZon.QPeo_flow,flo.sou.fmuZon.yEP[1],flo.sou.fmuZon.yEP[2],flo.sou.fmuZon.yEP[3],flo.sou.fmuZon.yEP[4],flo.sou.fmuZon.yEP[5],flo.sou.fmuZon.tNext,flo.sou.fmuZon.tLast,flo.sou.fmuZon.dtLast,flo.sou.fmuZon.mInlet_flow,flo.sou.fmuZon.TAveInlet,flo.sou.fmuZon.TRooLast,flo.sou.fmuZon.QConLast_flow,flo.eas.fmuZon.TRad,flo.eas.fmuZon.QLat_flow,flo.eas.fmuZon.QPeo_flow,flo.eas.fmuZon.yEP[1],flo.eas.fmuZon.yEP[2],flo.eas.fmuZon.yEP[3],flo.eas.fmuZon.yEP[4],flo.eas.fmuZon.yEP[5],flo.eas.fmuZon.tNext,flo.eas.fmuZon.tLast,flo.eas.fmuZon.dtLast,flo.eas.fmuZon.mInlet_flow,flo.eas.fmuZon.TAveInlet,flo.eas.fmuZon.TRooLast,flo.eas.fmuZon.QConLast_flow,flo.nor.fmuZon.TRad,flo.nor.fmuZon.QLat_flow,flo.nor.fmuZon.QPeo_flow,flo.nor.fmuZon.yEP[1],flo.nor.fmuZon.yEP[2],flo.nor.fmuZon.yEP[3],flo.nor.fmuZon.yEP[4],flo.nor.fmuZon.yEP[5],flo.nor.fmuZon.tNext,flo.nor.fmuZon.tLast,flo.nor.fmuZon.dtLast,flo.nor.fmuZon.mInlet_flow,flo.nor.fmuZon.TAveInlet,flo.nor.fmuZon.TRooLast,flo.nor.fmuZon.QConLast_flow,flo.wes.fmuZon.TRad,flo.wes.fmuZon.QLat_flow,flo.wes.fmuZon.QPeo_flow,flo.wes.fmuZon.yEP[1],flo.wes.fmuZon.yEP[2],flo.wes.fmuZon.yEP[3],flo.wes.fmuZon.yEP[4],flo.wes.fmuZon.yEP[5],flo.wes.fmuZon.tNext,flo.wes.fmuZon.tLast,flo.wes.fmuZon.dtLast,flo.wes.fmuZon.mInlet_flow,flo.wes.fmuZon.TAveInlet,flo.wes.fmuZon.TRooLast,flo.wes.fmuZon.QConLast_flow,flo.cor.fmuZon.TRad,flo.cor.fmuZon.QLat_flow,flo.cor.fmuZon.QPeo_flow,flo.cor.fmuZon.yEP[1],flo.cor.fmuZon.yEP[2],flo.cor.fmuZon.yEP[3],flo.cor.fmuZon.yEP[4],flo.cor.fmuZon.yEP[5],flo.cor.fmuZon.tNext,flo.cor.fmuZon.tLast,flo.cor.fmuZon.dtLast,flo.cor.fmuZon.mInlet_flow,flo.cor.fmuZon.TAveInlet,flo.cor.fmuZon.TRooLast,flo.cor.fmuZon.QConLast_flow,$whenCondition3,flo.att.fmuZon.TRad,flo.att.fmuZon.QLat_flow,flo.att.fmuZon.QPeo_flow,flo.att.fmuZon.yEP[1],flo.att.fmuZon.yEP[2],flo.att.fmuZon.yEP[3],flo.att.fmuZon.yEP[4],flo.att.fmuZon.yEP[5],flo.att.fmuZon.tNext,flo.att.fmuZon.tLast,flo.att.fmuZon.dtLast,flo.att.fmuZon.mInlet_flow,flo.att.fmuZon.TAveInlet,flo.att.fmuZon.TRooLast,flo.att.fmuZon.QConLast_flow) * Number of discrete states: 22 (flo.att.fmuZon.tNext,flo.att.fmuZon.TAveInlet,flo.att.fmuZon.tLast,flo.sou.fmuZon.tNext,flo.eas.fmuZon.tNext,flo.nor.fmuZon.tNext,flo.wes.fmuZon.tNext,flo.cor.fmuZon.tNext,flo.sou.fmuZon.tLast,flo.eas.fmuZon.tLast,flo.nor.fmuZon.tLast,flo.wes.fmuZon.tLast,flo.cor.fmuZon.tLast,weaDat.conTimMin.tNext,weaDat.conTim.tNext,flo.sou.fmuZon.TAveInlet,flo.eas.fmuZon.TAveInlet,flo.nor.fmuZon.TAveInlet,flo.wes.fmuZon.TAveInlet,flo.cor.fmuZon.TAveInlet,flo.building.weaDat.conTimMin.tNext,flo.building.weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (825): * Single equations (assignments): 740 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 70 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 10 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 10 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007338/4.975, allocations: 1.469 MB / 1.769 GB, free: 376.4 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.1007/5.076, allocations: 37.11 MB / 1.805 GB, free: 339.2 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.628e-05/5.076, allocations: 13.12 kB / 1.805 GB, free: 339.2 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.01458/5.09, allocations: 6.345 MB / 1.811 GB, free: 332.8 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02513/5.115, allocations: 3.531 MB / 1.815 GB, free: 329.6 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0634/5.179, allocations: 25.76 MB / 1.84 GB, free: 304.2 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008386/5.187, allocations: 7.267 MB / 1.847 GB, free: 296.9 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004889/5.192, allocations: 1.014 MB / 1.848 GB, free: 295.9 MB / 1.186 GB Notification: Performance of SimCode: time 1.573e-06/5.192, allocations: 0 / 1.848 GB, free: 295.9 MB / 1.186 GB Notification: Performance of Templates: time 2.59/7.782, allocations: 0.9316 GB / 2.779 GB, free: 454.5 MB / 1.186 GB make -j1 -f Buildings_8_Buildings.ThermalZones.EnergyPlus.Examples.SmallOffice.IdealHeatingCoolingWinter.makefile make -j1 -f Buildings_8_Buildings.ThermalZones.EnergyPlus.Examples.SmallOffice.IdealHeatingCoolingWinter.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.ThermalZones.EnergyPlus.Examples.SmallOffice.IdealHeatingCoolingWinterCalcHelperMain.o OMCppBuildings_8_Buildings.ThermalZones.EnergyPlus.Examples.SmallOffice.IdealHeatingCoolingWinterCalcHelperMain.cpp In file included from OMCppBuildings_8_Buildings.ThermalZones.EnergyPlus.Examples.SmallOffice.IdealHeatingCoolingWinterCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.ThermalZones.EnergyPlus.Examples.SmallOffice.IdealHeatingCoolingWinterFunctions.cpp:6: /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.ThermalZones.EnergyPlus.Examples.SmallOffice.IdealHeatingCoolingWinterCalcHelperMain.o] Error 1